Friday 29 January 2016

KITCHEN ANDROID

dsixda's Android Kitchen

Compatible with Windows (Cygwin) / Linux / Mac OS X


Introduction
  • This is a tool for those who want to start learning how to make custom ROMs, or who just want to save some time with their ROM customization.
  • My goal is to make your life easier, and, at the same time, help you learn about the Android OS.
  • The kitchen will not automatically turn you into a developer. You are not programming anything or building a ROM from the ground up. The kitchen merely presents a user-friendly interface to hide all the rough details. However, this may be the push that gets you into development in the future.
  • A little bit of prior UNIX command-line knowledge would be useful to get started with the kitchen, but the help guides should be enough for a newbie. Knowledge of command lines is always important if you ever want to get involved in Android or development.


Code:
===================================================================
 Android Kitchen - by dsixda (xda-developers.com)
===================================================================

Main Menu

 1. Set up working folder from ROM
 2. Add root permissions
 3. Add BusyBox
 4. Disable boot screen sounds
 5. Add wireless tethering
 6. Zipalign all *.apk files to optimize RAM usage
 7. Change wipe status of ROM
 8. Change name of ROM
 9. Check update-script for errors
10. Show working folder information

Advanced Options

 11 - Deodex files in your ROM
 12 - Add task killer tweak for speed (stock ROM only)
 13 - Add /data/app functionality
 14 - Add Nano text editor + sysro/sysrw
 15 - Add Bash (command shell)
 16 - Add Apps2SD
 17 - Add /etc/init.d scripts support (busybox run-parts)
 18 - Add custom boot animation functionality
 19 - Porting tools (experimental)
 20 - Tools for boot image (unpack/re-pack/etc.)
 21 - Unpack data.img
 22 - Sign APK or ZIP file(s)
 23 - Convert update-script or updater-script
 24 - Miscellaneous optins / Plugin scripts

99. Build ROM from working folder
00. About/Update kitchen
 0. Exit
THIS PROJECT IS RETIRED.
Quote:
This project is retired as of 2013, as I have become overwhelmed with the number of devices to support, the demand, bad health, and the constant requests for help, especially with a new addition to the family and busy life. Unfortunately I am still suffering from a torn scapholunate ligament in my hand that I incurred in late 2010 as a direct consequence of the extra time I spent on the kitchen on my laptop. Thus I cannot spend time on these kinds of activities on a regular basis.

If you need help with your device, please ask in the appropriate device forum. I just want to request people to stop asking me about the kitchen in my posts in other xda-developers threads or Facebook groups that are not related to the kitchen; it is not fair to me or other users in those threads. I have not worked on the kitchen since spring 2013, and have moved on.

This all doesn't necessarily mean the kitchen won't work anymore in the future. Please refer to the information in this post for how to perhaps get newer devices to work with the kitchen. I really hope this kitchen helps you out. If you want to, send me a tweet or hit 'Thanks' at the end of this post (or whatever else) to let me know it worked out for you.

Thanks for your support!

Supported devices

Help

ALL INSTRUCTIONS, FREQUENTLY ASKED QUESTIONS, AND HELP - Posts #3 and #4
Release Notes - Post #2
Download optional plugins - Post #5
Acknowledgements - Post #5
General questions about Linux/Mac/Cygwin - Use Google


Download Kitchen

Please be aware that this project is semi-retired due to my bad health, family and life in general. I cannot keep up with updates all the time. Please read the important info above, all your answers should be found there. Download link is below. Have fun and I hope you support my work!

Support my work

DONATE VIA PAYPAL
Optionally send me a donation if you found my work useful (will go towards medical expenses, toys for my kids, etc.).
This is just a voluntary token of appreciation and not meant to be pre-payment for something that you want me to do.

FOLLOW ON TWITTER
Follow news about the kitchen on Twitter

BACKUP USING CYGWIN


This guide is intended to make a full backup of your android phone (the entire memory block with all partitions) or a single partition (including sdcards, etc) directly to your computer, in either
  • Block level (with dd): for single partitions or whole memory block (all partitions in one piece). The backup always has the same size which is the size of the partition.
  • File level (with tar): only for individual partitions. This only includes files and folders, so occupies much less space, depending on how much filled is the partition.
It can be done with the phone powered on or from ClockWorkMod Recovery (from both ADB works, while in Fastboot doesn't so won't apply). Unless specified the commands meant to be used from Windows. For Linux and Unix is similar.


REQUIREMENTS
  • Rooted Android Phone
  • Busybox installed on your phone
  • If you are using Linux / OS X you have native tools, for Windows download Cygwin, and install with it netcat, pv and util-linux. Get them from Cygwin's setup.exe
  • ADB installed.
  • Make sure adb.exe is in your windows' path. See here and here, or use Path Manager.
  • Android phone with USB Debugging enabled, and the proper drivers installed on Windows so the phone is recognized. Typing 'adb devices' on a terminal should show your device.


PARTITION IDENTIFICATION
You now have to identify the partition or block device that you want to backup. For a single partition you can use either tar or dd, while for the entire memory block you can only use dd.
For example, on Galaxy Nexus you have the list of partitions here and for Galaxy S2 here.
Usually on android, the entire block containing all partitions is located at /dev/block/mmcblk0 and the data partitions is a subpartition of it. You can push parted with GPT support to your device and see all information on a partition or block.

Whole phone memory -> /dev/block/mmcblk0 (may vary, in some phones this is the sdcard)
Subpartitions -> depends on each device. Usually at /dev/block/platform/dw_mmc/by-name/ there are listed by name linking to the real device.



Back up of the whole memory block (via adb)
Connect the phone in ADB mode and unlock the screen. 
Open one Cygwin Terminal and enter (replace mmcblk0 if needed):
Code:
adb forward tcp:5555 tcp:5555
adb shell
su
/system/xbin/busybox nc -l -p 5555 -e /system/xbin/busybox dd if=/dev/block/mmcblk0
You will see the cursor blinking at the left. Now the phone is waiting to send the block over the network.

Open another Cygwin terminal and type:
Code:
adb forward tcp:5555 tcp:5555
cd /path/to/store/the/backup
nc 127.0.0.1 5555 | pv -i 0.5 > mmcblk0.raw
You will see how the image size is growing until it finishes. Now you have the whole phone backed up in raw format. You can see the contents of the GPT partition with gptfdisk tool, available for windows, linux and such. See official website and sourceforge to get it. You can do it the same from ClockWorkMod Recovery but you have to mount first the /system partition since the busybox included with clockworkmod does not come with netcat and you have to use the one from the system partition.
With further linux tools you could edit or extract single partitions from the whole block.

You can use adb via wifi as well with applications like WiFi ADB.


Back up of the whole memory block (via wifi)

Original post: [Q] Nandroid directly to computer w/o sdcard

We need to install a FTP server on the computer or the other device, configure a user with a password if we want to, and set some port. It uses by default 21 but this example uses 40. We must set a home dir for the user with write permissions.

Usually is a good idea to put myfifo in /cache not in /data because we may overwrite sensitive data in case we want to use that raw image for data recovery.

Open one Cygwin terminal
Code:
adb shell
su
mkfifo /cache/myfifo
ftpput -v -u user -p pass -P 40 COMPUTER_IP block.raw /cache/myfifo
Open another Cygwin terminal
Code:
adb shell
su
dd if=/dev/block/mmcblk0p12 of=/cache/myfifo
Tips:
- Fifos only can be made on linux native filesystems, for example on a FAT partition is not possible.
- Reading from a partition does not modify it.

Now check on Filezilla Server the speed


Back up of the whole memory block (USB tethering, Wifi tethering)
To use tethering you have to disconnect the computer from all networks and connect it only to the phone with the type of connection you want.
Once you connect it, you can view the IP of the computer and the IP of the phone from connection properties. The ip is the computer ip and the gateway is the phone's ip.
  • Wifi Tethering: Computer <---Wifi---> Phone <---3G---> Internet
  • USB Tethering:
    • Computer <---USB---> Phone <---Wifi---> Internet
    • Conputer <---USB---> Phone <---3G---> Internet
This is exactly the same as via wifi, except that the transfer speed is much higher because the computer and the phone are directly connected, instead of using a router as a gateway. In this case, the gateway is the phone. USB tethering has the highest transfer rate.


Back up of a single partition (raw = every bit of the partition)
It is exactly the same as the the previous but replacing mmcblk0 by the corresponding partition. You can use in this particular case several software to read the partition from windows, depending on partition filesystem: DiskInternals Linux ReaderExt2ReadExt2 File System Driver for WindowsExt4Exploreplugin for Total Commander and ImDisk Virtual Disk Driver. You can also use recovery software on individual partitions like Recuva in combination with VHD Tool or command line tools included with operating systems.


Back up of a single partition (tar = only files and folders)
In this case, you need the partition mounted. To see the list of mounted partitions type on Cygwin Terminal
Code:
adb shell mount
Now you need to know where is mounted the partition you want to backup, for example the firmware is mounted on /system, which is the ROM.
In this case you will have to open three terminals, because of android limitations:

Open one Cygwin terminal and create a fifo, in /cache, for example, and redirect the tar there
Code:
adb forward tcp:5555 tcp:5555
adb shell
su
/system/xbin/busybox mkfifo /cache/myfifo
/system/xbin/busybox tar -cvf /cache/myfifo /system
We have to do it this way because redirecting the tar to stdout (with - ) is broken on android and will corrupt the tar file.

Open a second Cygwin terminal and type:
Code:
adb forward tcp:5555 tcp:5555
adb shell
su
/system/xbin/busybox nc -l -p 5555 -e /system/xbin/busybox cat /cache/myfifo
Open a third Cygwin terminal and type:
Code:
adb forward tcp:5555 tcp:5555
cd /path/to/store/the/backup
nc 127.0.0.1 5555 | pv -i 0.5 > system.tar
You can browse the tar file with Winrar, Total Commander, PeaZip and almost any compression tool. Note that you shouldn't extract files or edit it since the tar format saves the permission and owner data for each file, that is lost when extracted to FAT / NTFS partitions and you will mess things when restoring.

LINKS

Wednesday 27 January 2016

Samsung Tab 2

New Hard Reset / Factory Reset Method Using Odin3 Flasher:


In case you cannot put the Samsung Galaxy Tab 2 10.1 GT-P5100 Into Recovery Mode for any reason, Or the Normal Hard Reset operation does not solve your problem, Then you can use this new method to Hard Reset the device so easy, This New Method will reprogram the User area, And it can solve many software errors too, Just follow the steps below:

- Download and Extract Samsung Galaxy Tab 2 10.1 GT-P5100 Hard Reset File.
- Download Odin3 flasher.
- Put your phone into Download Mode.
- Run Odin3.exe
- Click on CSC button and Select the Hard Reset file.
- Connect your phone to PC via USB cable, And wait until Odin3 detects the phone.
- Click on Start button and wait until the operation done.
- Now your Samsung Galaxy Tab 2 10.1 GT-P5100 will be rebooted.
- Done.

Friday 22 January 2016

[BACKUP TUTORIAL] How to backup IMEI number in Asus zenfone 4 A400CG

WELL I KNOW THIS IS AN EARLY STAGE OF ASUS ZENFONE 4 DEVELOPMENT AND THIS TUTORIAL MIGHT NOT BE USEFUL FOR NOW, BUT WHO KNOWS, THE ZENFONE 4 in THE FUTURE MAY OR MAY NOT GET DEVELOPMENT 
SO EVERYTHING HERE IS JUST A PREVENTION OF LOSING imei/Radio OF THE ZENFONE 4, so after you cook a custom rom or do something which corrupts the imei/baseband, just take a backup and save it somewhere safe in your PC or CLOUD

SO ALL YOU HAVE TO DO TO HAVE A BACKUP OF YOUR imei NUMBER IS TO just type some lines in the keyboard


NOTICE:::::::****ROOT IS REQUIRED FOR THIS TO WORK****:::::
Instructions for backup
1. Download terminal emulator from GOOGLE PLAY STORE
2.Open terminal emulator and type
Code:
su
and press enter
3.You will be prompted to grant superuser permissions, select grant(This will work only if you have root)
4.Now type
Code:
dd if=dev/block/mmcblk0p3 of=sdcard/mmcblk0p3.img
now press enter and wait till some long texts appear.
5.Open file manager and goto internal storage and check if there is a file with the name
mmcblk0p3.img [Its size is about 21MB] now keep that file in some safe place where it wont get deleted

Instructions for restore imei
1.Open terminal emulator and type
Code:
su
and press enter
2.Now type
Code:
dd if=sdcard/mmcblk0p3.img of=dev/block/mmcblk0p3
now press enter and wait till some long texts appear.

DONE!!!!!
thats it..

Sunday 17 January 2016

Sony Xperia C (C2305) Rooting and Installing Custom Recovery topic

Sony Xperia C (C2305) Rooting and Installing Custom Recovery topic






Guys,
This is my First Post.
Sony Xperia C (C2305) Rooting!!!! :):):):):):):):):):):):):)


--->Tested and Working Properly.....:cowboy::cowboy::cowboy::cowboy::cowb oy:
Requirements:

1.Sony Xperia C (C2305) smartphone with minimum 80% battery level

2.A Windows PC

3.A Micro USB Cable

4.Xperia C device driver

5.Rooting Package

Follow these Steps Carefully:good::good::good::good::good::good:

1.First download the rooting package from below attachment to your computer.

2.Once you downloaded the package, just unzip the package and save them in your desktop.

3.After that enable the USB debugging option in your phone by navigating to the path Settings > Developer Options. In case, you could not see the developer option in your phone just go to “About Phone” and tap it 7 times on build number, there you can find that option.

4.After that connect your Sony Xperia C (C2305) to the computer by using USB cable.

5.Once your computer recognize your device just run the Sony Xperia C Root.exe that you have extracted earlier and save the same in your desktop.

6.Allow the rooting package to root your smartphone.

All the credits goes to its developer:p:p:p:p:p:p:p

Enjoy Sony Xperia C users:cowboy::cowboy:

Now Rooting is done U can see the Kinguser app in your phone:good::good::good::good:


Install Custom Recovery for all Xperia C devices

1) Download recovery.img from below

2) Put recovery.img to your phone's memory(not into folder)

3) Download [ROOT] Rashr - Flash Tool
from play store and open, click Recovery Update from storage and choose your file.
It is done .:cool::cool::cool::cool::cool::cool:

Now you can flash any custom rom using this recovery!!!!!:cowboy::cowboy:
Feel free to comment if u guys stuck anywhere!!!
Enjoy!!!

Thanks








Saturday 16 January 2016

Sony Xperia Acro S [LT26W] Jellybean [6.2.B.0.200] Root

Sony Xperia Acro S [LT26W] Jellybean [6.2.B.0.200] Root



acro s 




Download Jellybean Firmware
LT26w v4.1.2(6.2.B.0.200)   Password is MMAS
flash this firmware if you have already not got the OTA update. 

Bootloader should be unlocked for this procedure.
To check:
Dial *#*# 7378423 #*#*   -> “Service Info” -> “Configuration“.
Bootloader unlock allowed – Yes << Then Bootloader is Locked
Bootloader Unlocked         – Yes << Then Bootloader is unlocked
To Unlock Bootloader
Open flashtool, click on unlock bootloader button, and done!!
or you can use the method on Sony developer site.

acro s kernel  =>  Download Link 
update-superSU-v 1.25.zip   =>    Download Link 

copy update-superSU-v 1.25.zip to your sd card


Save acro s kernel file in the flash tool’s firmware folder
Connect your phone to the PC in fastboot mode by pressing ( power off >> volume up Key) Press flash button on flashtool, select fastboot mode and press OK
http://www.myanmarmobileapp.com/wp-content/uploads/2013/06/x-j-1.png

In the Fastboot Toolbox, press “Select Kernel to Flash”
http://www.myanmarmobileapp.com/wp-content/uploads/2013/06/x-j2.png

Once completed flashing, safely remove flashboot phone and then go to recovery mode by pressing power and holding volume up key unlit it vibrates and notification LED lights up.
In recovery mode select  install zip from sd /external sd, select  update-superSU-v 1.25.zip Install, Reboot.

http://www.myanmarmobileapp.com/wp-content/uploads/2013/06/77.jpg
You should have root and SuperSU app installed.

All credits to a Burmese website (www dot myanmarmobileapp dot com) where I found this procedure. Although I cant read their text, I guessed my way through most of it and it worked for me!!!  

SONY XPERIA ARCO S CWM + TWRP

[Disclaimer] Do it at your own risk. I am not responsible for anything happened to your phone. 

Hi all, it's been a long time and finally we have JB on our device.

So here is a modified Stock Kernel with dual recovery (CWM + TWRP) and init.d support which I created based on DoomLord and Desperanto86's kernels

Credits:
1. Desperanto86 - for the twrp recovery (2.4.4)
2. DoomLord and FXP team - for cwm kernel (6.0.2.7) and too many things to mention

Link (do not mirror)
6.2.B.1.96 - http://www.mediafire.com/?nyd6iusho6kd848 
6.2.B.0.211 - http://www.mediafire.com/?5bplib92za7rpcr 
6.2.B.0.200 - http://www.mediafire.com/?fbxqlf0jbkv8bik 

Instructions:
1. Copy the downloaded file to the fastboot folder
2. Get into fastboot mode, and type:

Code:
fastboot flash boot kernel_62B196_acroS.elf
fastboot reboot

To get into CWM - Reboot your phone, press the volume up key a few times when the magenta led light appears
To get into TWRP - Reboot your phone, tap the screen a few times when the magenta led light appears

If you like it, please hit the [Thanks] button or you can buy me a beer 

Tuesday 12 January 2016

ALCATEL FLASH 2

http://www.androidcribs.com/2015/11/how-to-fix-bootloop-in-alcatel-flash-2.html

Sunday 10 January 2016

SAMSUNG ODIN COLLECTIONS

Download Odin Downloader Tool

DOWNLOAD ODIN V3.16 – Latest

SAMSUNG FIRMWARE SITES

http://www.tsar3000.com/Joomla/
http://www.sammobile.com

ALL SAMSUNG PIT FILE COLLECTIONS

PIT and OPS files:
We try to give you the most we can of Pit and Ops files to use with Odin flasher but you are taking the complete Responsibility to use them, So in case you are not sure what or how to use do not use any.

A300F: Download 
A300FU: Download
A300G: Download 
A300H: Download 
A300XU: Download 
A300XZ: Download 
A500F: Download 
A500FU: Download 
A500H: Download 
A500K: Download 
A500XZ: Download 
A700F: Download 
A700FD: Download 
A700H: Download 
B5330 - B5330B: Download
B5510 - B5510B - B5510L : Download
B5512 - B5512B : Download
B7510 : Download
B9062: Download
B9120: Download
B9150: Download
B9388: Download 
C101: Download 
C105: Download 
C115Download 
D700 : Download
E500F: Download 
E500H: Download 
E700H: Download 
G110H: Download
G130E: Download
G130H: Download 
G130HN: Download 
G130M: Download 
G310HN: Download 
G313H: Download 
G313HN: Download 
G313HU: Download 
G313HZ: Download 
G350: Download 
G350E: Download 
G355H: Download 
G355HN: Download 
G357FZ: Download 
G360F: Download 
G360G: Download 
G360H: Download 
G360HU: Download 
G360M: Download 
G360P: Download 
G386F: Download 
G386T: Download 
G386U: Download 
G530FZ: Download 
G530H: Download 
G710: Download 
G730A: Download 
G750A: Download 
G800F: Download 
G800H: Download 
G850A: Download 
G850F: Download 
G870F: Download 
G900A: Download 
G900F: Download 
G900FD: Download 
G900H: Download 
G900P: Download 
G900T: Download
G900T1: Download 
G900V: Download 
G901F: Download 
G3502: Download 
G3502C: Download 
G3502i: Download 
G3508I: Download 
G3509: Download 
G3509i: Download 
G3519D: Download 
G3606: Download 
G3608: Download 
G3609: Download 
G3812: Download 
G3815: Download 
G3818: Download 
G3819D: Download 
G5108: Download 
G5108Q: Download 
G5109: Download 
G5306W: Download 
G5308W: Download 
G5309W: Download 
G7102: Download 
G7105: Download 
G7106: Download 
G7108: Download 
G7200: Download 
GC100: Download 
GN120: Download 
I317: Download
I317M: Download
I337: Download
I337M: Download 
I435: Download
I435L: Download
I497: Download
I509U: Download
I510: Download
I515: Download
I527: Download
I537: Download
I545: Download
I699i: Download
I747: Download
I800: Download
I899: Download
I919: Download
I959: Download
I5500 - I5500B - I5500L - I5503 - I5508 : Download
I5510 - I5510L - I5510M - I5510T : Download
I5700 : Download
I5700E : Download
I5800 - I5801 : Download
I7500 : Download
I8150 - I8150B : Download
I8160: Download
I8160P: Download
I8190 - I8190N: Download
I8260L: Download
I8262: Download
I8262B: Download
I8268: Download
I8530 : Download
I8552: Download
I8552B: Download
I8558: Download
I8730: Download
I9000 - I9000B - I9000M - I9000T : Download
I9001 : Download
I9003 - I9003L : Download
I9010 : Download
I9060: Download
I9070 : Download
I9070P : Download
I9082: Download
I9082L: Download
I9100 - I9100M - I9100P - I9100T : Download
I9100G : Download
I9103 : Download
I9105: Download
I9105P: Download
I9128: Download
I9128E: Download
I9128V: Download
I9152: Download
I9158: Download
I9190: Download
I9192: Download
I9195: Download
I9195L: Download
I9200: Download
I9205: Download
I9208: Download
I9210: Download
I9220 : Download
I9230: Download
I9250 : Download
I9260: Download
I9268: Download
I9295: Download
I9300 : Download
I9305: Download
I9308: Download
I9500: Download
I9502: Download
I9505: Download
I9506: Download
I9507: Download
I9508: Download
J100F: Download 
J100FN: Download 
J100H: Download 
J100ML: Download 
L710: Download
L720T: Download
M819N: Download
M919: Download
M919N: Download
N750: Download 
N750L: Download 
N750S: Download 
N5100: Download
N5110: Download
N5120: Download

N7000 - N7000B : Download
N7100: Download
N7102: Download
N7102i: Download
N7105: Download
N7108: Download
N7108D: Download
N7502: Download 
N7505: Download 
N7505L: Download 
N8000: Download
N8010: Download
N8020: Download
N900: Download
N900A: Download 
N900P: Download
N900R4: Download
N900V: Download
N900W8: Download
N910A: Download 
N910C: Download 
N910F: Download 
N910H: Download 
N915F: Download 
N9002: Download
N9005: Download
N9006: Download
N9007: Download 
N9008: Download
N9008V: Download 
N9009: Download
P600: Download
P601: Download
P605: Download
P605M: Download
P605V: Download 
P900: Download 
P901: Download 
P905: Download 
P1000 : Download
P1010 : Download
P3100 : Download
P3110 : Download
P5100 : Download
P5110 : Download
P6200: Download
P6210 : Download
P6211 : Download
P6800 : Download
P6810 : Download
P7300 - P7300B : Download
P7310 : Download
P7500 : Download
P7501: Download
P7510 : Download
P8110: Download
R350: Download 
R380: Download 
R381: Download 
R382: Download 
R750: Download 
R970C: Download
S735C: Download
S970G: Download
S975L: Download 
S5280: Download
S5282: Download
S5300 - S5300B - S5300L: Download
S5301: Download
S5302: Download
S5303: Download
S5310: Download
S5312: Download
S5360 - S5360B - S5360L - S5360T - S5363 : Download
S5570 - S5570B - S5570L : Download
S5570I : Download
S5660 - S5660L - S5660M - S5660V : Download
S5670 - S5670L : Download
S5690 - S5690L : Download
S5830 - S5830B - S5830C - S5830L - S5830M - S5830T : Download
S5830I : Download
S6010 - S6010L: Download
S6012: Download
S6102 : Download
S6310: Download
S6310N: Download
S6310T: Download
S6312: Download
S6500 : Download
S6802 : Download
S6810: Download
S6810P: Download
S7262: Download
S7275R: Download
S7392: Download
S7500 - S7500L : Download
S7562: Download
S7580 - S7580L: Download
S7582: Download
S7710: Download
SC01C: Download
SC02B: Download
T110X: Download 
T111: Download 
T210 - T210R - T210X: Download
T211: Download
T311: Download
T999: Download
T2105: Download
V700: Download
W789: Download