[Q] ADB and recovery mode - Galaxy 3 General

Firmware JP9, power-on to recovery mode => install update.zip => error can't mount sdcard => try to using adb for mounting sdcard manually but adb did not active.
One more thing, root using one click 1.5.5 OK for apps but can not achieve SU @ adb (and adb only work while boot into normal mode)
Any suggestion for install the update.zip from sdcard?

No more recovery for me either (I didn't flash the bootloader althrough).
When you use adb and type "su", the phone should prompt you a window.

Gsam101 said:
No more recovery for me either (I didn't flash the bootloader althrough).
When you use adb and type "su", the phone should prompt you a window.
Click to expand...
Click to collapse
for the same reason I can not update gps.conf with european settings, it says error message when I try adb

nastyba said:
for the same reason I can not update gps.conf with european settings, it says error message when I try adb
Click to expand...
Click to collapse
root your phone using super one click 1.5.5 (Run the soft first, and click root wait until the software said that waitting devices... plug your phone to PC using usb cable and wait more 2'' or 5'' . DONE! It's safe and you can unroot as well)
you can using some missing command by busybox (the easiest way in install titanium backup and click the problems? button in the right bottom it will automatically install new busy box to your phone)
adb shell
$su
#busybox mount -o remount,rw /system (change to your path to the gps.conf - with this command you can edit or replace the old file)
#busybox cp /sdcard/gps.conf /system/.../gps.conf
DONE
Good luk!

kenblat said:
adb shell
$su
#busybox mount -o remount,rw /system (change to your path to the gps.conf - with this command you can edit or replace the old file)
#busybox cp /sdcard/gps.conf /system/.../gps.conf
Click to expand...
Click to collapse
Or you can install "Root explorer" - RO/RW mount in 1 click + file explorer

kenblat said:
root your phone using super one click 1.5.5 (Run the soft first, and click root wait until the software said that waitting devices... plug your phone to PC using usb cable and wait more 2'' or 5'' . DONE! It's safe and you can unroot as well)
you can using some missing command by busybox (the easiest way in install titanium backup and click the problems? button in the right bottom it will automatically install new busy box to your phone)
adb shell
$su
#busybox mount -o remount,rw /system (change to your path to the gps.conf - with this command you can edit or replace the old file)
#busybox cp /sdcard/gps.conf /system/.../gps.conf
DONE
Good luk!
Click to expand...
Click to collapse
Thank you for your effort - I have rooted phone & Titanium backup installed and busybox installed after Titanium was launched first time.
I can not run Adb Shell
#su works OK
after "busybox..." it says error message
I cannot find root explorer on market
and finaly I was trying Terminal emulator and SUFBS and I still can not edit system/etc/GPS.CONF ((
any ideas please ?

angry_friend said:
Or you can install "Root explorer" - RO/RW mount in 1 click + file explorer
Click to expand...
Click to collapse
hi, where did you get it pls ?

nastyba said:
hi, where did you get it pls ?
Click to expand...
Click to collapse
google for blackdroid and there search for root explorer...

google for "android+ root explorer.apk download"

nastyba said:
hi, where did you get it pls ?
Click to expand...
Click to collapse
QR Code of the app:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
yeah I forgot, it's not free, but it worth 3.90$ to pay, trust me

Related

[Q] need adb help! - com.amazon.mp3.apk to /system/app

The second update failed. Phone stuck on oem recovery screen so I clicked home+power to see what was going on, and this is what I see.
Android system recovery <2e>
Use trackball to highlight;
click to select.
reboot system now [Home+Back]
apply sdcard:update.zip [Alt+S]
wipe data/factory reset [Alt+W]
wipe cache partition
-------------------------------
Finding update package...
Opening update package...
Verifying update pckage...
Installing update...
Verifying current system...
assert failed: apply_patch_check
("/system/app/com.amazon.mp3.apk", "c2a88c45aa6e99c0a0062620c5d2618ea620ef53", "ecbbf78fe9b3095692199f7e98edb93ef706ea44")
E:Error in /cache/e3671133717d.signed-opal-FRG83-from-DMD64.e3671133.zip
(Status 7)
Installation aborted.
Click to expand...
Click to collapse
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Any thoughts? Obviously I just have to reinstall AmazonMP3.apk from Titanium Backup and the update should apply, but was wondering if this error might allow me to copy the update files from the sd card or something? I'm waiting to reboot the phone in case anyone has any bright ideas.
I can't find my backup of amazonmp3.apk. Can anyone send it to me? It needs to be in /system/
Phateless said:
I can't find my backup of amazonmp3.apk. Can anyone send it to me? It needs to be in /system/
Click to expand...
Click to collapse
Here is one
wjsturgis3 said:
Here is one
Click to expand...
Click to collapse
Awesome, thank you! Now how do I get install it to /system?
Phateless said:
Awesome, thank you! Now how do I get install it to /system?
Click to expand...
Click to collapse
/system/app
ripgut said:
/system/app
Click to expand...
Click to collapse
When I go to the /system folder it's completely empty.
ripgut said:
/system/app
Click to expand...
Click to collapse
Mount /system first.
Binary100100 said:
Mount /system first.
Click to expand...
Click to collapse
Through terminal or adb? What exactly does the mount command do? I just installed adb last night and don't know how to use it yet.
Phateless said:
Through terminal or adb? What exactly does the mount command do? I just installed adb last night and don't know how to use it yet.
Click to expand...
Click to collapse
If you're using the Recovery, to add/remove the apps in /system you must first mount /system. To add/remove apps while the system is active you should use command (windows)/terminal (linux) to 'adb remount' and then you can 'adb push appname.apk /system/app'
Binary100100 said:
If you're using the Recovery, to add/remove the apps in /system you must first mount /system. To add/remove apps while the system is active you should use command (windows)/terminal (linux) to 'adb remount' and then you can 'adb push appname.apk /system/app'
Click to expand...
Click to collapse
Got my popup for the 2nd update and tried those commands and it says "no device connected."
My phone and computer also don't seem to recognize each. Is it possible the update is disable usb debugging??
It won't let me remount! I'm doing with the system on because I can't figure out how to do it through recovery.
I'm getting:
remount failed: Operation not permitted.
If I try push it says "read only file system."
Now what??
I'm a total noooooooob at this, somebody give me a clue, lol.
Phateless said:
Got my popup for the 2nd update and tried those commands and it says "no device connected."
My phone and computer also don't seem to recognize each. Is it possible the update is disable usb debugging??
It won't let me remount! I'm doing with the system on because I can't figure out how to do it through recovery.
I'm getting:
remount failed: Operation not permitted.
If I try push it says "read only file system."
Now what??
I'm a total noooooooob at this, somebody give me a clue, lol.
Click to expand...
Click to collapse
You must have root access to modify anything in /system directory.
Binary100100 said:
You must have root access to modify anything in /system directory.
Click to expand...
Click to collapse
I DO have root access, albeit on my oem Donut through Universal Androot. Rebooting in recovery and trying again yielded different results, but not quite success.
I finally used root explorer to copy the apk back to where it goes. Hopefully that's enough to satisfy the update check.

I'm going crazy here.

This has obviously been covered in DagentooBoy's thread - which is great.
http://forum.xda-developers.com/showthread.php?t=761045
But I tried it and it doesn't work, even with the SGS Unlocker, tried the WinXP (PC way) first.
The version I'm running is Android 2.1 update 1.
I get this when I try running it through the PC.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sometimes when I turn my phone on I get asked to enter the SIM pin, but I hit DISMISS and get into the phone. The next screen says "Phone Locked", but I swipe and enter the phone.
Will buying an unlock code from one of eBay unlockers work or not?
I feel like I bought a brick here. lol
Anyways, any input would be greatly appreciated. I'm not looking to do anything else to it other than unlock and use it for now. While I'm fairly competent with doing this tech-stuff, the Android stuff is a step above for me, so I wanna take my time to learn this all.
It's my first smartphone after using a Nokia 6265i for the past 5 years.
http://en.wikipedia.org/wiki/Nokia_6265 lol
So for me this phone is a treat as is, if only I can get it unlocked.
Thanks for your help and input.
It's because adb can't get to the file without root. Happened to me too. I just manually copied the nv_data.bin over to my computer using the standard usb mass storage and ran sgux on it.
Code:
C:\androidsdk\tools>adb shell
/ $su
#cp /efs/nv_data.bin /sdcard
#exit
#exit
then mount the usb storage, copy over the nv_data.bin to the folder with sgux.exe in it (i put mine in c:\androidsdk), then:
Code:
C:\androidsdk>sgux nv_data.bin
and with any luck you'll have it.
chui101 said:
It's because adb can't get to the file without root. Happened to me too. I just manually copied the nv_data.bin over to my computer using the standard usb mass storage and ran sgux on it.
Code:
C:\androidsdk\tools>adb shell
/ $su
#cp /efs/nv_data.bin /sdcard
#exit
#exit
then mount the usb storage, copy over the nv_data.bin to the folder with sgux.exe in it (i put mine in c:\androidsdk), then:
Code:
C:\androidsdk>sgux nv_data.bin
and with any luck you'll have it.
Click to expand...
Click to collapse
Okay, I understand a bit. but I'm not sure what all the coding is all about and how/what to do. You copied nv_data.bin from your phone to a location on the computer?
I set my Vibrant to mass storage and while it's not showing on MyComputer anywhere, the only thing that pops up is the microSD card with the movie on it.
Correct... instead of androidsdk it would be wherever you saved it..
Having one hell of a time accessing my phone via the computer.
It's connected, but no icon to click open or anything of the sort (inside MyComputer)
Ok, this is what I have on my screen now.
No EFS folder, no nv_data.bin, anywhere in the folders.
You need to use root explorer or adb(maybe astro) for access to your internal system directories. Just pull the file using adb like chui mentioned. If you aren't familiar with adb then I suggest you read up in the Vibrant bible.
lralexl said:
You need to use root explorer or adb(maybe astro) for access to your internal system directories. Just pull the file using adb like chui mentioned. If you aren't familiar with adb then I suggest you read up in the Vibrant bible.
Click to expand...
Click to collapse
Wanna suggest a link to this almighty Vibrant Bible?
Well I just looked through it and there doesn't seem to be a thread specifically about adb file system actions.
Just open a command prompt and "cd" to your android sdk tools folder.
example: cd c:\sdk\tools
type:
adb shell
su
cp /efs/nv_data.bin /sdcard
exit
adb pull /sdcard/nv_data.bin /nv_data
that should get nv_data.bin into your tools folder under the folder nv_data. then just move the nv_data.bin into the sgux.exe folder
I'll try this now, thanks Iral.
Trying to type what you put, I can't remember for the life of me how to enter multiple command lines in command prompt. Hitting ENTER executes the first line. But I'm supposed to type all that out correct?
One line at a time
Well, I installed the SDK toolkit, updated Java, done everything possible.
Been diligent and patient with this, but this Galaxy phone is about to enter the Galaxy.
Just typing adb shell (the first command) and I get this.
koooba said:
Well, I installed the SDK toolkit, updated Java, done everything possible.
Been diligent and patient with this, but this Galaxy phone is about to enter the Galaxy.
Just typing adb shell (the first command) and I get this.
Click to expand...
Click to collapse
Post the output of ls err ...
Code:
dir
Not following LQ, sorry?
koooba said:
Not following LQ, sorry?
Click to expand...
Click to collapse
The screenshot you've taken when you executed adb, go to the same folder (tools) and execute dir in MS-DOS window.
Need to see if adb.exe is there.
I hope this is the one you mean.
I reinstalled SDK into c:\androidsdk and this was found in the \platform-tools folder
koooba said:
I hope this is the one you mean.
I reinstalled SDK into c:\androidsdk and this was found in the \platform-tools folder
Click to expand...
Click to collapse
what happens when you connect your device to the usb port (usb debugging is enabled i presume), open the command prompt on your pc and issue
Code:
cd c:\androidsdk\platform-tools
adb.exe devices
lqaddict said:
what happens when you connect your device to the usb port (usb debugging is enabled i presume), open the command prompt on your pc and issue
Code:
cd c:\androidsdk\platform-tools
adb.exe devices
Click to expand...
Click to collapse
This happens (seems like it's good)
Good,
now try
Code:
adb.exe shell
And what was the original post about ?
lqaddict said:
Good,
now try
Code:
adb.exe shell
And what was the original post about ?
Click to expand...
Click to collapse
lol ya.
Well it runs, but it seems to stop with a blinking cursor after the $

Root with GingerBreak

Did any tried to root ur Xperia Arc (2.3.2) using GingerBreak??
As per desc:
This App was tested on Gingerbread (2.3.3) but might also run on Froyo and Honeycomb.
http://forum.xda-developers.com/showthread.php?t=1045204
Sent from my R800i using XDA App
NielDK said:
http://forum.xda-developers.com/showthread.php?t=1045204
Sent from my R800i using XDA App
Click to expand...
Click to collapse
thanks but is it working for XPERIA ARC !!!??!!!
xperiax10.awesome said:
thanks but is it working for XPERIA ARC !!!??!!!
Click to expand...
Click to collapse
The title says Play, Arc and Neo
Well, it works for my Arc nice and perfectly
cool, finally I rooted my xperia ARC
these are very simple steps(copied from different threads):
1. Install the attached apk: Gingerbreak-v1.00
after installing most people getting this error - "could not extract assets".
TO OVERCOME THIS, just copy the attached ADB.zip and extract it on your laptop (windows)
say at
E:\mobile_Xperia\ADB
goto above path in your cmd promt and types these lines (your phone should be connected to laptop in debugging mode)
E:\mobile_Xperia\ADB>adb shell rmdir /data/local/tmp
E:\mobile_Xperia\ADB>adb shell mkdir /data/local/tmp
NOW JUST INSTALL THE apk file again and click on ROOT
xperiax10.awesome said:
cool, finally I rooted my xperia ARC
these are very simple steps(copied from different threads):
1. Install the attached apk: Gingerbreak-v1.00
after installing most people getting this error - "could not extract assets".
TO OVERCOME THIS, just copy the attached ADB.zip and extract it on your laptop (windows)
say at
E:\mobile_Xperia\ADB
goto above path in your cmd promt and types these lines (your phone should be connected to laptop in debugging mode)
E:\mobile_Xperia\ADB>adb shell rmdir /data/local/tmp
E:\mobile_Xperia\ADB>adb shell mkdir /data/local/tmp
NOW JUST INSTALL THE apk file again and click on ROOT
Click to expand...
Click to collapse
Last night I have rooted my device in this way. Now the question - how to integrate it into FlashTool, as well as Busybox and xRecovery ?
xperiax10.awesome said:
cool, finally I rooted my xperia ARC
these are very simple steps(copied from different threads):
1. Install the attached apk: Gingerbreak-v1.00
after installing most people getting this error - "could not extract assets".
TO OVERCOME THIS, just copy the attached ADB.zip and extract it on your laptop (windows)
say at
E:\mobile_Xperia\ADB
goto above path in your cmd promt and types these lines (your phone should be connected to laptop in debugging mode)
E:\mobile_Xperia\ADB>adb shell rmdir /data/local/tmp
E:\mobile_Xperia\ADB>adb shell mkdir /data/local/tmp
NOW JUST INSTALL THE apk file again and click on ROOT
Click to expand...
Click to collapse
I only keep getting: No such file or directory....
Cim_XII said:
I only keep getting: No such file or directory....
Click to expand...
Click to collapse
Extract the ADB.zip into any folder, then inside that folder shift + right click and select Open command window here. In the command window enter: adb shell rm -r /data/local/tmp/* and then restart the gingerbreak app.
Chainfire said he will update the app in the next release to fix this issue
mikrokiwi said:
Extract the ADB.zip into any folder, then inside that folder shift + right click and select Open command window here. In the command window enter: adb shell rm /data/local/tmp/* and then restart the gingerbreak app.
Click to expand...
Click to collapse
On a mac, it won't work like that.
Cim_XII said:
On a mac, it won't work like that.
Click to expand...
Click to collapse
Of course not, is it the osx terminal or adb that gives you this error?
mikrokiwi said:
Of course not, is it the osx terminal or adb that gives you this error?
Click to expand...
Click to collapse
Os X terminal, when I run adb I can't type any commands in the command/terminal window. So I have to use Os X terminal.
Cim_XII said:
Os X terminal, when I run adb I can't type any commands in the command/terminal window. So I have to use Os X terminal.
Click to expand...
Click to collapse
Well, the zip wont work for OSX since its a windows executable You should try to get adb to work on your system (Im sure there are lots of guides), or just wait for the next release of the app.
mikrokiwi said:
Well, the zip wont work for OSX since its a windows executable You should try to get adb to work on your system (Im sure there are lots of guides), or just wait for the next release of the app.
Click to expand...
Click to collapse
I know that lol...
I got all the files and tools for Os X, but when I run ADB it goes into Os X terminal anyway, so I have to use it I guess...
It worked for me, got root on my Arc
Im getting this what am i doing wrong
Getting :
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
use rm -r /data/local/tmp
Ok...this not work....and i don't know why
I put adb file in a new folder.
I do Shift+right and open cmd
i write "adb shell rmdir /data/local/tmp" but at this point nothing happen..like cmd was freezed.
what I must do???
Arc must be connected with debug ON but in wich way?
Media transfer? SD card? or nothing???
lollylost100 said:
use rm -r /data/local/tmp
Click to expand...
Click to collapse
Nice one that worked
I tried this it works for me, my ARC rooted.
C:\mobile_Xperia\ADB>adb shell rm /data/local/tmp/*
C:\mobile_Xperia\ADB>adb shell rmdir /data/local/tmp
C:\mobile_Xperia\ADB>adb shell mkdir /data/local/tmp
Then run Gingerbreak-v1.00.apk
cheer
James

2.37 has been rooted!

I have tested it on my phone, it works perfect!
SORRY FOR MY BAD ENGLISH. I HAVE THE CHINESE WORDS ON MY PHONE, SO I DO NOT KNOW WHAT THE ENGLISH EXACTLY IS. I TRANSLATED THEM ON MYSELF, IF YOU DONOT UNDERSTAND MESSAGE ME.
1, you should FLASH RECOVERY TO YOUR PHONE, and that will not be talked here. lots of threads can tell you how to do it.(I HAVE PLACED ONE WAY TO DO IT ON THE SECOND PAGE)
2, unpack "root.rar" into your DISK C, and the folder must be "root"
3, now mark the "debug mode"( you can find it in application Settings) , connect your phone to your computer( just CHARGING MODE)
4, press win+R on your PC keyboard, and type in "cmd".
5, now we can see dos commond, you should type in the following commond one by one.
CD C:\root
adb shell
reboot recovery
6, now your phone should reboot into recovery. select mounts and storage. there select 3 items( mount /system, mount /data, mount /sdcard)
7, disconnect your phone, and connect it again. then type the following commonds into your PC. NOTE THE SPACE
adb push su /sdcard/su
adb push superuser.apk /sdcard/superuser.apk
adb push psneuter /data/local/tmp
adb shell chmod 777 /data/local/tmp/psneuter
adb shell /data/local/tmp/psneuter
adb shell
8, if you can see "~#" on your screen, you have made it. I have encountered a error on the 5th commond but it seems like ok, afterall I have been rooted.
9, you still have some commond to type.
cp /sdcard/su /system/bin/
cp /sdcard/Superuser.apk /system/app/
ln -s /system/bin/su /system/xbin/su
chmod 06555 /system/bin/su
10, now on your phone you should still have the recovery, unmount the /system, data, sdcard.
11, reboot your phone, and enjoy it!
Thanks very much for the help of pxw816, without him I still in dark.
is this for real? :\
adkz said:
is this for real? :\
Click to expand...
Click to collapse
Sorry for forgeting to upload the file. It works on the chinese rom, I think all rom can be rooted this way...
Anyone willing to see if this would work on a Telus Desire HD with 2.43?
Anyone tried this ?
I'm quite sure this only works on the Chinese ROM. But I might give it a try
I have tried this, but it does not seem to work with my version. The recovery boot doesn't seem to work correctly, I believe this is the problem.
torkaberry said:
I have tried this, but it does not seem to work with my version. The recovery boot doesn't seem to work correctly, I believe this is the problem.
Click to expand...
Click to collapse
Same problem, booting into recovery just shows this...
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I think this is the second method posted that only works in China
CuBz90 said:
Same problem, booting into recovery just shows this...
I think this is the second method posted that only works in China
Click to expand...
Click to collapse
Seems like the chinese OTA's have an unpatched exploit, maybe one of the mods would like to change the title of this thread.
hey man,u say u got 2.37 rooted and then when i looked at the first line u said u need to flash recovery
u can't flash recovery if u don't have s-off so u have to be rooted in the first place,
i guess u already have a rooted device with s-foof so u could install recovery
any way thanks for ur help
CuBz90 said:
Same problem, booting into recovery just shows this...
I think this is the second method posted that only works in China
Click to expand...
Click to collapse
Hey guys, you cannot use the official recovery, flash a recovery that is usually used to install a rom...My recovery is 3.0, I don't know if 2.0 is ok....
evanbigfan said:
hey man,u say u got 2.37 rooted and then when i looked at the first line u said u need to flash recovery
u can't flash recovery if u don't have s-off so u have to be rooted in the first place,
i guess u already have a rooted device with s-foof so u could install recovery
any way thanks for ur help
Click to expand...
Click to collapse
I'm not quite sure about that, for people who do not have a recovery may place the following file on your TF card( DO NOT PLACE IT INTO ANY FOLDER!), and shut down your phone(I MEAN COMPLETELY OFF, OR YOU CAN PULL OUT YOUR BATTERY). Then try to press the volume down button and the switch button at the same time to start your phone. See if the recovery can be installed automatically or not. if not, I'm afraid you have to downgrade to root and get a S-Off. If you do not know how to downgrade, post here, and see if i can give you any help or not.
This will never work, you will need Root and S-OFF to flash recovery. (thanks hawks556 for pointing that out)
closed.

[Tutorial]How To -ADB- Logcat & Basic [NEW OR NOOB]

Well this my first own post on General Section
I am sharing how to use the (ADB)
which seem many of us should have some basic on it
(FASTBOOT) will be added later on.
-SIMPLE & EASY-
Is a proper way to tell what wrong's and bug you encountered by a log
Requirement :
Click to expand...
Click to collapse
-Adb Driver for Xperia X8 or This Universal_Naked_Driver
-Adb files (Repacked for you)
-Android Version 1.6-4.1.1
Click to expand...
Click to collapse
Set Up
Click to expand...
Click to collapse
Install the Driver For Adb for your device (Example :X8)
Unpack the Adb Files To A Folder (Named Whatever you like Example: Adb) on local disk C: (Recommend)
Turn on USB debugging on your phone: Settings>Applications>Development>USB Debugging
Go to Start Menu and Search for CMD (Command Promt) (Run as adminstrator)
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Prompt CMD with the location you extracted the ADB Files (Mine at C:/adb)
Therefore key in this
Code:
cd c:/adb
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Check Connected Device & Enable the Adb Server
Code:
adb devices
Wait for few seconds till the server is up and if you connection is working
Should show that the device name is there
If connection is offline should check whether build.prop has this line :
Code:
persist.sys.usb.config=mass_storage,adb
Add this line to build.prop if you need to do so
ADB Logcat
When able to have adb connection between device then you
can now do a pretty simple logcat
Code:
adb logcat > logcatfilename.txt
Replace "logcatfilename" with anything you like and shall log all over the text file
Can then stop logging just pressing Ctrl+C
Enable Access to System
If Encountered that your system not mounted
Code:
adb remount
If some still keeping error then need to boot cwm to adb
ADB Shell
Adb Shell Is A Little Advance So No Really Gonna Cover Up Here
Prompted by
Code:
adb shell
Checking Memory/Swap Progress
Code:
free
You can remove app/files by
Code:
rm -r /filelocation/filename.format
Replace " /filelocation/filename.format" with anything you want to remove such as latimime.apk so you replace with /system/app/latimime.apk
Adb Pull
Now You Should Know To Command using CMD
To Pull
Code:
adb pull /system/app/browser.apk
Replace "l/system/app/browser.apk" with location and file name you want to pull
Adb Push
Now You Should Know To Command using CMD
To Pull
Code:
adb push browser.apk /system/app
Replace " browser.apk /system/app" with file name(On the same folder of the adb files) & location you want to push that file into.
Adb Install
Should be same as pushing method but normally to data folder
Code:
adb install angrybird.apk /data/app
Replace "angrybird.apk /data/app" with file name(On the same folder of the adb files) & location you want to install into
Final :
I hope this Tutorial Is Clear Enough For Other's member which want to
learn adb.You can use this tutorial & i know there many more better adb tutorial
but i am just showing basic knowledge logcat and adb command that can easier
both developers and user.Any Comment & Suggestion can reply below.
I will fix/add if needed.Sorry for bad english & grammar
Credits :
Dev Whom Teached Me Basic Adb
1wayjonny For Universal Naked Driver
pswd
What password for ADB archive?
nikmaletz55 said:
What password for ADB archive?
Click to expand...
Click to collapse
steriod << Password Sorry for missed out
Fastboot tutorial when there's free time :cyclops:
I can't download the GingerLewa.
@^
this isn't the appropriate thread.
@Steriod
didn't know our phones had fastboot protocol suport, or did you just make the guide in general?
fastboot...i think we dont have fastboot
sgt. meow said:
@^
this isn't the appropriate thread.
@Steriod
didn't know our phones had fastboot protocol suport, or did you just make the guide in general?
Click to expand...
Click to collapse
fotak-x said:
fastboot...i think we dont have fastboot
Click to expand...
Click to collapse
i make this for adb for X8 & Other phone as well
i know there no fastboot but maybe usable for otheer phoness

Categories

Resources