PUSH ZIP FILES To SDCARD While in RECOVERY - Sony Xperia S, Acro S, Ion

SEND FILES THROUGH ADB When IN RECOVERY MODE
1. Connect phone in recovery mode to pc….
2. In TWRP mount menu select sdcard to mount
3. Copy the Rom.Zip(I want to push the Zip file which name is Rom.Zip) file to platform tools folder which can be found in sdk folder .
4. Now open command prompt and change the directory path to sdk\platform-tools.(mine platformtools path is C:\adt-bundle-windows-x86-20140702\sdk\platform-tools so check yours and change it to that path)
5. Now check wheather device is connected or not. type adb devices and press enter(if device not connected then goto www.adbdriver.com and download adb driver installer,its about 9 mb,then install it and run the program while your phone is connected in recovery mode and it will automatically detect your phone and click on istall adb driver(in this process your phone should stay connected as in recovery mode and internet is required) then move to next step
6. If device found connected type adb remount and press enter(it will give message remount succed)
7. Here you type the push command to push the file
adb push Rom.zip /sdcard press enter and it will send file to your phone.now you can flash the Rom.zip through recovery….
Hope it will help you…press thanx button if it helps you

Related

Help installing theme

This is the theme I would like to apply. Ive only installed ones in zip form, and i tried to adb push this but i dont have the correct commands or its not the right way to install? Please help me get this to work
http://forum.xda-developers.com/showthread.php?t=716727
To copy a framework-res.apk to your phone:
Edit: MAKE A NANDROID BACKUP BEFORE ATTEMPTING THIS
1. Boot into clockwork recovery (hold volume down and power while phone is off then choose recovery)
2. Plug the phone into the usb port on your computer.
3. In clockworkmod, scroll down to partitions and select it.
4. Select "mount /system"
5. Now copy the framework-res.apk file that you want to put on your phone into the sdk tools folder from wherever you downloaded it.
6. While you have the tools folder open on your desktop, hold shift and right click somewhere inside the folder. Choose "open command window..."
7. Type the following command:
adb push framework-res.apk /system/framework/
8. When it finishes copying, go back to your phone and choose "unmount /system"
9. Now go into the command window and type:
adb reboot
Once your phone reboots, you should have the replaced framework-res images.

[GUIDE] Mini guide to root Gnex manually

1. Download and install Samsung_USB_Driver_for_Moblie_Phones_v1_4_6_0.exe
Link to download: http://www.multiupload.co.uk/YXE6FWLFAR
2. Download and install Android SDK (http://dl.google.com/android/android-sdk_r16-windows.zip)
3. With the phone turned OFF, hold VOLUME UP + VOLUME DOWN and power the phone on. This will put you in bootloader mode
4. Using windows/cmd go to the folder where Android SDK was installed (make sure that the folder android-sdk/platform-tools/ contains fastboot.exe and adb.exe etc....
5. using windows/cmd go to the folder /android-sdk/platform-tools
From this folder try the command "fastboot devices" (do not include ") which should list the device connected to your PC.
6. First we have to unlock bootloader,
use this command to unlock bootloader > fastboot oem unlock
(warning.. you will loose all data)
After the bootloader is unlocked the device will reboot normally.
7. Once normally booted from the command prompt issue the commands given below (after each command press enter button)
Note: you need su and superuse.apk (which can be downloaded from here: https://rapidshare.com/files/1319181583/su.zip)
unzip the downloaded file in the same folder where fastboot.exe exist i.e /android-sdk/platform-tools/
adb root
adb remount
adb push su /system/bin
adb push Superuser.apk /system/app
adb shell chmod 06755 /system/bin/su
adb shell chmod 06755 /system/app/Superuser.apk
adb reboot
Done!... your device is now rooted.
it would be good to note that many people have issues with the initial android driver installation.
if you install the drivers, but the phone doesn't show up after a period of time, open control panel -> system -> device manager and look for any devices that have a yellow triangle error (no driver). right click and open properties, and manually select the driver, not auto! the next screen will give you an option to 'select from a list', do this, and find SAMSUNG, then select the latest drivers.
after this, it can still take a minute or two the first time for drivers to install properly, you usually can see the status of this in the usb system tray icon.
if you rebooted to the bootloader (power vol(+) vol(-)), from the command line, if you type "fastboot devices" it should list a device and serial number. if not, you need to go check your drivers, something is missing. also, don't forget how magical a windows reboot can be at times : )
cancerouspete said:
it would be good to note that many people have issues with the initial android driver installation.
if you install the drivers, but the phone doesn't show up after a period of time, open control panel -> system -> device manager and look for any devices that have a yellow triangle error (no driver). right click and open properties, and manually select the driver, not auto! the next screen will give you an option to 'select from a list', do this, and find SAMSUNG, then select the latest drivers.
after this, it can still take a minute or two the first time for drivers to install properly, you usually can see the status of this in the usb system tray icon.
if you rebooted to the bootloader (power vol(+) vol(-)), from the command line, if you type "fastboot devices" it should list a device and serial number. if not, you need to go check your drivers, something is missing. also, don't forget how magical a windows reboot can be at times : )
Click to expand...
Click to collapse
Hi
Thanks for this note which would help many users.
Hi, noob here.
First of all, thanks for the guide.
I have already unlocked the bootloader about a month ago (up to step 6), but would like to root.
Will my phone lose all data again if I root the phone now? I'm not even sure what this actually does, but would like to learn and mess around with it.
You will not loose data. Rooting gets access your system folders by pushing su and superuser through adb.
Hope it helps.
Sent from my Galaxy Nexus using xda premium
smohanv said:
Note: you need su and superuse.apk (which can be downloaded from here: https://rapidshare.com/files/1319181583/su.zip)
unzip the downloaded file in the same folder where fastboot.exe exist i.e /android-sdk/platform-tools/
adb root
adb remount
adb push su /system/bin
adb push Superuser.apk /system/app
adb shell chmod 06755 /system/bin/su
adb shell chmod 06755 /system/app/Superuser.apk
adb reboot
Done!... your device is now rooted.
Click to expand...
Click to collapse
Did you actually test that with a stock rom?
Because adb root will not work with ITL41F at least.
Code:
./adb root
adbd cannot run as root in production builds
Furthermore the chmod for Superuser.apk is totally bogus. No need to mess with it's permissions.
i think a better way is get su and SuperUser.apk from the developers (ChainsDD) site and install it with a temporary boot CWM to install it.
(these instructions are also from memory And i rooted my one from source, but that's a bit involved)
this would mean instead of step 7 do.
7. Download CWM into the same directory as fastboot
http://download.clockworkmod.com/recoveries/recovery-clockwork-5.5.0.4-toro.img (Verizon)
or
http://download.clockworkmod.com/recoveries/recovery-clockwork-5.5.0.2-maguro.img (GSM)
Make sure to get the right version for your device.
8. download http://downloads.androidsu.com/superuser/Superuser-3.0.7-efghi-signed.zip
onto the internal storage of the phone( "sdcard" )
9. With the phone turned OFF, hold VOLUME UP + VOLUME DOWN and power the phone on. This will put you in bootloader mode
10. again using windows/cmd go to the folder /android-sdk/platform-tools
From this folder try the command "fastboot devices" (do not include ") which should list the device connected to your PC.
11. Start CWM (without installing it)
fastboot boot recovery-clockwork-XXX-XXX.img
(use the right filename from step 7)
12. choose install update and select the zip from step 8.
You need to use volume up/down to navigate and power to select.

*URGENT* How to transfer zip file to internal storage?

I was supposed to install Android Revolution HD on my phone, but forgot to transfer the rom before doing a wipe.
I can access bootloader, and i need to know if its possible to transfer the zip file with ARHD to the phone somehow..
use adb push
Mount USB in ClockworkMod (5.8.4.0 or newer)
Install adb on your pc.
Connect phone to pc using the micro-usb and reboot phone into recovery.
Bring up a cmd window on pc (Click start on pc - and type cmd into the window that says "search programs and files")
In the cmd window that has appeared, cd to the directory where u installed adb - eg c:\adb
type adb push c:\myroms\myrom.zip /sdcard changing the filename on c to yours
BenPope said:
Mount USB in ClockworkMod (5.8.4.0 or newer)
Click to expand...
Click to collapse
That s the best and easy way...then u have manually as mentioned upstairs
Htc One X Venom ViperX Rom & Show-p Kernel

Pushing ROM via ADB.. success, however can't find the file in CWM

Dear XDA,
I recently wiped everything on my One X, everything apart from CWM.
After scouting the internet for a while I managed to:
1. Type adb devices & press enter (Your device should now be listed)...
2. Type adb shell & press enter (Wait for the "#" to appear)....
3. Type mount sdcard next to the "#" sign & press enter...
4. Now press CTRL+C (This should close shell and bring you back to "C:\")
5. Type adb push ROM.zip \sdcard\
I tried both pushing the rom to my \sdcard\ and \internal\
However, when going back into CWM I cannot find the files I just pushed into those directories. For the record ADB/CMD is showing that it has send these particular files to my phone.
What am I missing here? should certain mounts/formats perhaps be formatted or unmounted? I really got no clue here...
Thanks in advance!
try boot into recovery select mount sdcard. then you can now copy your rom from pc to sdcard.

How to root SM-T217T with Heimdall

Worked perfectly for my Galaxy Tab3 7inch from T-Mobile (SM-T217T). I used Linux, but should work the same way with Windows/OSX:
1. Download Heimdall (incl. frontend, if you use Linux).
2. Download recovery file (CWM -ClockworkMod) for SM-T217S or SM-T217T and extract the zip/tar file so you will get the recovery image file (you should get a file called recovery.img). See attachment for file.
3. Download SuperUser (for getting root access later on) and save it to your external SD card on your Galaxy tab. See attachement for file. Please don't unzip the file, save the zip file as it is on your SD card.
4. Put SDCard into your GalaxyTab
5. Connect your Galaxy tab to your PC via USB and start it up in Download mode: Power + Volume DOWN.
6. Open Heimdall (under Linux as root).
7. Go to tab 'Utilitites'.
8. Click on 'Detect'.
9. Choose destination file for PIT file and click on 'Download'.
10. Then change tab to 'Flash'.
11. Open your PIT file and click on 'Add'.
12. Choose recovery as partition name and add the CWM file.
13. Click on start (I prefer to automatically reboot the device after flashing recovery, so I won't activate any of the options next to the start button such as 'No Reboot', etc.).
14. Your device should now reboot. Once in Android, please power off your device.
15. Start your device with Power + Volume UP, so recovery mode will be invoked.
16. Choose the menu point ‘load from external SD card’ and execute SuperUser file – see attachment. This will actually root your device.
17. Reboot your device and you should be rooted now….
Cheers
Christoph
Enable auto-start up when plugged in
If you want to enable the Galaxy Tab 3 7" (SM-T217T) to boot automatically, when you plug it into the charger please follow these steps:
1. Download a command line tool for Android.
2. Change to root via command 'su'.
3. Change to directory /system/bin via command 'cd /system/bin'.
4. Give write permission via command 'mount -o rw,remount -t yaffs2 /dev/block/mtdblock1 /system'.
5. Make a copy of the file 'lpm' via command 'mv lpm lpm.orig'.
6. Create a new file with the name 'lpm' via command 'vi lpm' (this also open the vi text editor).
7. Press 'i' to get via into insert mode.
8. Enter the following line of code:
#!/system/bin/sh
/system/bin/reboot
9. Press 'ESC' and enter 'ZZ' to save the file and to quit the vi editor.
10. Give required permission to the file via command 'chmod 755 lpm'.
11. Remove write permission via command 'mount -o ro,remount -t yaffs2 /dev/block/mtdblock1 /system'.
12. Check, whether lpm and lpm.orig file have the same permissions via 'ls -l *lpm*'.
Cheers
Christoph

Categories

Resources