[Q] is there any linux command for check badblock - HTC Pico (Explorer)

hello
is there any linux terminal command for check badblock on nand memory?

shahrooz_ra said:
hello
is there any linux terminal command for check badblock on nand memory?
Click to expand...
Click to collapse
Read this http://forum.xda-developers.com/showthread.php?p=38098622
Regards.

Related

Android SDK 1.5 trouble in Linux

I am a new to using Linux, I just downloaded the SDK 1.5 and I am having some trouble getting the tools to work properly. For example. If I try to open the emulator it will just sit there and do nothing. I cannot get adb to work either. I set it up / the instructions. Any ideas on what I am missing? Thanks
easiest way to fix the adb problem is to move your adb command that is included in the SDK into your /usr/bin or /bin directory. if you have a problem with either of those then type cd ~/<sdk>/tools followed by ./adb the "./" tells the phone to run the command in the current directory, otherwise you could just type the directory to adb to run it i.e. ~/SDK/tools/adb that's all you need. as far as the emulator i have no idea because i have never gotten it up and running properly
How do I add the ADB command to usr/bin?
You can do as followed:
- Run the Terminal
- cd to your sdk/tools directory
- Run these command:
Code:
#./adb kill-server
#./adb devices
If you see your HTC has been remounted, it's done!
sudo mv ~/sdk/tools/adb /usr/bin/adb
tubaking182 said:
sudo mv ~/sdk/tools/adb /usr/bin/adb
Click to expand...
Click to collapse
Got it thanks for your help! I still can't get the emulator to work. Oh well Thanks again
What version of Linux? Are you using 64 Bit? What is the result of typing
Code:
java -version
You created the AVD, right?
What do you get when you type:
Code:
android list avd
stovenator said:
What version of Linux? Are you using 64 Bit? What is the result of typing
Code:
java -version
Ubuntu version 9.04 & 64 Bit
java version "1.6.0_13"
Java(TM) SE Runtime Environment (build 1.6.0_13-b03)
Java HotSpot(TM) Client VM (build 11.3-b02, mixed mode, sharing)
You created the AVD, right?
What do you get when you type:
Code:
android list avd
Click to expand...
Click to collapse
bash: android: command not found
They made a change in 1.5 SDK that you must specifiy the virtual device you want the emulator to run. if you just double click on "emulator", it will print the error to console and exit.
So first cd to the tools directory of the sdk and type android[return]
you will be given the commands that android (the program) will accept. you can also do this for emulator.
Great!! Everything is working well now. Thanks for everyones help!!
How Do I get fastboot working in Ubuntu?
jordanjf86 said:
How Do I get fastboot working in Ubuntu?
Click to expand...
Click to collapse
http://andblogs.net/fastboot/
fastboot is included in the 1.5 sdk, once you get adb working it should start working as well.
billc.cn said:
fastboot is included in the 1.5 sdk, once you get adb working it should start working as well.
Click to expand...
Click to collapse
Actually it doesn't seem to be in the Linux 1.5 SDK; I had to build it. It's in the Windows SDK, though. Kinda weird.
Android SDK 1.5 emulator trouble in windows
hi i m new to xda and to android i m not tech savy
i install sdk 1.5 i try ddms it works good what when i try to lanch emulator nothing happnes and i try by going in command promt im getting this error can any one help me out in this
C:\Documents and Settings\jass>emulator
emulator: ERROR: You did not provide the name of an Android Virtual Device
with the '-avd <name>' option. Read -help-avd for more information.
If you *really* want to *NOT* run an AVD, consider using '-data <file>'
to specify a data partition image file (I hope you know what you're doing).
karan09 said:
hi i m new to xda and to android i m not tech savy
i install sdk 1.5 i try ddms it works good what when i try to lanch emulator nothing happnes and i try by going in command promt im getting this error can any one help me out in this
C:\Documents and Settings\jass>emulator
emulator: ERROR: You did not provide the name of an Android Virtual Device
with the '-avd <name>' option. Read -help-avd for more information.
If you *really* want to *NOT* run an AVD, consider using '-data <file>'
to specify a data partition image file (I hope you know what you're doing).
Click to expand...
Click to collapse
First, this is the wrong thread for such a question. This thread is about SDK issues in Linux, and you're asking about using debugging tools in Windows.
Second, if you say yourself that you are "not tech savvy", then I'm not quite sure why you are wanting to play with the SDK tools. I don't mean this in a derogatory way; I'm just not sure what it is that you're trying to accomplish.
That said, Android dev docs can be found here, and information specifically about the emulator is here.
- Chris

Blob files & image files possible to run directly from TF101 ?

Is this possible directly from your tf101 and how? Maybe that terminal emulator program, and which commands exactly?
Innovator said:
Is this possible directly from your tf101 and how? Maybe that terminal emulator program, and which commands exactly?
Click to expand...
Click to collapse
Hi there, yes its possible to flash blobs from terminal, you MUST BE ROOTED already though, if you were flashing a recovery blob the command would be something like this: dd if=/pathtoyourblob of=/dev/block/mmcblk0p4

[Completed] [Q] Where did I use these commands ?

Hi friends , I found a method on XDA-University on creating ClockWordMod for new device .
Here are some of codes from there ,
make -j4 otatools
Click to expand...
Click to collapse
dump_image boot /sdcard/boot.img
Click to expand...
Click to collapse
. build/envsetup.sh # or # source /build/envsetup.sh
Click to expand...
Click to collapse
HTML:
http://xda-university.com/as-a-developer/porting-clockworkmod-recovery-to-a-new-device
Codes are fine and where does I use it ?
In Windows / Linux ??
If Linux , I am using Windows 7 and How can I use it ? I have Cygwin :good:
Suggest me the method
sabithpkcmnr said:
Hi friends , I found a method on XDA-University on creating ClockWordMod for new device .
Here are some of codes from there ,
HTML:
http://xda-university.com/as-a-developer/porting-clockworkmod-recovery-to-a-new-device
Codes are fine and where does I use it ?
In Windows / Linux ??
If Linux , I am using Windows 7 and How can I use it ? I have Cygwin :good:
Suggest me the method
Click to expand...
Click to collapse
Hello Brother
For Android Development You Need To Use Linux Based OS.
If You Are On Windows You Have 2 Options: Dual Boot or Boot Using Vmware
Ok , I have Cygwin ,,, you all says that it is a linux terminal , wasn't ?
if I have a Linux PC , where should I type it in ? In terminal ?

Run Backtrack 5 On Android Devices (Step By Step)

1. Download terminal emulator,android vnc and arm version of backtrack.
2. Extract the content of img file and transfer it in to memory of android devices.
3. Install BusyBox and start it.
4. Open terminal emulator. use "cd" command to get in backtrack directory where extracted content is saved on memory card of device. In this case command is
cd /sdcard/BT5
5. Type "sh bootbt" and we will be in Backtrack.
commend
su
cd/sdcard/bt5
sh bootbt
startvnc
download from torrent
Q
mahesh gaonkar said:
1. Download terminal emulator,android vnc and arm version of backtrack.
2. Extract the content of img file and transfer it in to memory of android devices.
3. Install BusyBox and start it.
4. Open terminal emulator. use "cd" command to get in backtrack directory where extracted content is saved on memory card of device. In this case command is
cd /sdcard/BT5
5. Type "sh bootbt" and we will be in Backtrack.
commend
su
cd/sdcard/bt5
sh bootbt
startvnc
download from torrent
Click to expand...
Click to collapse
_______________________
Bro pls tell what is this backtrack i have no idea about it.
this topic simply not belongs to original development thread...
move the topic to proper section
Sent from my a110 using XDA Premium 4 mobile app
ans
Mohitlove_ said:
_______________________
Bro pls tell what is this backtrack i have no idea about it.
Click to expand...
Click to collapse
Yaa I can help u 1st download that's IMG files
And you getting any problem simply msg me

How do I extract an archive backup on Windows directly to Android?

I made a backup of my internal storage using this:
adb exec-out 'tar --create --exclude=data/media/0/TWRP \
data/media/0 2>/backup-errors.txt | \
gzip' | \
dd of=sdcardbakup-$(date +%Y%m%d).tar.gz && \
adb shell cat /backup-errors.txt
I did it this way because I want FOLDERS and FILES to keep the modified dates...
How do i extract/restore that directly to my Android?
Using Android 11
Try this
Code:
adb devices
adb push <file.tar.gz> /data/local/tmp
adb shell "tar -xvf /data/local/tmp/<file.tar.gz>"
jwoegerbauer said:
Try this
Code:
adb devices
adb push <file.tar.gz> /data/local/tmp
adb shell "tar -xvf /data/local/tmp/<file.tar.gz>"
Click to expand...
Click to collapse
not directly to data/media/0 ?
Of course it's possible, too. Above I gave only a generic example.
I
jwoegerbauer said:
Of course it's possible, too. Above I gave only a generic example.
Click to expand...
Click to collapse
How would I do it if I want it to extract to internal storage? I'm sorry I don't know much about this...
Bro I have problem to activate my Windows, please let me know how to solve. Thanks
Confused.
All what isn't external storage memory ( e.g. external SD-card ) is internal storage memory. Directory data/media/0 you mentioned is part of internal storage memory.
jwoegerbauer said:
Confused.
All what isn't external storage memory ( e.g. external SD-card ) is internal storage memory. Directory data/media/0 you mentioned is part of internal storage memory.
Click to expand...
Click to collapse
I meant like the /sdcard directory...
jwoegerbauer said:
Confused.
All what isn't external storage memory ( e.g. external SD-card ) is internal storage memory. Directory data/media/0 you mentioned is part of internal storage memory.
Click to expand...
Click to collapse
My backup is 28 gigabytes and pushing that to tmp will just add up and extracting it would add up leading to no free space. Is there away to extract it directly from the windows pc to android ?
jwoegerbauer said:
Try this
Code:
adb devices
adb push <file.tar.gz> /data/local/tmp
adb shell "tar -xvf /data/local/tmp/<file.tar.gz>"
Click to expand...
Click to collapse
I tried this and it just led to a bootloop?
Andrei the Android Guy said:
Is there away to extract it directly from the windows pc to android ?
Click to expand...
Click to collapse
I do not know of any.
jwoegerbauer said:
I do not know of any.
Click to expand...
Click to collapse
Sad... I found this tho but it doesn't work Can you tell me what's wrong with it?
Code:
adb exec-in 'tar --extract --preserve-permissions --file - data/media/0' < "sdcardbakup-20210207.tar"
extracted the tar.gz then did that command
FYI:
exec-in executes a command and copies all STDIN to this command:
STDIN is the standard input stream - means this accepts text as its input.
BTW:
Of course you can extract the tarball into a specified directory by using the parameter ā€œ-Cā€.
Code:
tar -xzf <PATH-TO-ARCHIVE.tar.gz> -C <NAME-OF-TARGET-FOLDER>
it
jwoegerbauer said:
FYI:
exec-in executes a command and copies all STDIN to this command:
STDIN is the standard input stream - means this accepts text as its input.
BTW:
Of course you can extract the tarball into a specified directory by using the parameter ā€œ-Cā€.
Code:
tar -xzf <PATH-TO-ARCHIVE.tar.gz> -C <NAME-OF-TARGET-FOLDER>
Click to expand...
Click to collapse
it doesnt extract anything
Andrei the Android Guy said:
it doesnt extract anything
Click to expand...
Click to collapse
My last 2 cents here:
Avoid piping, use command
Code:
adb shell
instead of the ( hidden ) commands
Code:
adb exec-out
adb exec-in
and you'll be fine.

Categories

Resources