How to get ADB working with Micromax A70 [Linux]

There were some problems in getting ADB to work with Micromax A70. Not any more..

JDK- How To Install Oracle Java 7 (JDK) In Ubuntu ~ Web Upd8: Ubuntu / Linux blog
SDK- Google it.

Instructions:

  1. Install JDK and SDK. (Link to JDK 7 is given above)
  2. Download tar.gz package & extract it.
  3. In terminal
    cd /home/user/extracted_folder/android-sdk-linux_x86/tools
    ./android
  4. Download all necessary packages by clicking on “Available packages” and checking “Android Repository”. Then click on “install selected” button and another window will pop up. Check “accept all” and click on “install” button. Wait and you will have all SDK packages installed,adb too.
    sudo gedit /etc/udev/rules.d/99-android.rules
  5. Then paste following in it.
    #Micromax
    SUBSYSTEM==”usb”, SYSFS{idVendor}==”1d91″, MODE=”0666″Save & Exit.For ubuntu 11.04,paste this.(i m not sure of this but found in more then 2 guides)
    SUBSYSTEMS==”usb”, ATTRS{idVendor}==”1d91″ TEST==”/var/run/ConsoleKit/database”, RUN+=”udev-acl –action=$env{action} –device=$env{DEVNAME}”
  6. Save & exit.
    sudo chmod a+rx /etc/udev/rules.d/99-android.rules
    sudo service udev restart
    sudo gedit .bashrc
  7. At the end paste this-
    export PATH=${PATH}:/home/YOUR-USERNAME/android-sdk-linux_x86/platform-tools
    (this may change according to your android-sdk directory)(Upto this point credit goes to xda developer ciaox,here is link to his tutorial,
    [LINUX][HOW-TO]ADB not working? Check this out! – xda-developers
    )
  8. source ~/.bashrc
    reboot pc. (Optional)
  9. In terminal
    mkdir -p ~/.android && echo 0x1d91 > ~/.android/adb_usb.ini && adb kill-server && adb devices

And you’re done.

Credits go to- mastermind1024

Related Articles:
How to get ADB working with Micromax A70 [Windows]

How to install ClockworkMod Recovery (CWM) on Micromax A70 without ROM Manager

You can manually install a custom recovery such as CWM Recovery using the fastboot or flash_image method if you don’t have a mobile internet connection.

With Fastboot:

For this method to work, you must have ADB and fastboot installed on your computer. Refer Get ADB working with A70

  1. Copy the recovery image from here to C:\
    Note: The recovery image should have .img extension. If it is in a zip file, extract the .img file from it.
  2. Power your device off. Hold the camera key.
  3. While holding the camera key, connect your device to your computer via USB and wait till you see ‘fastboot USB’ on the screen.
  4. Launch Command Prompt and type the following command:
    fastboot flash recovery c:\recovery.img
  5. Wait for the process to finish and reboot your device once it’s done. You can reboot using fastboot:
    fastboot-windows reboot

With flash_image:

‘flash_image’ is a tool for Android devices that lets you rewrite your phone’s system partitions with partition image files and installing it to your device requires ADB.

  1. Download flash_image and extract it from the zip file to a location on your computer. We extracted it to the main C drive (not in any folder) and will use that in the next steps.
  2. Download the recovery from here (A70) & copy it to C:\
  3. Enable USB debugging mode on your device from Menu > Settings > Applications > Development.
  4. Connect your device to your computer via USB.
  5. Open a Command Prompt window on your computer and enter the following commands:
    adb push c:\flash_image /sdcard/
    adb push c:\recovery.img /sdcard/
    adb shell
    su
    mount -o remount, rw /system
    cp /sdcard/flash_image /system/bin
    cd /system/bin
    chmod 777 flash_image
    flash_image recovery /sdcard/recovery.img

    This will first transfer flash_image and recovery.img to your phone. Then it will copy flash_image to the /system/bin folder of your Android device and make it executable. Finally, it will flash the custom recovery image to your device using flash_image.
    If you extracted the files elsewhere, use the appropriate paths and if your recovery image has a different name, use the appropriate name in the first two lines.

  6. Reboot your device once the process is finished and you’re done. You may exit adb and the Command Prompt window on your computer by entering ‘exit’ thrice.

The above methods appeared on addictivetips.com

Note if you have been able to do it successfully or know anymore about this, please leave a comment.

Related Articles:
How to install ClockworkMod Recovery 5 (CWM) on Micromax A70
How to install RZRecovery on Micromax A70

How to get ADB working with Micromax A70 [Windows]

There were some problems in getting ADB to work with Micromax A70. Not any more..

Requirements (for method 1):

  1. 91 PC suite (Download)
  2. Micromax A70 USB drivers (Download) | Alternate Link (MF)
  3. Install the android SDK using this article

Method 1:

  1. Extract the USB drivers for Micromax A70. Connect the phone to the computer, point the found new hardware wizard to search for the drivers in the folder in which the drivers were extracted (Also check ‘Include Sub Folders’).
  2. Install 91 PC Suite. The Interface might be in Chinese. To change it to English click on the white android phone on the upper left corner of the 91 PC Suite Windows, point to the 3rd option in the list and click on English.
    Restart 91 PC Suite and let it detect the phone. Leave it open in the background.
  3. Now, type  adb devices in command prompt. (you will notice that it will not try to start the daemon server as it will use the daemon server provided by 91 PC Suite) Continue reading

How to Network Unlock Samsung Galaxy Ace Via ADB

If you are not in India, chances are that you might have got your phone network locked.
You Will Need:

Your Phone to be Rooted
Samsung Kies
ADB which comes with Android SDK and can be found HERE.
Latest Java SDK if you already don’t have it.

Once you have downloaded the Android SDK, run the installer trough all the steps to install it, it is recommended to install it in “C:” drive so that you can follow the tutorial as it is.

1-Go to the “Available Packages”.
2-Click on the “Refresh” Button and the bottom Right and wait until it finish
3-From Items select the “Andoid SDK platform-tools, revision x(7 at the moment)”
4-Click the “Install Selected” button.
5-Now you can either close the SDK or leave it open.

Now that you installed the SDK and the ADB its time to set the Path so the cmd.exe recognizes the ADB, there are two methods, One With cmd.exe (console) and one with the My PC Properties.

Cmd.exe (console) Method.
Click on your start button and select “Run” from the Start Menu, type cmd.exe on the box and press enter.
Once the CMD its open write the next Text: set PATH=%PATH%;C:\android\android-sdk-windows\platform-tools
The text Write in Bold means your SDK Installation Directory.

My PC Properties Method.
Open My PC, and Right click on a blank space,
Select “Properties” from the just opened context menu,
On My PC Properties select the “Advanced Options” Tab
On the “Advanced Options” tab click on the “Environment Variables” button.
Now Mark the “Path” Variable and click the “Edit” Button.
At the end of the line add this text:
;C:\android\android-sdk-windows\platform-tools
Remember that The text Write in Bold means your SDK Installation Directory.

Now you have completly installed the android SDK and the ADB (Android Debugging Bridge), So here we go with the tutorial.
1. Connect your SGA to your computer via the included USB Cable. (the drivers should be installed by now, Kies installs them automatically, do not open Samsung Kies.)
2. Open cmd.exe

3. Type: cd C:\android\android-sdk-windows\platform-tools (A $ sign shall pop up)

4. Type: adb shell (From now on, after each step, a # sign shall pop up)

5. Type: su  (This gives root premission to adb shell)

6. Type: cd /  (Another # shall pop up)
Note- There is a space in between cd & /.

7. Type : mount -o remount rw /

8. Type: mkdir /efs

9. Type: mount -o nosuid,ro,nodev -t vfat /dev/block/stl5 /efs

10. And now type: cat /efs/mits/perso.txt
And you will get some strange characters on the screen and your unique 8 digit unlock code, make a note of it.

11. And finally type: umount /efs
12 . Disconnect your phone from your computer, turn off your Phone and insert a SIM from another company, it will ask for the Unlock Code, just type the code that you just get and you are done, your phone is now unlocked.
Image:

Now you can check that your cellphone is unlocked by typing the next code on your numeric keyboard, like if you where doing a call: *#7465625#
Image:

Credit goes to Jc_master @ XDA.

The only way to do brick your phone while doing this is  by skiping the last step, umount /efs.

In case you brick your phone, no need to worry. Just download a ROM & follow this tutorial to unbrick your phone: This is The Tutorial
Do a wipe of the cache and dalvik & restart.

How to force install apps to SD card without ROOT!!!

Ace has only got 180 MBs of Internal mem. If you install a lot of apps, you are bound to run into low disk space issues. This tutorial can help solve that problem partially.

This tutorial applies to all phones whether on Froyo or Gingerbread.

Getting Ready:

  1. First you have to enable USB debugging on your Android device from Settings > Applications > Development > USB debugging.
  2. You need to download and install the latest Android SDK on your computer from http://developer.android.com/sdk/.
  3. Install the latest Java SDK.

Tutorial:

  1. Extract the package to the folder of your choice [Let's say- C:/android-sdk-windows/], run SDK Manager.exe
  2. Close the command / windows command prompt window that opens.
  3. In the new window, click on Available Packages to the left. Untick all options you are prompted to download except the USB driver option. Usb driver option will need an additional packages called Android SDK tools revision x(13 as of this time) & android sdk platform-tools revision x(7 as of this time) at the top of the list.
    (Note-If you get an error message at this point, enable “Force https://…” in the Settings.)
    Click on the Install Selected button in the bottom right corner and follow the prompts. )
  4. Do not open Samsung Kies. Connect your phone to your computer with a USB-cable. Your OS will prompt you to install new drivers. Choose to install them from the android-sdk-windows/extras/google/usb_driver folder. Do not mount your device; you only need to plug-in the cable.
    (If you don’t see this prompt like me, that means you have USB drivers already installed!! If you are running into problems with USB drivers, install these manually- SAMSUNG USB drivers )
  5. Run command prompt in administrator.
    Type in the following after the “>” at each step (without quotations,and including spaces and capital letters)

    cd C:\android-sdk-windows\platform-tools
    adb devices

    A list of devices attached should come

    adb shell

    A $ sign should pop up

    pm setInstallLocation 2

    Another $ should pop up

And you’re done!! Close everything, disconnect phone, reboot & enjoy!!

Note: Now the phone will be set to install all apps you install onto the SD card. However, already installed apps on phone will have to be manually moved if on phone memory. This process doesn’t move these apps for you, it adds the ability.

It’s preferable to install certain apps to the main memory, since it takes some time to mount the SD card when your phone boots. Apps installed on the memory card will also be unavailable to the system each time you mount your phone as a disk drive. There is no effect on the application performance so long as the external storage is mounted on the device.

In general, apps that integrate with the Android OS and that often run in the background is better to install on the internal storage, while games and most other applications will have no problem chilling outside on your SD card.
Any app using widgets needs to be installed on phone memory.

Hope it helps.

Update:
From what I have come to understand (correct me if I am wrong), Each app will store some .odex files on phone memory to speed up the boot process.
So don’t complain that phone memory is getting lesser after each install. Though if you could’ve installed 40 apps before now maybe 150+ and still have 30-40 mb left. (depends on what kind of apps you install).

Darktremor’s a2sd scripts deodex the apps and COMPLETELY move the apps and cache to sd card but you will need to root and run the scripts.
>> How to install Dark Tremor’s a2sd on Samsung Galaxy Ace (Froyo)

Though an easier way will be to install a custom Rom.

Original blog entry (outdated, not for ACE)

Related Articles:
Save 5-10 MB of Internal Memory by Moving Dump Files to SD Card