Flash cwm in terminal emulator - Nexus 10 Q&A, Help & Troubleshooting

I'm just looking for the line to type into the terminal emulator so I can flash cwm. I know its something like:
dd if=/sdcard/recovery.img of=/dev/block/mmcblk0p**
I just dont know which to overwrite.
Thanks in advance

Related

Lag Fix for Galaxy S "Showcase"

I'm sorry to post this in the Fascinate forum, but as you all know Cellular South's version the "Showcase" is identical in hardware as is the Mesmerize, but there isn't a forum for either of them..
I see there's plenty of kernels and etc.. But is there just a simple lag fix that I can do to my Showcase that will make every day use better and less laggy?
A simple yes or no is fine with me.
if there is a way a link post or explanation would be VERY appreciated.
Thanks,
Elijahblake
(PS)Sort of on the same subject, but I read that gingerbread is going to support ext4 file system. I know the Galaxy S uses the RFS file system which I believe is where we get the lag in the first place.. Will it be possible to switch file system formats?
I'm not real familiar with all these Linux formats. Would it be similar to reformatting like from FAT32 to NTFS?
If you can provide some additional information and files, I can port some things such as Voodoo lagfix to your device.
Needed:
stock kernel
stock mbr
mount output
All of the following can be done through adb on a rooted device.
To dump the kernel do:
cat /dev/block/bml7 > /sdcard/zImage
To dump original mbr do:
dd if=/dev/block/mmcblk0 of=/sdcard/showcase.mbr bs=512 count=1
To get mount output do:
mount
then paste the output of that command as well as upload the showcase.mbr and zImage files here.
jt1134 said:
If you can provide some additional information and files, I can port some things such as Voodoo lagfix to your device.
Needed:
stock kernel
stock mbr
mount output
All of the following can be done through adb on a rooted device.
To dump the kernel do:
cat /dev/block/bml7 > /sdcard/zImage
To dump original mbr do:
dd if=/dev/block/mmcblk0 of=/sdcard/showcase.mbr bs=512 count=1
To get mount output do:
mount
then paste the output of that command as well as upload the showcase.mbr and zImage files here.
Click to expand...
Click to collapse
Ok will do, what's the best, easiest root method
Sent from my sch-i500 Showcase using XDA app
elijahblake said:
Ok will do, what's the best, easiest root method
Sent from my sch-i500 Showcase using XDA app
Click to expand...
Click to collapse
look for the thread in the fascinate forum simply titled "root"
also you will need to locate the thread explaining how to get clockworkmod recovery on the showcase in the same forum
jt1134 said:
look for the thread in the fascinate forum simply titled "root"
also you will need to locate the thread explaining how to get clockworkmod recovery on the showcase in the same forum
Click to expand...
Click to collapse
will do.. May take me some while to get all this info gathered..
quick question? I've read of some people not being able to see certain apps in the market after rooting.. Is this still the case?
If my phone is rooted and 2.2 finally does come out (officially) will have to un root and remove any lag fix to upgrade? How hard will this be?
elijahblake said:
If my phone is rooted and 2.2 finally does come out (officially) will have to un root and remove any lag fix to upgrade? How hard will this be?
Click to expand...
Click to collapse
To get the upgrade, you shouldn't have to un-root, but you should probably disable voodoo first as the update will almost certainly have a new kernel, and applying the update without disabling voodoo could cause quite a headache.
If you do apply the update right away, you could quite possibly loose root, so you may want to wait until the devs re-root the update. This could make things easier for you as the rooted update will also likely be cleaned up some.
To disable voodoo, you'd just need to create a file called "disable_lagfix" in /sdcard/voodoo and then reboot your phone. See the thread in the dev forum about removing voodoo for more details if you want.
ok well it looks like I'm rooted.. Now I tried to open the ADB that came in the fascinate root zip but it's not opening for more than a split second... you have a download link?
Also can uninstall all this bloatware now??
edit.. thought I had Android SDK on this laptop.. Downloading it now
jt1134 said:
If you can provide some additional information and files, I can port some things such as Voodoo lagfix to your device.
Needed:
stock kernel
stock mbr
mount output
All of the following can be done through adb on a rooted device.
To dump the kernel do:
cat /dev/block/bml7 > /sdcard/zImage
To dump original mbr do:
dd if=/dev/block/mmcblk0 of=/sdcard/showcase.mbr bs=512 count=1
To get mount output do:
mount
then paste the output of that command as well as upload the showcase.mbr and zImage files here.
Click to expand...
Click to collapse
Alright, so i'm rooted now and got ADB set up.. And this is the first time I've done any of this. So can you please tell me the exact commands to enter. I really don't want to mess anything up.
Thanks,
elijahblake
elijahblake said:
Alright, so i'm rooted now and got ADB set up.. And this is the first time I've done any of this. So can you please tell me the exact commands to enter. I really don't want to mess anything up.
Thanks,
elijahblake
Click to expand...
Click to collapse
I have c:\androidsdk
I put ADB inside tools and it sees my device when I run ADB devices
But on the commands you listed nothing happens, I'm not sure if that's the entire commands or if I'm supposed to add something to them..
Try to run the following
Code:
adb shell cat /dev/block/bml7 > /sdcard/zImage
adb shell dd if=/dev/block/mmcblk0 of=/sdcard/showcase.mbr bs=512 count=1
adb shell mount
or just typing "adb shell" and entering the commands at the new prompt, and typing "exit" to get back to the normal command prompt.
here's what happened..
the first two commands didn't work. DO i need to create a folder name zImages?
The second command said access denied..
You tell me if the mount worked haha..
jt will have to comment on whether that is what he needs from the mount command. Can you try the following to see if it works?
Code:
adb shell
su
shell cat /dev/block/bml7 > /sdcard/zImage
shell dd if=/dev/block/mmcblk0 of=/sdcard/showcase.mbr bs=512 count=1
exit
well, it granted me SU rights.. but still a no go...
i figured since i was in shell i shouldn't type that.. still got no directory found...
imnuts said:
jt will have to comment on whether that is what he needs from the mount command. Can you try the following to see if it works?
Code:
adb shell
su
shell cat /dev/block/bml7 > /sdcard/zImage
shell dd if=/dev/block/mmcblk0 of=/sdcard/showcase.mbr bs=512 count=1
exit
Click to expand...
Click to collapse
would root explorer make this any easier?
I just tested out all of the commands on my Fascinate and they all worked, so I'm guessing that the Showcase is putting stuff in a different place. jt will have to help you out further as I'm not sure of where else to look for the info he needs.
elijahblake said:
i figured since i was in shell i shouldn't type that.. still got no directory found...
Click to expand...
Click to collapse
for the cat command it should bml as in lowercase L, not 1. And it looks like you added a space between the of and = on the dd command.
GeekMouse said:
for the cat command it should bml as in lowercase L, not 1. And it looks like you added a space between the of and = on the dd command.
Click to expand...
Click to collapse
I typed it exactly the way you said.. still got this..
Can you take a shot at it?
elijahblake said:
I typed it exactly the way you said.. still got this..
Can you take a shot at it?
Click to expand...
Click to collapse
It doesn't need shell at the beginning.
elijahblake said:
I typed it exactly the way you said.. still got this..
Can you take a shot at it?
Click to expand...
Click to collapse
This is how it should be typed
Code:
adb shell
su
cat /dev/block/bml7 > /sdcard/zImage
dd if=/dev/block/mmcblk0 of=/sdcard/showcase.mbr bs=512 count=1
exit

[Q] Shell, terminal emulator, how to...?!

Greetings to all!
Can You tell me how can i use shell in WF, what can i do in/with shell, is shell useful for working with, where can i find commands for android shell...?!
I'v installed it but when i type "Su" there is no action only "command not found" also when i type some other commands...
You must be rooted and have Superuser installed to allow terminal emulator to access SU.
Im rooted!
Have you got the Superuser App? Because, at the very least, atleast the "su" command should work on the terminal emulator, irrespective of others.
Anyway, some read through threads for shell and it's commands:
http://forum.xda-developers.com/showthread.php?t=718264
http://forum.xda-developers.com/showthread.php?t=826769
Yes, i have...Thats why is strange for me...
I rooted WF on my Linux Ubuntu 10.10...
You'll need the android development kit from google. Extra the tools to your personal user bin folder. (~/bin) add into your path statement. Open interval in you should not have adb working. In the terminal using adb issue adb shell. You will now be in a shell on your phone through your computer
Sent from my Incredible using Tapatalk
I know about Adb using phone shell with my Pc but i dont want that, i thought that shell can use only with phone without Pc...To bad...
Or i didnt understand you...!?

[Q] Find Command in Shell Terminal

Is the find command available only with Root access and busybox?
I can't access the find command in the terminal emulator in Android.

Q\ Command in terminal emulator

Hi can some1 tell me the command to mount system and efs with terminal emulator?

any flashable pure stock ROMs are available for v400?

I don't have a laptop And I really need to flash the stock ROM of 4.4.2.. I have TWRP installed and that's all.. Is anyone aware of some flashable zip of this stock ROM? Thanks in advance
I wanted to help but I have no idea how to create and update-binary file, so it is not flashable, but you can go back to 4.4.2 without computer. So what you need to is:
Download this: V40010C
Extract and place it onto your sd card!. Make sure all files are under /sdcard/* directory. Boot into the recovery, go to wipe -> advanced wipe -> wipe everything except sd card and internal storage. In recovery, go to advanced, then terminal. Folders should pop on the screen but do not go to any different directory, just press select. Now you should be in the terminal. Now, I'm really sorry but it will take some time, you have to enter each of this commands separately into the terminal:
Code:
dd if=/sdcard/V40010C/bootloader/aboot.bin of=/dev/block/platform/msm_sdcc.1/by-name/aboot
dd if=/sdcard/V40010C/bootloader/factory.bin of=/dev/block/platform/msm_sdcc.1/by-name/factory
dd if=/sdcard/V40010C/bootloader/laf.bin of=/dev/block/platform/msm_sdcc.1/by-name/laf
dd if=/sdcard/V40010C/bootloader/rpm.bin of=/dev/block/platform/msm_sdcc.1/by-name/rpm
dd if=/sdcard/V40010C/bootloader/sbl1.bin of=/dev/block/platform/msm_sdcc.1/by-name/sbl1
dd if=/sdcard/V40010C/bootloader/sdi.bin of=/dev/block/platform/msm_sdcc.1/by-name/sdi
dd if=/sdcard/V40010C/bootloader/tz.bin of=/dev/block/platform/msm_sdcc.1/by-name/tz
dd if=/sdcard/V40010C/boot.bin of=/dev/block/platform/msm_sdcc.1/by-name/boot
dd if=/sdcard/V40010C/cust.bin of=dev/block/platform/msm_sdcc.1/by-name/cust
dd if=/sdcard/V40010C/modem.bin of=/dev/block/platform/msm_sdcc.1/by-name/modem
dd if=/sdcard/V40010C/persist.bin of=/dev/block/platform/msm_sdcc.1/by-name/persist
dd if=/sdcard/V40010C/system.img of=/dev/block/platform/msm_sdcc.1/by-name/system
Remember only system is an img file! It is about 2,5GB so to flash it will take about 5-10 min.
Once you flashed everything you can reboot, in my case it said that OS is not installed but the recovery didn't know yet that we just flashed it. So just swipe to reboot and tablet should boot up with 4.4.2 !
If you have any problems just tell me
Adam Myczkowski said:
I wanted to help but I have no idea how to create and update-binary file, so it is not flashable, but you can go back to 4.4.2 without computer. So what you need to is:
Download this: V40010C
Extract and place it onto your sd card!. Make sure all files are under /sdcard/* directory. Boot into the recovery, go to wipe -> advanced wipe -> wipe everything except sd card and internal storage. In recovery, go to advanced, then terminal. Folders should pop on the screen but do not go to any different directory, just press select. Now you should be in the terminal. Now, I'm really sorry but it will take some time, you have to enter each of this commands separately into the terminal:
Code:
dd if=/sdcard/V40010C/bootloader/aboot.bin of=/dev/block/platform/msm_sdcc.1/by-name/aboot
dd if=/sdcard/V40010C/bootloader/factory.bin of=/dev/block/platform/msm_sdcc.1/by-name/factory
dd if=/sdcard/V40010C/bootloader/laf.bin of=/dev/block/platform/msm_sdcc.1/by-name/laf
dd if=/sdcard/V40010C/bootloader/rpm.bin of=/dev/block/platform/msm_sdcc.1/by-name/rpm
dd if=/sdcard/V40010C/bootloader/sbl1.bin of=/dev/block/platform/msm_sdcc.1/by-name/sbl1
dd if=/sdcard/V40010C/bootloader/sdi.bin of=/dev/block/platform/msm_sdcc.1/by-name/sdi
dd if=/sdcard/V40010C/bootloader/tz.bin of=/dev/block/platform/msm_sdcc.1/by-name/tz
dd if=/sdcard/V40010C/boot.bin of=/dev/block/platform/msm_sdcc.1/by-name/boot
dd if=/sdcard/V40010C/cust.bin of=dev/block/platform/msm_sdcc.1/by-name/cust
dd if=/sdcard/V40010C/modem.bin of=/dev/block/platform/msm_sdcc.1/by-name/modem
dd if=/sdcard/V40010C/persist.bin of=/dev/block/platform/msm_sdcc.1/by-name/persist
dd if=/sdcard/V40010C/system.img of=/dev/block/platform/msm_sdcc.1/by-name/system
Remember only system is an img file! It is about 2,5GB so to flash it will take about 5-10 min.
Once you flashed everything you can reboot, in my case it said that OS is not installed but the recovery didn't know yet that we just flashed it. So just swipe to reboot and tablet should boot up with 4.4.2 !
If you have any problems just tell me
Click to expand...
Click to collapse
Wow.. Amazing.. I don't know how to thank you man.. That's a lot of helping
BIG THANKS!!
Adam Myczkowski said:
I wanted to help but I have no idea how to create and update-binary file, so it is not flashable, but you can go back to 4.4.2 without computer. So what you need to is:
Download this: V40010C
Extract and place it onto your sd card!. Make sure all files are under /sdcard/* directory. Boot into the recovery, go to wipe -> advanced wipe -> wipe everything except sd card and internal storage. In recovery, go to advanced, then terminal. Folders should pop on the screen but do not go to any different directory, just press select. Now you should be in the terminal. Now, I'm really sorry but it will take some time, you have to enter each of this commands separately into the terminal:
Code:
dd if=/sdcard/V40010C/bootloader/aboot.bin of=/dev/block/platform/msm_sdcc.1/by-name/aboot
dd if=/sdcard/V40010C/bootloader/factory.bin of=/dev/block/platform/msm_sdcc.1/by-name/factory
dd if=/sdcard/V40010C/bootloader/laf.bin of=/dev/block/platform/msm_sdcc.1/by-name/laf
dd if=/sdcard/V40010C/bootloader/rpm.bin of=/dev/block/platform/msm_sdcc.1/by-name/rpm
dd if=/sdcard/V40010C/bootloader/sbl1.bin of=/dev/block/platform/msm_sdcc.1/by-name/sbl1
dd if=/sdcard/V40010C/bootloader/sdi.bin of=/dev/block/platform/msm_sdcc.1/by-name/sdi
dd if=/sdcard/V40010C/bootloader/tz.bin of=/dev/block/platform/msm_sdcc.1/by-name/tz
dd if=/sdcard/V40010C/boot.bin of=/dev/block/platform/msm_sdcc.1/by-name/boot
dd if=/sdcard/V40010C/cust.bin of=dev/block/platform/msm_sdcc.1/by-name/cust
dd if=/sdcard/V40010C/modem.bin of=/dev/block/platform/msm_sdcc.1/by-name/modem
dd if=/sdcard/V40010C/persist.bin of=/dev/block/platform/msm_sdcc.1/by-name/persist
dd if=/sdcard/V40010C/system.img of=/dev/block/platform/msm_sdcc.1/by-name/system
Remember only system is an img file! It is about 2,5GB so to flash it will take about 5-10 min.
Once you flashed everything you can reboot, in my case it said that OS is not installed but the recovery didn't know yet that we just flashed it. So just swipe to reboot and tablet should boot up with 4.4.2 !
If you have any problems just tell me
Click to expand...
Click to collapse
Hey, I know it's been a while since you posted this. but could you help me try to recover my v400? It doesn't boot at all and I believe that the partitions are corrupt. How can I flash them?

Categories

Resources