Showing posts with label Guide. Show all posts
Showing posts with label Guide. Show all posts

Saturday, 15 November 2014

[GUIDE]Unlock Bootloader - Moto G (2nd Gen)

- 0 comments
UNLOCK YOUR BOOTLOADER

WARNING: UNLOCKING YOUR BOOTLOADER VOIDS YOUR WARRANTY.PROCEED AT YOUR OWN RISK.
NOTE: Unlocking the bootloader will Wipe/ factory reset your device, and will delete all personal data from your device such as apps, photos, messages, and settings.


INSTRUCTIONS:


  1. Make sure to take a backup of your entire device data.
  2. Download the Android SDK OR Download the Minimal ADB and Fastboot 
  3. Install the latest Motorola USB Drivers on your desktop. Download here.
  4. Put your device in fastboot mode (power off, then press the power and volume down buttons simultaneously).
  5. Open Command Prompt on androidsdk/platform-tools/ (Hold Shift and right click and press open command window here)
  6. Connect your Phone to PC
  7. Type this in the CMD prompt window - fastboot oem get_unlock_data
  8. You will get a return string. Copy it. [Right Click-Mark- Mark the text by pressing the shift key-Now press Ctrl+C]
  9. Paste all the lines together in a notepad. Remove the empty spaces.
  10. Now go to the Motorola Site.Sign in using your Google account or Motorola ID. Scroll down the page and paste the copied string in the field at step #6. Then click on ‘Can my device be unlocked?’, after which a "REQUEST UNLOCK KEY" button will appear at the bottom of page.
  11. To get your unlock key, select the ‘I Agree’ option. Note: You will receive an email with your Unlock Key at the email address you used to log in there.
  12. Important – Copy the 20-character key that Motorola sent you via email. Make sure your device is connected.
  13. Then in CMD type: fastboot devices (To check your device is connected)
  14. Then type: fastboot oem unlock UNIQUE_KEY

    NOTE: In above command, replace the word ‘UNIQUE_KEY’ with the unlock code that you got via email. Then hit enter and the unlocking process should begin. Wait for a while and soon you’ll see ‘Bootloader Unlocked’ warning on your Moto G(2nd Gen).

    To relock the bootloader:

    Go to Fastboot and give the command fastboot oem lock


You can always appreciate my work by pressing the Thanks Button.
Good Day 
[Continue reading...]

Sunday, 30 March 2014

How to add reboot , recovery and bootloader options in Power menu

- 0 comments
So lets Start

Required
1-apktool
2-notepad++
3-some brains



STEP-1

Decompile Framework-res.apk

goto to res/vlaues/arrays.xml

and add these lines at the end

Code:
    <string-array name="reboot_options">
        <item>@string/reboot_normal</item>
        <item>@string/reboot_recovery</item>
        <item>@string/reboot_bootloader</item>
    </string-array>
    <string-array name="reboot_actions">
        <item>now</item>
        <item>recovery</item>
        <item>bootloader</item>
    </string-array>

now goto res/values/strings
and add these lines at the end


Code:
    <string name="reboot">Reboot</string>
    <string name="reboot_normal">Reboot</string>
    <string name="reboot_recovery">Recovery</string>
    <string name="reboot_bootloader">Bootloader</string>

goto add the ic_lock_reboot.png which i have i provided in the resources attached below this post to drawablw-hdpi folder

so before compiling the framework-res.apk follow erorcun's guide to properly recompile framework-res.apk

once recompile is done ....decompile again to get the HEX ID's

STEP-2

decompile android.policy.jar

goto classout\com\android\internal\policy\impl

and add the 3 smali's files which i provided in the resources attached below

Now option classout\com\android\internal\policy\impl\GlobalAc tions.smali

and find these lines and add the red marked lines between them

Code:
    .line 235
    iget-object v0, p0, Lcom/android/internal/policy/impl/GlobalActions;->mItems:Ljava/util/ArrayList;

    new-instance v1, Lcom/android/internal/policy/impl/GlobalActions$2;

    const v2, 0x1080030

    const v3, 0x10400fa

    invoke-direct {v1, p0, v2, v3}, Lcom/android/internal/policy/impl/GlobalActions$2;-><init>(Lcom/android/internal/policy/impl/GlobalActions;II)V

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 213
    move-object/from16 v0, p0

    iget-object v1, v0, Lcom/android/internal/policy/impl/GlobalActions;->mItems:Ljava/util/ArrayList;

    new-instance v2, Lcom/android/internal/policy/impl/GlobalActions$11;

    const v3, 0x1080827

    const v4, 0x104060b

    move-object/from16 v0, p0

    invoke-direct {v2, v0, v3, v4}, Lcom/android/internal/policy/impl/GlobalActions$11;-><init>(Lcom/android/internal/policy/impl/GlobalActions;II)V

    invoke-virtual {v1, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 260
    iget-object v0, p0, Lcom/android/internal/policy/impl/GlobalActions;->mItems:Ljava/util/ArrayList;

    iget-object v1, p0, Lcom/android/internal/policy/impl/GlobalActions;->mAirplaneModeOn:Lcom/android/internal/policy/impl/GlobalActions$ToggleAction;

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

now we need to assign the Hex id's as per ur Public.xml

NOTE: the hex id's might be different from mine and yours so be careful while comparing

new as per the above changes in GlobalActions.xml

assign the id's as below

<public type="drawable" name="ic_lock_reboot" id="0x01080827" />

Code:
 new-instance v2, Lcom/android/internal/policy/impl/GlobalActions$11;

    const v3, 0x1080827

<public type="string" name="reboot" id="0x0104060b" />

Code:
new-instance v2, Lcom/android/internal/policy/impl/GlobalActions$11;

    const v3, 0x1080827

    const v4, 0x104060b


Now option up classout\com\android\internal\policy\impl\GlobalAc tions$11.smali

find and replace the following

@line 70
<public type="string" name="reboot" id="0x0104060b" />


Code:
const v3, 0x104060b

@line 90
<public type="array" name="reboot_options" id="0x0107003b" />


Code:
const v3, 0x107003b

@line 105
<public type="string" name="ok" id="0x0104000a" />



Code:
  const v2, 0x104000a

@line 147
<public type="bool" name="config_sf_slowBlur" id="0x0111000b" />


Code:
const v3, 0x111000b

now open up classout\com\android\internal\policy\impl\GlobalAc tions$11$2.smali

@line 59
<public type="array" name="reboot_actions" id="0x0107003c" />


Code:
const v2, 0x107003c

save it and recompile android.policy.jar


now push all the files into ut phone...will have the new Advanced reboot options

ATTACHED FILES
File Type: rarreboot_option_resources.rar - [Click for QR Code] (4.5 KB, 140 views)
[Continue reading...]

Tuesday, 14 January 2014

Root Nexus 5 on Android 4.4.1 KOT49E KitKat and Install CWM Recovery

- 0 comments
How to Root LG Nexus 5 on Android 4.4.1 KOT49E KitKat and Install ClockworkMod CWM Recovery on LG Nexus 5. Nexus 5 has just started receiving Android 4.4.1 KOT49E KitKat firmware update. This latest KitKat update comes with several bug fixes and also fixes the faulty camera on Nexus 5. In this post, I will guide you on How to Root Nexus 5 on Android 4.4.1 KOT49E KitKat and Install CWM Recovery. I have written some important tips before the tutorial, make sure to check them out.
Nexus5-389x600
Disclaimer: All the custom ROMs and firmwares, official software updates, tools, mods or anything mentioned in the tutorial belong to their respective owners/developers. We or the developers are not to be held responsible if you damage or brick your device. Proceed at your own risk.
Important Tips:
I have written this detailed and easy to understand step-by-step instructions guide on How to Root Nexus 5 on Android 4.4.1 KOT49E KitKat and Install CWM Recovery. If you are used to rooting Nexus devices, then this should not be any different for you. However, for beginners, it is recommended that you read the whole tutorial before rooting your device.

How to Root Nexus 5 on Android 4.4.1 KOT49E KitKat and Install CWM Recovery:

Note: Before proceeding, make sure you have set up ADB and Fastboot on Windows: How to Set Up ADB and Fastboot with Android SDK on Windows
Required File(s):
Step 1 – Download the files mentioned above for your Nexus 5 through your computer.
Step 2 – Connect your device to computer and copy/paste the UPDATE-SuperSU-v1.80.zip file that you just downloaded in your Galaxy Nexus. And make sure it is in the root directory “/sdcard/”.
Step 3 – Now save the hammerhead-cwm-6.0.4.4-unofficial.img file to android-sdk-windowsplatform-tools directory on your computer.
Step 4 – Go into Fastboot/Bootloader Mode on Nexus 5 (Volume Down + Power).
Step 5 – Go to android-sdk-windowsplatform-tools directory and open Command Prompt (Shift + Right-click > Open Command Prompt).
Step 6 – Now type in the following command and press Enter.
fastboot flash recovery recovery-clockwork-touch-6.0.3.4-maguro.img
Step 7 – Choose RECOVERY from the Fastboot menu and enter into Recovery Mode.
Step 8 – In ClockworkMod recovery, go to “install zip from SD card”, as shown below, and press the Power button to select it.
Install-zip-from-sdcard-ClockworkMod
Step 9 – Now, press the Power button and select “choose zip from sdcard”, as shown in the picture below.
Choose-zip-from-sdcard-ClockworkMod
Step 10 – Use your volume keys and navigate to UPDATE-SuperSU-v1.80.zip and press the Power button to select it. Confirm the installation on the next screen.
Step 11 – Once the process is complete, go to “+++++Go Back+++++” and reboot the device by selecting “reboot system now” from the Recovery menu.
Reboot-System-Clockwork
Your phone will now reboot. It might take a couple of minutes for the device to start up on first boot. So be patient.
[Continue reading...]

Monday, 6 January 2014

Root Galaxy Note 3 LTE N9005 on Android 4.3 Official Firmware with CF-Auto-Root

- 1 comments
How to Root Samsung Galaxy Note 3 LTE N9005 on Android 4.3 Official Firmware with CF-Auto-Root. In this post, I will show you How to Root your Galaxy Note 3 LTE N9005 on Latest Android 4.3 Official Firmware using the most popular tool, CF-Auto-Root, developed by Chainfire for several high-end Samsung Devices. Before you proceed towards rooting your Galaxy Note 3 LTE N9005, make sure you take a look at the following important tips and keep them in mind.
note-3-lte-i9005
Disclaimer: All the custom ROMs and firmwares, official software updates, tools, mods or anything mentioned in the tutorial belong to their respective owners/developers. We or the developers are not to be held responsible if you damage or brick your device. Proceed at your own risk.
Important Tips:
  • Make sure your device is on Android 4.3 Official Firmware, not a custom ROM.
  • Rooting will void your device’s Warranty.
  • This Rooting method is only for Galaxy Note 3 LTE N9005, don’t try this with any other variant of the device.
  • Charge your battery up to 70%.
  • Enable USB debugging. (Settings > Developer Options > USB Debugging – check box)
  • Backup your phone data.
  • Make sure USB Drivers are installed properly on your Computer -> Download USB Drivers for Galaxy Note 3 LTE N9005.
I have written a detailed and easy step-by-step instructions guide on How to Root Galaxy Note 3 LTE N9005 on Android 4.3 Official Firmware with CF-Auto-Root. If you are used to rooting your device through ODIN, then this should not be any different for you. However, it is highly recommended for beginners that you read the whole tutorial once or twice thoroughly before rooting your device. If not done properly, your device might get bricked, in other words, it will not turn on.

How to Root Galaxy Note 3 LTE N9005 on Android 4.3 Official Firmware with CF-Auto-Root:

Required File(s):
Step 1 – Install drivers and extract Odin v3.07 and CF-Auto-Root-hlte-hltexx-smn9005.zip files that you just downloaded.
Step 2 – Now, switch off your phone to boot it into Download mode by pressing and holding Volume down + Home + Power Key (long Press), till you see the Android Logo on screen. And then press the Power key/Volume Up to enter download mode.
Step 3 – Open the “Odin.exe” and then connect your phone to computer via USB cable. As soon as you connect, ID:COM box in Odin turns light green/yellow color as shown in the image below.
Odin-307
Step 4 – Now select the CF-Auto-Root-hlte-hltexx-smn9005.tar.md5 that you download before by clicking on PDA Button in Odin.
Step 5 – Make sure that only F. Reset Time and Auto Reboot boxes are checked on Odin. Don’t check any other boxes. Also, tick Re-Partition box if you have got a “.pit” file.
Step 6 – Finally click on Start button on Odin to start installation process. It will take upto 5 – 8 minutes, so please wait for the installation finish.
Step 7 – Finally, you will get PASS! Notification on the ID: COM box and then your device will reboot automatically and now you can unplug your phone from computer. First boot would take some time so be patient.
That’s it! Your Galaxy Note 3 LTE N9005 is now Rooted on Official Android 4.3 Jelly Bean Firmware. To verify, look for SuperSU app in your App Drawer. You can now Overclock your device or install Custom Firmwares. If you had any problem during the Rooting process, drop us a comment in the comment section below and we will assist you with a solution.
[Continue reading...]

Sunday, 29 December 2013

How to Create Own Custom Rom [FOR ANY ANDROID DEVICE]

- 0 comments
Who is this tutorial for?
Quote:
  • Absolute Beginners.
  • People with little or no programming skills.
  • people who really want to learn how to make custom rom's
  • people who want to learn android and don't know where to start

Tools Required : (Update them manually and report me dead links please)
Quote:
Step one: Installing the JAVA JDK, Cygwin and Setting up the Kitchen.
INSTRUCTIONS
  • Download and extract the cygwin_packages.zip
  • Run the set up(make sure there is no previous cygwin installation)
    Quote:
    NOTE: INSTALL CYGWIN IN ROOT DISK LIKE C:\
    • Follow the kitchen read me txt!!!
    • local package directory *must* be the path to the cygwin_packages folder that you just extracted
  • when it shows all the package names, go to the top and select "all default" until it changes to "all install" (you must click on the arrows)
    Quote:
  • Download the kitchen from above. Then, extract the kitchen's .zip file to a folder under your home account. Rename the dsixda-android-kitchen-*** folder to just "kitchen". In Cygwin, this folder would depend on what was set for your Cygwin install directory, e.g. C:\cygwin\home\John\kitchen
    NOTE!! If your user folder contains spaces (e.g. C:\cygwin\home\John Smith\kitchen), then the kitchen will not function properly. Instead, copy it under C:\cygwin\home\kitchen.
  • Now your ready to run the kitchen type:
    Quote:
    those who have their kitchen like this C:\cygwin\home\John\kitchen use these commands given below.
    Quote:
    cd kitchen(enter)
    ./menu(enter)
    those who have their kitchen like this C:\cygwin\home\kitchen use these commands given below.
    Quote:
    cd ../kitchen(enter)
    ./menu(enter)
    Quote:

    If you did things right you should see this:
    Step Two: Setting up a working folder


    THERE ARE TOW METHODS FOR THIS.
    1. WHEN YOU HAVE BASE ROM AVAILABLE.
    2. WHEN YOU DON'T HAVE BASE ROM.


    FIRST METHOD - 
    • First our folder structure should look like this:
      Code:
      cygwin folder/home/your user name/kitchen
    • Inside the kitchen it should look like this:
    • Now we need a rom to work on, for GALAXY ACE PLUS[s7500] users i will recommend this rom by blackburner but you can use any rom.
      Just Place the original rom zip in the original_update folder inside the kitchen.
    • run the cygwin.exe again type:
      Code:
      cd kitchen(enter)
      ./menu(enter)
    • now enter option 1, enter again. You should see your rom listed, choose and enter
      you will be asked about changing the working folders name, at this point it makes no difference so just continue.
    • congratulations you have a working folder!!!



    SECOND METHOD - this method is by neroyoung

    FIRST MAKE A WORKING FOLDER IN CYGWIN FOLDER
    Quote:
    IT SHOULD LOOK LIKE THIS
    cygwin folder/home/your user name/kitchen/WORKING_(your rom name)


    NOTE: FOR THIS MEETHOD WE NEED 3 FILES AND FOLDERS TO BE PLACED IN WORKING FOLDER.
    1. META-INF FOLDER - GET THIS FROM DOWNLOAD FILES LIST IN FIRST POST
    2. SYSTEM FOLDER - TUTORIAL BELOW
    3. BOOT.IMG - TUTORIAL BELOW


    2. getting system folder
    (NOTE - YOU MUST BE ROOTED FOR THIS MEDHOD)
    • This is universal method and can be done easily using terminal emulator.
      For this simply download Terminal Emulator from Android Market.
      we need freshly flashed device here. OTHERWISE YOU WILL HAVE LOT OF JUNK FILES.
    • Open it and type:
      Quote:
      su
      tar -c system/* >> sdcard/system.tar
      This will copy all your /system folder to your SDcard with name System.tar
      This will take some time to finish so be patient.
    • After it's done you should have a tar file in your /sdcard named system.tar
      You can extract it using Winrar or 7zip software. But yes this will have huge size , as it has other useless folders so you will have to delete them. After extracting this system.tar file you will get following folders (Similar one)

      Quote:
      • /etc
      • /fonts
      • /framework
      • /lib
      • /lost-found
      • /media
      • /sd
      • /semc
      • /usr
      • /xbin
      • build.prop
      • And some other files and folders like ""autorooted,kernel files" etc


      Now simply delete the folders marked in red color and its done.Don't worry if you don't have folders with red colors above,we don't need them.
    • And the final files that we will have in our system folders will be

      Quote:
      • /app
      • /bin
      • /etc
      • /fonts
      • /framework
      • /lib
      • /media
      • /semc
      • /usr
      • /xbin
      • build.prop

      If it dont have semc folder no need to worry.
      NOTE: YOU CAN ALSO GET THIS SYSTEM FOLDER BY USING ANY ROOT BROWSER. JUST FIND THIS FOLDER AND COPY/EXTRACT TO SDCARD
    • NOW COPY THIS system FOLDER TO WORKING FOLDER


    3. getting boot.img

    Here we have 2 options
    1. stock boot.img from stock rom - simple kernel which we get in brand new mobile.
    2. custom boot.img from custom kernel - kernel which are modified for overclock or other features


    Quote:
    1. getting stock boot.img from stock rom.
    extract your stock rom with winrar or 7zip. you will see boot.img there. copy it to working folder

    2. getting custom boot.img from custom kernel.
    • download any custom kernel which is only for your device. [galaxy ace plus [s7500] users get from here or here]
    • extract it with winrar or 7zip and copy boot.img to working folder
    NOTE: many of new devices have kernel.bin and other files instead of boot.img so skip this part if your device don't have it...

  • Step Three :change/modify/update rom

    YOU CAN MODIFY YOUR ROM IN TWO STEPS:
    1. MODIFY USING ANDROID KITCHEN - for basic modification.
    2. MODIFY MANUALLY. - for advanced modification.



    1. MODIFYING USING ANDROID KITCHEN
    Quote:
    watch this amazing tutorial by neroyoung on how to editing rom with kitchen
    NOTE: DON'T FORGET TO DEODEX YOUR ROM

    2. MODIFYING MANUALLY.


    FOR ALL ANDROID PHONES (ESPECIALLY FOR GINGERBREAD ROMS) USE THIS GUIDE FOR COOL MODS. like center clock,CRT animation, ics and jelly bean style mods etc... ANOTHER GUIDE BY ME
[Continue reading...]

Recover A Bricked Phone

- 0 comments
Here are some quick tips :
(Here I'll use the terms like Download-Mode & Recovery-Mode,There "BOOT to RECOVERY" & "BOOT to BOOTLOADER" means how to enter into Recovery-Mode & Download-Mode respectively.)


A Bricked Phone May Have One or More (Below Problems) :

1. Booting to the ROM(Android) not possible.
2. Booting to the Recovery-Mode not possible.
3. Black screen or Bootloop(Repeated Restarting of Phone at Boot Animation or Samsung Galaxy Y Logo).


Possible Solutions :
(Remember there'll be data loss using these solutions so always try to keep a backup)

1. If you can still enter into Recovery-Mode 
(a). Try to clear Data & Cache then check.
(b). Try Installing a Custom ROM using CWM(ClockWorkMod Recovery) & check.
(For Custom ROM & CWM Visit here.)

2. If Recovery-Mode didn't helped Enter into Download-Mode & flash an odin supported stock rom(using ODIN 1.84 or 1.85) from Doky73's Thread(Flashing Guide in 2nd post).


*You can inform me, if anything left out.

Note :
1. I'll be not held responsible for anything that happens to your phone.
2. Before posting try to search for similar type problems out there & try the solution, if that doesn't solve your problem then post here.
[Continue reading...]

Sunday, 22 December 2013

[Guide] To Port ARMv7 Games To ARMv6 Devices

- 0 comments
ARMv6 in Easy Words Can Be Said As A Architectural Core..
                           

What To Know:
  • It's A Educational Trick
  • I am not responsible for Using It For Other Processes.
  • The Guide Will Only help To Port Older Version Of UNITY Engine Games.
  • Unity3D Apps which cannot be ported may have libs in there obb.
  • Every Game Will not work if ported like NFSMW, Asphalt, etc.

What All You May Require:
ZipSigner2 - ZipSigner2.apk
AutoAPKTool - Here
Libs From Unity - Here
Notepad++ - Here
WinRAR - Here

Checking Whether Game is Of Unity Engine:
  1. Open The Apk Using WinRAR
  2. Check Libs/Armeabi-V7/ - Two Files
    -Libmono.so
    -Libunity.so
  3. Above^ Files Present So The Game Can Be Ported.. 

Checking The Version Of Unity3D:
  1. Open The Apk Using WinRAR
  2. Go To assets/bin/data
  3. Open the file mainData using Notepad++

Now, Conversion Of The Apk:
  1. Delete Armeabi-V7 Folder From
  2. -apk/libs/>here<
  3. -apk/assets/libs/>here<
  4. Replace with the One In The Libs.rar As Per The Version[Here We Have=3.5.5f3]

Finally:
Sign The Apk Using ZipSigner2[ROOT] in phone or Use AutoAPKTool in Computer..
Enjoy 

SOME PORTED GAMES HERE: Download

[Continue reading...]

Tuesday, 17 December 2013

How to add banner in "About Phone" | Noob friendly

- 0 comments

What you need ? : 

  • Latest APKTOOL package .
  • A brain .
  • PC  .
  • Knowledge in decompiling and recompiling .


Lets start the GUIDE !  

Resources 

  • APKTOOL here .
  • Image Resolution : 700*215 .

Guide-

1)

  • Decompile Settings
  • Go to res/Layout folder
  • Download this file
  • paste it in Layout folder
2) 
  • Copy the image to res/drawable folder
  • Rename it to logo and it must be "PNG" !
  • Quote:
    EX: logo.png
3)
  • Go to res/xml
  • open device_info_settings.xml
  • Add this
    Quote:
    <PreferenceScreen android:layout="@layout/logo" android:key="od_logo" />
    after this line
    Quote:
    xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">


SAMPLE

[Continue reading...]

Popular Posts

 
Copyright © . Android Custom ROMs - Posts · Comments
Theme Template by BTDesigner · Powered by Blogger