Wednesday, August 21, 2013

Some useful ADB commands

CREDITS: listed in easy to use format by shamsud

download driver for window from here http://forum.samdroid.net/attachment...gtrans/auto/en

download sdk from here http://developer.android.com/intl/de/sdk/index.html

but dont open instead extract to root of c drive rename folder to AndroidSDK

connect ur phone to pc but dont mount sdcard (also tick the usb debugging option from setting-application-development)

open cmd and enter command



cd\

cd AndroidSDK\tools\ -----------connect to adb

adb devices --------------– lists which devices are currently attached to your computer

if u dont get ur device number something u did wrong cheack again

once ur device is connected u can try the below command for ur use

note; to install or push anything to phone place the file u want to push or install in C:\AndroidSDK\tools


--------------------------------command list--------------------------------------------------------------


adb shell mount -o remount,rw,codepage=utf8,vfat,xattr,check=no /dev/stl5 /system -----let u mount ur system

adb push <packagename.apk> /system/app/ ----------put in system folder

adb devices – ----lists which devices are currently attached to your computer

adb install <packagename.apk> – lets you install an Android application on your phone

adb remount – Remounts your system in write mode – this lets you alter system files on your phone using ADB

adb push <localfile> <location on your phone> – lets you upload files to your phones filesystem

adb pull <location on your phone> <localfile> – lets you download files off your phones filesystem

adb logcat – starts dumping debugging information from your handset to the console – useful for debugging your apps

adb shell <command> – drops you into a basic linux command shell on your phone with no parameters, or lets you run commands directly

adb devices – lists which devices are currently attached to your computer

adb install <packagename.apk> – lets you install an Android application on your phone

adb remount – Remounts your system in write mode – this lets you alter system files on your phone using ADB

adb push <localfile> <location on your phone> – lets you upload files to your phones filesystem

adb pull <location on your phone> <localfile> – lets you download files off your phones filesystem

adb logcat – starts dumping debugging information from your handset to the console – useful for debugging your apps
adb
adb shell <command> – drops you into a basic linux command shell on your phone with no parameters, or lets you run commands directly

Fastboot Commands

fastboot devices – lists which devices in fastboot mode are currently attached to your computer

fastboot boot <filename> – boots a rom stored on your pc specified by the filename

fastboot flash <partition> <filename> – flashes a rom stored on your pc, partition can be one of {boot, recovery, system, userdata}


MODS: Please make the topic sticky so that the questions regarding adb dont have to be answered repeatedly.

You can also remove unused application like "Myspace in my case"
1.remount filesystem in rw mode
cmd: adb shell mount -o remount,rw,codepage=utf8,vfat,xattr,check=no /dev/stl5 /system
2. make a copy of the file before deleting
cmd: adb pull /system/app C:\xxxx
3.login into shell to delete file
cmd:
adb shell
cd /system/app
rm myspace.apk
exit

Saturday, August 17, 2013

DOWNLOAD JELLYKANG ANDROID 4.2.2 ROM FOR HTC DOUBLESHOT (MYTOUCH 4G SLIDE)




Custom Android Jellybean 4.2.2 ROM for the myTouch 4G Slide


This ROM is a total KangBang of all MSM8660's CM10.1 work, with the addition with WildKernel Reloaded. This features Android 4.2 as a base built from source w/ my custom additions and features from all around (JB MashUp).
Click here to download.


Friday, August 16, 2013

[GUIDE] Safest way to root MT4GS with any HBOOT

PLEASE READ!!!!!!! Before proceeding, you need to find out which hboot your device has and if your device is S-ON or S-OFF. Ensure that Settings>Power>Fast Boot is unchecked and power down your device. Once your device is powered down, hold Power+Volume Down until you reach the bootloader screen.




On the second line, it should say "DOUBLESHOT PVT SHIP S-ON" or "DOUBLESHOT PVT SHIP S-OFF." If you are already S-OFF, great! You can flash a custom recovery in step 5 of this guide (although you need to have ADB/Fastboot installed on your Windows PC).

Your device is most likely S-ON. If so, continue reading. On the third line, your hboot information should be listed. If you have HBOOT-1.45.0013, you have the newer hboot and can follow this entire guide to achieve root. Most newer devices have HBOOT-1.45.0013.

If by chance you have the older HBOOT-1.44.0007, you have two options for rooting your device:

1. Use Revolutionary.io to gain S-OFF on your device. After using Revolutionary to achieve S-OFF, you can install adb/fastboot on your computer (in case you haven't done so already) and continue from step 5 of this guide to flash a custom recovery and Superuser for root,

OR

2. Update to latest OTA release and use this guide from beginning to end. You can update to the latest OTA release by going to Settings>About Phone or by using Blue6IX’s post “How-To: Restore to Stock.” Either method will update you to the latest OTA release (1.63.531.2) and HBOOT-1.45.0013.

IMPORTANT NOTE: If you update to latest OTA release with HBOOT-1.45.0013, you will NOT be able to revert back to the older hboot and S-OFF unless you use JuopunutBear to S-OFF. This involves a "wire trick" that some people are not comfortable with.

Many users have successfully achieved S-OFF with JuopunutBear (including me), but others have reported that it bricked their phone. This is usually because they do not follow the directions that say not to touch the bare wire. Check out the JB S-OFF threads here and here for other users’ experiences.

Confused about S-ON vs S-OFF? S-ON, Revolutionary S-OFF, and JuopunutBear S-OFF are described in detail here.

Revolutionary S-OFF is for HBOOT-1.44.0007. JuopunutBear S-OFF is for HBOOT-1.45.0013. Got it? Good.
*****

This is a step-by-step guide for rooting the MT4GS, designed specifically for new users (aka NOOBS), by a noob. The process is slightly more complicated than rooting other devices (i.e. Samsung), but it is well worth it.

The MT4GS is one of the best qwerty phones on the market and has some of the best developers. Don’t let the process discourage or intimidate you. Just FOLLOW EACH STEP IN SEQUENTIAL ORDER and you’ll be fine.

Here’s a breakdown of the process:
1. INSTALL HTC DRIVERS ON YOUR PC.
2. INSTALL ADB AND FASTBOOT ON YOUR PC.
3. REGISTER AT HTC DEV.
4. UNLOCK BOOTLOADER THROUGH HTC DEV.
5. INSTALL A CUSTOM RECOVERY.
6. ROOT YOUR DEVICE.
7. USE JUOPUNUTBEAR TO GAIN S-OFF (OPTIONAL).


-PREREQUISITES-
Before getting started, please visit the MT4GS Compendium and read over Section One to learn the XDA Lingo. You really need to know this stuff if you’re going to tinker with the MT4GS.

Also, all information in the guide assumes you are using a Windows PC and a MT4GS with the STOCK ROM AND HBOOT-1.45.0013. If you are not on the Stock ROM, please use Blue6IX’s post “How-To: Restore to Stock.” Be sure to use the latest OTA (1.63.531.2). Once you're all set, let’s begin, shall we?

Disclaimer: I am not responsible for anything that happens to your phone. You assume all risks associated with modifying your phone.


-1. INSTALL HTC DRIVERS ON YOUR PC.-
Install the HTC Drivers on your PC from here.

Before connecting your phone, make sure USB Debugging is enabled (Settings>Applications>Development>USB Debugging).

Tip: to save time later, turn off your phone, hold down Power & Volume Down simultaneously until you reach the bootloader. Use the volume buttons to navigate to FASTBOOT and select it with the power button. Connect your phone via USB and the bootloader should now say FASTBOOT USB mode. Allow your PC to install the required drivers automatically. It may take a few minutes for your PC to search for and install drivers, so be patient.


-2. INSTALL ADB AND FASTBOOT ON YOUR PC.-
Installing ADB and fastboot on your PC is easy. Follow this guide and you’re good to go. To confirm that you have successfully installed ADB and fastboot, connect phone (with USB Debugging enabled) to PC via USB, open command prompt, and type “adb devices”. Your device ID number should be listed. Here are some useful commands for ADB and fastboot.


-3. REGISTER AT HTC DEV.-
Self-explanatory. Visit HTCDev.com and sign up with a valid e-mail address, as you’ll be receiving your Unlock_code.bin from HTC through this e-mail. Use an alternate browser such as IE, Google Chrome, or Mozilla Firefox if HTC Dev doesn’t play nice with your current browser of choice. Personally, I had to switch between Chrome and Firefox to get the HTC Dev website to cooperate.


-4. UNLOCK BOOTLOADER THROUGH HTC DEV.-
Make sure you’re logged in to HTC Dev and follow on-screen instructions to unlock bootloader. FYI, our device is listed as “myTouch 4G Slide (T-Mobile US)”. You can skip HTC’s instructions until step 5 since they're just telling you how to install ADB and fastboot, but you should already have ADB and fastboot installed .

After you finish unlocking the bootloader, the first line in your bootloader should read “*** UNLOCKED ***”.


-5. INSTALL A CUSTOM RECOVERY.-
Download official ClockworkMod Recovery 5.0.2.7 from the ROM Manager website or download another custom recovery from the MT4GS Development section. For instruction purposes, I will assume that you use official CWM Recovery 5.0.2.7. Save the img file to C:\.

Put your phone in bootloader FASTBOOT mode and connect to PC. Go to command prompt on PC and type “fastboot devices”. Once your device ID is listed, type “cd\” to get to “C:\” directory. Then type “fastboot flash recovery recovery-clockwork-5.0.2.7-doubleshot.img”.

After fastboot finishes, disconnect your MT4GS, go into bootloader, and go to “RECOVERY.” You should now be in ClockworkMod Recovery 5.0.2.7. The first thing I would do in CWM Recovery is make a backup of your stock ROM for safe keeping.

NOTE: Use volume buttons or trackpad to navigate through CWM Recovery 5.0.2.7. Select items by pressing the trackball. Power button may make your screen go blank and Back button returns you to the previous menu.


-6. ROOT YOUR DEVICE.-
Now that you have a custom recovery, you can flash custom ROMs. These custom ROMs are already rooted with Superuser and binary files.

NOTE: If you are S-ON, installing a custom ICS ROM will require an extra step in fastboot. You will have to extract the “boot.img” from the ROM and flash it with fastboot after installing the ROM in CWM recovery. More information from Limewirelord.

HOWEVER, if you want to root the STOCK ROM and/or continue to step 7 to achieve JuopunutBear S-OFF, you’ll have to root the device yourself. This is very simple. Download Superuser ZIP from androidsu.com/superuser. I can only recommend version 3.0.7 efgh because that is the only one I have tested, but newer versions may work.

Place the “Superuser-3.0.7-efgh-signed” on the ROOT of your SD card. Go to CWM Recovery and use “install zip from sdcard” to flash the Superuser zip. If installation aborts or fails the first time, try to flash the zip again until installation is complete. Reboot your phone and check in your apps to see if Superuser app is there. If so, congratulations, you have successfully rooted your stock MT4GS!


-7. USE JUOPUNUTBEAR TO GAIN S-OFF (OPTIONAL).-
Achieving S-OFF will make your life a lot easier if you want to flash custom ROMs, especially ICS ROMs. Follow instructions for JuopunutBear at unlimited.io and check out the JB S-OFF thread for other users’ experiences.

As I said before, if you are S-ON, flashing ICS ROMs will require an extra step in fastboot. You will have to extract the “boot.img” from the ROM and flash it with fastboot after installing the ROM in CWM recovery. More information from Limewirelord.

If you are S-OFF, you can bypass this step. For this reason alone, I highly recommend JB S-OFF if you have a half hour to spare and some courage for the wire trick. In this post, Indirect explains why JB S-OFF is superior to S-ON and Revolutionary S-OFF. Also, S-ON Unlocked, Revolutionary S-OFF, and JuopunutBear S-OFF are described in detail here.

However, if you plan on staying on stock-based/Gingerbread ROMs, S-OFF may be unnecessary for you. There are pros and cons to staying on 2.3 Gingerbread vs. upgrading to 4.0 ICS (like the stock HTC camera), but I’ll let you make that decision for yourself.

JB S-OFF NOTE: Users have reported that certain SD cards prevent JB S-OFF from working properly. If the wire trick doesn't work for you, try using another SD card and make sure it's formatted to a "FAT" file system and over 512mb in size (thanks to demkantor for this tip).

/ENDGUIDE
Source: http://forum.xda-developers.com/showthread.php?t=1801106

Monday, February 4, 2013

Fix Wireless Failure after Installing Custom CyanogenMod Roms

WiFi Fix for Android 4.x

Description

I recently found out many people in certain countries no matter what kinds of devices they're using, have issues with WiFi when SIM-Card is inserted.

I searched a little bit and realized that changing the Wifi country code in Secure system settings should solve the problem and finally made an APK for doing so automatically on phone boot and network state change events.


Download

You can download it and follow the updates here.

You can also download and install WiFix Manager from Google Play.
Make sure to rate the application.


Installation

It's pretty easy; First of all you should have your phone rooted. Then install WiFixManager.apk on your device (Note that I also attached WiFix.apk which is for ROM cookers. You only need to download WiFixManager.apk)



Start WiFix Manager from applications menu and tap Install WiFix (allow SuperUser permission.)



Once installed, you're ready to go. The application will change the country code when needed. You can also invoke it manually by dialing *#94349# (*#WIFIX#) and pressing the call button (don't forget to press call button; it's not a MSL code).



Updates

I will release updates to this tool when needed, you can easily check for updates and install them via WiFix Manager.



I'll be glad if you test this tool and tell me your opinion, report bugs, suggest features, etc. either by sending me Emails, PMs, or posting replies in this thread.


Code:
Change Log:
1/14/12 WiFix V1.0, WiFix Manager V1.1:
Initial Release
1/25/12 WiFix 1.1, WiFix Manager V1.2:
Changed minimum SDK version and API Level to 3
Minor layout changes
Minor bug fixes
1/30/12 WiFix 1.2, WiFix Manager V1.3:
Added custom country code support
7/3/12 WiFix V1.2, WiFix Manager V1.31:
Minor layout bug fixes
Compiled with Android SDK 14
12/9/12 WiFix V1.2, WiFix Manager V1.32
Minor bug fixes (Device compatibility improvement.)
Added reboot prompt after installation and removal.
Compiled with Android SDK 16
Known Issues

Sometimes when you reboot your phone with WiFi turned on, you won't have internet access (you can't open webpages, download files etc.) even though it says it's already connected to your router.
This issue can be fixed by turning WiFi Off and On or dialing *#WIFIX# as described before.

Recovery Flashable ZIP

As requested, here's an alternative installation method, Recovery Flashable ZIP file.
You can download it here.

For ROM Cookers

By placing WiFix.apk into /system/app folder you'll have a WiFix enabled ROM.
If you're publishing that ROM, please include a link to this thread
WiFix.apk can be downloaded here.
Attached Files
File Type: zip WiFixRecovery_1.0_1.1.zip - [Click for QR Code] (728.0 KB, 2260 views)
File Type: apk WiFix_1.0.apk - [Click for QR Code] (23.8 KB, 1274 views)
File Type: apk WiFixManager_1.1.apk - [Click for QR Code] (57.8 KB, 1037 views)
File Type: zip WiFixRecovery_1.1_1.2.zip - [Click for QR Code] (728.1 KB, 536 views)
File Type: apk WiFix_1.1.apk - [Click for QR Code] (24.0 KB, 417 views)
File Type: apk WiFixManager_1.2.apk - [Click for QR Code] (59.1 KB, 572 views)
File Type: zip WiFixRecovery_1.2_1.3.zip - [Click for QR Code] (716.3 KB, 9260 views)
File Type: apk WiFix_1.2.apk - [Click for QR Code] (24.3 KB, 3473 views)
File Type: apk WiFixManager_1.3.apk - [Click for QR Code] (62.7 KB, 7266 views)
File Type: apk WiFixManager_1.31.apk - [Click for QR Code] (56.4 KB, 2830 views)
File Type: apk WiFixManager_1.32.apk - [Click for QR Code] (59.4 KB, 4009 views)

Sunday, February 3, 2013

Easiest working complete tips to root your HTC Doubleshot (MyTouch 4G Slide)

Before you start,go ahead and download these files:
-mini-adb.zip: mini-adb.zip
-clockwork recovery for mt4gs(doubleshot): clockwork 5.0.2.7 (md5= 66e083ccc47fe76266d794fd12d1aa0e)
-superuser files: for GB or ICS,use the latest superSU from this thread on xda (the download link is where is says: CWM installable ZIP: CWM-SuperSU-v0.96.zip )
-go to HTCdev - Unlock Bootloader and register an account

The basic steps will be:

1)unlock with htcdev
2)temporarily or permanently flash a recovery
3)flash root files


1)unlock with htcdev
HTC Doubleshot which is also known as myTouch 4G slide is bit easy to root, and here is the best simplest guide ever to root it, no matter you are experienced rooting android before or a novice, here I’ll show you an easy step by step procedure to root HTC Doubleshot myTouch 4G Slide Android Smart Mobile phone device, please make sure that you follow each and every steps as it is, don’t skip any single step otherwise the trick will be useless so go ahead and get yourself super user of your Smart android HTC device.


To root this device you will need to unlock HTC bootloader because HTC doesn’t allow rooting device without unlocking it’s bootloader.

Now days android is the king of all mobile OS, rather say HTC android phones has ruled the android mobile market, If you also have HTC Android smart phone, and you really want to have a real ownership on your device, then you must need to unlock your phone’s HTC bootloader which makes trouble rooting your android based smarty HTC device if not unlocked.

Why need to unlock HTC bootloader?

Most of all android users needs to root their android phone or device, in the case of HTC Android phones users needs to unlock the phone’s bootloader before they root their phones otherwise the booting will be temporary and will be un-rooted after they reboot their phone once.

How to unlock HTC bootloader?

  1. Get registered then sign in on HTCdev website.
  2. Go to Official HTCdev website.
  3. click on “Begin Unlock Bootloader” button.
  4. Follow the steps provided by there on HTCdev website.
If your phone freezes when you type in  fastboot flash unlocktoken Unlock_code.bin at the command prompt, try the following:
  • HTC sync can cause this problem. Kill it if you're running it on your PC. Also try disconnecting/reconnecting your phone to the PC.
  • Make sure your usb ports are 2.0 high speed. That command line does not seem to work on usb 1.0 and 1.1. If it persists, try another computer.
After successful unlock of bootloader you can continue rooting your HTC Smart Android phone.

Rooting HTC Doubleshot (myTouch 4G Slide) with HBOOT 1.44.0007

  1. Download UniversalAndroot-1.6.2-beta5 and extract the apk from it.
  2. Connect your phone to PC, click USB Connected from notification bar of your phone.
  3. Click on “Mount” Button, it will connect your SDcard to PC as mass storage.
  4. Copy downloaded Universal androot.apk to your SDcard.
  5. Disconnect the phone, go to settings> applications> turn on Unknown sources installation by tick it.
  6. Open copied apk using any file explorer and install it.
  7. When installation gets finished run it.
  8. There is options to root your device permanently or temporary, choice is yours and click on ROOT button.
  9. You can un-root your device in the same way by clicking on un-root button on the app.
If any trouble OR queries please don’t hesitate to comment, we will try our best to help and get your stuffs easy as we can.

 or

Rooting HTC Doubleshot (myTouch 4G Slide) with HBOOT hboot 1.45.0013

2) Flash a recovery

if you want to run stock,do not permanently install your recovery. keeping the stock recovery on the phone will ensure that you recieve OTAs without a hitch,wich i know is important to alot of users. YES,the OTA will break root. its no big deal. one good thing about htcdev is that you will always be able to reroot after,simply by following steps 2 and 3 again to launch recovery,flash superser.

once youve either skipped past all the setup,or have re-set up and are ready to root,chose either of the following options to either permantly or termporarily install a recovery:


1)temporary recovery:

-move the recovery image file you downloaded above and place it into the mini-adb folder.
-put the superuser zip file onto your phones sd card
-enable usb debugging once again,as above. open a cmd window,if its not still open from unlocking.
-if you had to re-open a cmd window,dont forget to change back to your mini-adb directory:

cd c:\mini-adb_vigor

-make sure youre connected by typing:

adb devices

-should return serial number
-check the md5 of your recovery image:

md5sums <recoveryname>.img

**make sure the resulting md5 matches the one that is listed for the image that you downloaded. ** (if no md5 is listed,post in the thread,i can download and compare my md5 to yours.this is not as good as getting an md5 from the one who linked the file,but its better than nothing)

-boot to bootloader:

adb reboot bootloader

-check for connectivity:

fastboot devices

-should return serial number
-temporarily launch your recovery to phone memory:

fastboot boot <recoveryname>.img

-youll see a (really fast) green status bar on the top right as your PC sends the recovery to your phone. youll then see the HTC splash screen,then your recovery.

 
2)permanently install your recovery

-move the image file you downloaded above and place it into the mini-adb folder.
-put the superuser zip file onto your phones sd card
-enable usb debugging once again,as above. open a cmd window,if its not still open from unlocking.
-if you had to re-open a cmd window,dont forget to change back to your mini-adb directory:

cd c:\mini-adb_vigor

-make sure youre connected by typing:

adb devices

-should return serial number
-check the md5 of your recovery image:

md5sums <recoveryname>.img

**make sure the resulting md5 matches the one that is listed for the image that you downloaded. ** (if no md5 is listed,post in the thread,i can download and compare my md5 to yours.this is not as good as getting an md5 from the one who linked the file,but its better than nothing)

-boot to bootloader:

adb reboot bootloader

-check for connectivity:

fastboot devices

-should return serial number
-permanently flash your recovery to phones recovery partition:

fastboot flash recovery <recoveryname>.img

-youll see a (really fast) green status bar on the top right as your PC sends the recovery to your phone,then a (really,really fast) red bar as it flashes it. amon ra is now permanently on your phone when you need it. be aware that you can no longer accept OTAs,unless you reinstall the stock recovery at some point before the next OTAs are pushed.
-to get to recovery,push the power button to select hboot. once in hboot wait for the green writing to flash and disapear,then select recovery.

*note that you can still launch recovery by using the command from scenario 1 above.
-youll then see the HTC splash screen,then your recovery.

3)flash superuser root files

there is not much to explain with this one. if booted to recovery from above,use the recovery menu on your phone to:
-make a backup of your stock,unrooted rom. completely optional,but a very good idea,IMO.
-wipe cache
-wipe dalvik cache
-install zip from sd card(chose your superuser file)
-reboot

*congratulations,youre rooted