Friday 30 October 2015

UnROOT - Asus Zenfone 5 KitKat Firmware

This Post will Guide You How to Unroot your Zenfone 5 Safely

Your Phone can be Unrooted By 2 Ways...

1.Open SuperSU in your Phone and under Settings Tab --> Select Full Unroot


SuperSU


2.With the Downloaded Root Expoit Look for Unroot-Zenfone.bat
Unroot-zenfone.bat

Manual update of WW SKU - Latest firmware for Zenfone 5 and Zenfone 6


Please follow the steps below to manually update Zenfone 5 to the latest KITKAT version 2.21.40.44WW (or 2.21.40.39WW for Zenfone 6).



If you need the latest official WW ROM image for Zenfone 5 or Zenfone 6, you can get it from the following links below.

Please pay special attention on the following limitations before you update your phone,to prevent get an unrecoverable error.

1. Your current ROM should be WW sku (Settings/About/Software information/Build numbercan see it, ex. ASUS_T00F_WW_user_xxx)
2. Phone should not be rooted.
3. The bootloader should not be unlocked.


For 4.4 KitKat users:


a)  Download the ROM imagefrom below link to your PC or directly to your phone.

Zenfone 5 WW SKU (2.21.40.44)
http://dlcdnet.asus.com/pub/ASUS/ZenFone/A500CG/UL-ASUS_T00F-WW-2.21.40.44-user.zip

Zenfone 6 WW SKU (2.21.40.39)
http://dlcdnet.asus.com/pub/ASUS/ZenFone/A600CG/UL-ASUS_T00G-WW-2.21.40.39-user.zip

b) Connect your phone to a computer via a USB wire.

c) Copy the downloaded zip file into your phone (Internal storage folder). If you have downloaded directly to the phone then using the File manager move the file from the Download folder to the Internal storage outside all folders.

d) Unplug the USB wire from your phone, and then you may receive a notification on your phone. If you don’t receive notification, then turn off WIFI and Mobile data and restart the phone . After reboot you will get the notification.

e) Click it from Notification menu and start the update.




For 4.3 JB users:

a)  Make sure your current ROM version is the specific version as following, if not, please download from below link. Download to PC or directly to your phone.

Zenfone 5: WW SKU(1.18.4.40.10)
http://dlcdnet.asus.com/pub/ASUS/ZenFone/A500CG/UL_ASUS_T00F_WW_1_18_40_10.zip

Zenfone 6: WW SKU (1.18.40.12)
http://dlcdnet.asus.com/pub/ASUS/ZenFone/A600CG/UL_ASUS_T00G_WW_1_18_40_12.zip

b) Connect your phone to a computer via a USB wire.

c) Copy the downloaded zip file into your phone (Internal storage folder). ). If you have downloaded directly tothe phone then using the File manager move the file from the Download folder to the Internal storage outside all folders.

d) Unplug the USB wire from your phone, and then you may receive a notification on your phone. If you don’t receive notification, then turn off WIFI and Mobile data and restart the phone . After reboot you will get the notification.

e) Click it from the Notification menu and start the update.

f) Continue to download the latest  KITKAT 4.4 ROM again and follow the steps ‪#‎b to ‪#‎e to upgrade again


Zenfone 5 WW SKU (2.21.40.44)
http://dlcdnet.asus.com/pub/ASUS/ZenFone/A500CG/UL-ASUS_T00F-WW-2.21.40.44-user.zip

Zenfone 6 WW SKU (2.21.40.39)
http://dlcdnet.asus.com/pub/ASUS/ZenFone/A600CG/UL-ASUS_T00G-WW-2.21.40.39-user.zip










Push A File with ADB



you don't need to finish the command with rom.zip:

adb push ROM.zip /sdcard

is enough.. Also you should so the ROM.zip in the same folder as ADB, with the your picture.

Repartition Lenovo A850+

Prompt Repartition information
Dear Owners,
Here is the repartition possibility for the Lenovo A850+ MT6592.

Before you do any chages, you have to know:
This is not for noobs, even if the packages were tested.

I do not take responsibility for any damage that can be caused!

In the case of the potential clones (A850s, A850c, A850p and who knows what fakes there are), this method may cause permanent damage!

Background.
The Lenovo A850 + MT6592 telephone’s ROM is approx. 4GB. This is the total internal storage, which is mentioned so that "4GB ROM"

What does it really mean for us?
The whole eMMC contains many partitions and other ROM-parts – including boot records, recovery, nvram, etc...

What is important is that we’ve got 2,1GB storage for installing appication (it is the internal storage menuitem in the settings --> storage).

Well, after the introduction of the change.
In stock partition table the system partition is 1,2GB, which is not really necessary.
Why?
The Lenovo ROMs usually need approx 800MB of storage, the other 400MB are free. And the uses do not use that. If this free space is added to the data partition, the storage for installing the applications can be extended to 2,5GB.
This modification does not affect the system stability.
The AOSP rom (this thread) does not need more than 450MB. For this reason the data partition can be enlarged – in extreme case - up to 3GB; in the same time the system partition is reduced to 450MB.


The following steps you need to do:

1, If you have not got a complete system backup, then a do it first.
You can do it with MTKDroidTools (by rua1) or SP Flashtool readback, or use dd command.

Without making a complete backup the modification of the phone is a suicidal action...

2, CWM recovery on your phone
It is very important that the following be CWM recovery on your phone!
CWM Recovery 6.0.1.2 by Cappa72 - this is a ported recovery,
where the product description fits the phone. There may be other recoveries from some source, in which you can find inappropriate product description. In this case the modification scripst will be stopped.
If you do not know how you can install CWM, you need to think whether you need these modifications either.
Important that PhilZ recovery will not work well for this repartition!

3, Download Packages
CWM
Repartition script 2.6GB
Repartition script to 2.8GB – only for AOSP ROM!
Repartition script to 2,94GB - only for AOSP ROM!
Restore to factory partition

The zip packages must not be decompressed!
These have to be downloaded and then copied onto your physical SD card – I would recommend the root directory of the SD card.
Considering that the A850+ has not got real internal SD card, usethe physical SD card during the change!


4, Applying the changes
4.1 Do a CWM backup as a minimum.
It is really necessary to do it first because this is the basic backup, from which you will be able to restore the system.
If you do not do it, you can loose your system, and your phone will not be able to start.
Skipping save is approx. equals suicide (phone-killing).

4.2 Enlarge data partition to 2.6GB
Install the Lenovo-A850+_data-repart-to-2.6GB_v1.zip from CWM.
Login to CWM
Install zip from SD card -> choose zip from sdcard -> browse to the
Lenovo-A850+_data-repart-to-2.6GB_v1.zip file and -> (among many NO) YES.
This rewrite the partition table in seconds.
Go back to the main menu of CWM back button or the ++++ Go back ++++ menu.

Now, you need to reboot the recovery.
Advanced -> reboot recovery
After the recovery restart, there are error messages on the scree.
Do not worry about that, it is normal (the recovery wants to access the partitions, but it does not find them)
Next step is the format actions.
We need to format the following 3 partitions:
system
cache
data
The system can be formatted in the CWM.
mount and storage -> format system -> YES
mount and storage -> format cache -> YES
mount and storage -> format data -> YES
(The cache and the data can be formatted also by wipe data/factory reset menuitem in the main menu of the CWM)

Here, the repartition has been done, BUT!
Considering that the system was formatted, a simple reboot is not en‪ough: there will be nothing on your phone.
You need to restore your CWM backup that you saved right before the modification.
Use Backup and Restore -> Restore -> Select the right date -> YES
After restoring your backup, you can safely reboot your phone.
If it boots, then you worked well.
Enjoy!


4.3 Restore the partitions to stock
You need the Lenovo-A850+_data-repart-to-STOCK_v1.zip file and you need to install it via CWM.
See 4.2 instructions.


4.4 Enlarge data partition to 2.87GB
Lenovo-A850+_data-repart-to-2.8GB_v1.zip file and you need to install it via CWM.
See 4.2 instructions.


4.5 Enlarge data partition to 2.94GB
Warning! This is only for Vanilla AOSP, if the system partition does not exceed the limit of 450MBytes (471859200 bytes). You have to check it with root explorer, or your favourite explorer.
You need the Lenovo-A850+_sys450-data2.9GB_v1.zip file and you need to install it via CWM.
See 4.2 instructions.


Be careful and good luck!

If you are stucked in any point of the modification, ask in this thread. Do not send me private messages. The forum has got its own power: many people read it and you do not need to wait for one person. It is a community.

Other small tricks will be coming soon...

-------------------------

Credits:
bgcngm, who compiled the base of the CWM 6.0.1.2 recovery
bgcngm, who prepared the mtktools
ebr1 modification by cappa72
Thanks to tirta.agung who explained the background of the boot record files.
Attached Thumbnails
Click image for larger version

Name: A850+sys500MB-data2.87GB.jpg
Views: 2304
Size: 55.8 KB
ID: 3139342  
L

TWRP 2.8.7.0 For Asus Zenfone 5 & 6

TWRP 2.8.7.0 For Asus Zenfone 5 & 6
build from cm12 source and omni android_bootable_recovery tree
Special Credit to TEAMWIN recovery

For Any Question About This Topic please post here -> Q & A TWRP 2.8.6.0 For Asus Zenfone 5 & 6 


Do At YoUr OwN RISK

Note: you must unlock bootloader in order to boot in recovery thanks bro TheSSJ , Izonk and elol 


twrp zenfone5

Better Custom Recovery that we can use daily
Responsive touch thanks to quanganh2627 for the cm patch

Initial build if you found some bugs please report here

NOTE: if you lost your installed application you need to factory reset or wipe data/cache do at your own risk i warn you

Tips and tricks

Use the stock lollipop or kitkat update-binary for building flashable zip or use busybox for mounting
To take a screenshot hold volume down and power
To make adb on system it need to be mount, goto mount->check system partition
MTP is working you can mount usb storage plug usb in pc and goto recovery mount->usb storage

WHATS NEW

BUILD 3 Update TWRP 2.8.7.0 from omni Source

For Asus Zenfone 5

* This build is for LOLLIPOP version i don't try on KITKAT because we
testing to build cm 12.1 from lollipop files (still not enough for flashing cm error update-binary but in normal rom it work perfect)
* Add Superuser or Root for unrooted devices is now working
* flash boot.img OK
* flash fastboot.img OK
* Disable Signature Check for Flashing Files
* Adb is now build from source thanks to CM patch for Intel
* Flashing Files is now working tutorial below post #2

Download Auto installer for TWRP 2.8.7.0 https://www.mediafire.com/folder/ots...Auto_Installer

For Advance User Download The Attachment bellow TWRP2870-zenfone5.zip extract and flash in droidboot via fastboot

Lost Droidboot
If you came to lollipop and after using auto installer and your Droiboot change to Kitkat version Flash The droiboot.img to Droidboot via Fastboot command download Droid-FlasherL.zip below and flash it manually in droidboot

Splash Screen Become White on Kitkat Version? flash the splash.bin on droidboot follow the command below and download the slash.zip extract to get the splash.bin

Code:
fastboot flash splashscreen splash.bin
For Asus Zenfone 6 

Unlock Bootloader for asus Zenfone 6 here dnx_fwr_ctp_a600cg.bin ifwi_ctp_a600cg.bin from shakalaca

Now Working on Asus Zenfone 6 Thanks To elol for testing and inform that now TWRP is working on Zenfone 6
Download TWRP-2.8.6.0-Zenfone6.img.tar below and extract the twrp and flash in your droidboot Note in Asus Zenfone Must unlock your Bootloader and Flash The TWRP

DOWNLOAD 

BAT Auto Installer TWRP+material+WW_3.23.40.52.rar Thanks to Izonk Deathsilence for auto installer
Recovery image only BUILD2-TWRP-2.8.6.0-Zenfone5.img

* Attach bellow extract the BUILD2-TWRP-2.8.6.0-Zenfone5.img.tar and flash in droidboot. Bootloader must unlock

To root your device Download BETA-SuperSU-v2.49.zip
Stock recovery lollipop 3.23.40.52 WW 
Material TWRP theme from here

Source
https://github.com/knone1/android_device_asus_a500cg
https://github.com/knone1/android_bo..._recovery-twrp

Thanks to
@TWRP Team
@shakalaca
@quanganh2627
@TheSSJ for the boardconfig thanks bro!
@social-design-concepts
@z31s1g for TWRP Material Theme
@Izonk Deathsilence for creating Auto installer for this TWRP
@elol for testing and inform that now Asus Zenfone 6 have a proper TWRP
Attached Files
File Type: zipTWRP-2870_Zenfone5.img.zip - [Click for QR Code] (15.21 MB, 9634 views)
File Type: zipDroid-FlasherL.zip - [Click for QR Code] (14.56 MB, 6816 views)
File Type: zipsplash.zip - [Click for QR Code] (62.9 KB, 1248 views)

How To Install ADB On Windows [Full Guide]

How To Install ADB On Windows [Full Guide]

ADVERTISEMENT
Below is a guide on How to install ADB (Android Debug Bridge) successfully on windows.
To know what is ADB click here.
 Install ADB with SDK

– Step 1
Make sure that the required drivers for your android device are properly installed on your PC. If you’re not sure then download and install the latest versions from your device manufacture’s website. Below are the links to download software of various manufacturers. Choose yours and install the required software.
Samsung Kies |   HTC Sync |   Motorola |   LG
– Step 2
Download and install the Android SDK (Software Development Kit) Starter package fromhttp://developer.android.com/sdk/index.html.
Among the two choices for windows there, you can install by any option. The two options are explained below. Choice is yours.
  1. An “android-sdk_rXX-windows.zip” file which you can extract to any place on your PC and the adb program will work from there. For easiness with commands, I’d recommend you to extract it to C:
  2. An “installer_rXX-windows.exe” file which easily installs ADB on your PC like any other program. However it downloads some Java stuff which is really not needed for working with adb, and it also takes a bit longer to install. If you want adb installed on your PC without any efforts of yours like extracting then go for .exe file to install adb.
With the release of version 8 (Android 2.3) of the SDK, adb has been removed from the starter package. So if you’ve downloaded and installed any earlier version then you can skip step 3 and jump to step 4.
– Step 3
For adb to work on version 8 of the SDK Starter package we have to add Platform Tools part to the SDK. Below are the steps:
  1. Open root directory of the SDK (for e.g. if you’ve installed or extracted it on:/ then go to this address “c:Program Filesandroid-sdk-windows”
  2. Find “SDK Manager” and double-click on it to execute.
  3. It will check for updates on the Android website, and a pop up window will appear showing a list of available downloads. Just add the “Android SDK Platform Tools” and reject everything else
– Step 4
Add Path variable to avoid long lines of commands every time you want to run adb. Below are the steps:
  1. Right-click on “My Computer” and select “Properties”. Now under the “Advanced Tab” select“Enviroment Variables”
  2. Scroll and find the “Path” variable from the list. Double-click on it to edit it.
  3. Now add the full path of the “tools” and “platform-tools” folders of the SDK to your path. For e.g. on my computer, I had it installed in — C Drive – Program Files – Android – android-sdk. So, I put this in the Path (don’t put any space on either side of the semi-colon mark (;) which separates the pat of ‘tools’ folder and ‘platform-tools’ folder)  — “C:Program FilesAndroidandroid-sdktools;C:Program FilesAndroidandroid-sdkplatform-tools”
– Step 5
On your Android device go to Settings->Applications->Development and make sure that “USB Debugging” is ticked. It’s essential for ADB to work!
Now plug your phone into your PC (using original cable that’s supplied by your manufacturer is recommended when working with ADB). If a window pops up saying “installing drivers” then wait for it to complete installation
– Step 6
Open command prompt from the menus, or Open “Run > and type cmd” to execute Command Prompt
Now insert the following code:
C:>  adb devices
This should display something like the following :
List of devices attached
XXX12345    device
If you can see your device in the list then congratulations! You’ve done well. You are now good to start using adb. Enjoy!
If it’s NOT appearing in the list make sure that drivers are properly installed and you’ve enabled “USB Debugging” as told in Step 5. If problem persists, let us know in comments.
Thanks to XDA member steviewevie for his detailed post here.
Follow on Google+

UNLOCK BOOTLEOADER ZENFONE 5



well, in your situation, if you have carefully followed instructions, read all the posts, tried it and doesn't work for you. Your last resort would be
UPDATE 2014 Aug 28: UNLOCK BOOTLOADER
Please update firmware to latest 1.17 before process. ***** WARRANTY VOID *****
Zen5: http://dlcdnet.asus.com/pub/ASUS/Zen...atform_rel.zip
Zen6: http://dlcdnet.asus.com/pub/ASUS/Zen...atform_rel.zip

but BE SURE TO UNDERSTAND WHAT YOU'RE DOING.

[How to] Change SKU. Switch from WWE to CHT, TW, ecc.. and vice versa.



Introduction.
Sorry for my English, if I wrote something incorrectly, correct me! :)
Make sure you have installed the Asus's driver. If you have no idea or do not know how, ask.
I used ADB Android SDK (http://developer.and...x.html#download , it is located in sdk\platform-tools), make sure ADB recognizes the PF2 before.
The command you type in the terminal:
adb devices
I have run ADB from Windows, but if you use Ubuntu (or Linux in general) basically the syntax is the same.
If you have never sent a file via ADB in recovery, give it a try with any file before proceeding with the guide, so you know what you're doing when you get to step 4 and, above all, if you fail you will not formatted PF2 in vain.
The command you type in the terminal:
adb push filename.extension /data/media
"adb" is the name of the exe file in the folder where you execute it, you can also write adb.exe is the same;
"push" is the command that sends the file;
"filename.extension" is the file you want to send (example update.zip). The file to be sent must be in the same folder as adb.
"/data/media" is the destination path where the file will be copied. In our case that is the internal memory of the PF2.
Obviously before starting any command you have to move to the folder containing the file adb.exe (sdk\platform-tools if you have downloaded the Google ADT)
The PF2 must have the original recovery.
I personally changed SKU from WWE to CHT and vice versa before writing this simple guide.
My PF2 had the bootloader unlocked when I made the change, it should work with the bootloader locked, but my advice is to unlock it before you play because if something goes wrong, there is a chance to do something through fastboot for revive him.
Here we go:
1. Copy to the phone's internal memory the firmware you want to install, then reboot into recovery.
2. Select "apply update from external storage" and choose the zip file to flash.
At this point the recovery changes the partition table and then restarts.
On reboot we will have a nice "Installation aborted", this because, being changed the partition table, the recovery can not find the file to flash as it the partition containing the data has been reformed losing its contents. So you will need to copy the file again via adb.
3. Select "wipe data / factory reset"
You need to do a wipe, because it formats the partition where we will send the file. Having just changed, the partition has not a file system and so it must be formatted to save something on it.
4. Send via adb the firmware:
adb push xxxx.zip /data/media
5. Wait until the firmware is sent to PF2. ADB has spent 148 seconds to send the WWE (~ 713 Mb) and 172 seconds to send the CHT (~ 813 Mb).
You will not see any progress bar, so do not panic and just wait for the terminal will show the message sending done.
6. Select "apply update from external storage" and choose the zip file to flash.
The recovery will restart again, but this time the partition will not be changed so it will proceed with the upgrade.
Finished updating the PF2 restarts.
I suggest you do a wipe after the update in order to have a clean installation.
It 'important to note that when you make a change from one SKU (WWE, TW, CHT etc ...) to another one, it goes beyond the point 2 only if the recovery changes the partition table.
If you have any doubt, ask, I'll be happy to update some step in more detail.
I hope you enjoy it. :)