Terminal - ZenFone 2 Q&A, Help & Troubleshooting

Can i use Terminal Emulator to do this step : su
dd if=/sdcard/twrp.img of=/dev/block/by-name/recovery
reboot recovery. Im rooted and unlocked BL

cell2011 said:
Can i use Terminal Emulator to do this step : su
dd if=/sdcard/twrp.img of=/dev/block/by-name/recovery
reboot recovery. Im rooted and unlocked BL
Click to expand...
Click to collapse
Maybe yes.

Related

Ace 2 - Reset counter via SSH

Because I cannot post in the dev forum I write it here:
I tried to reset my flash counter and binary status according to:
http://forum.xda-developers.com/showthread.php?p=38116366#post38116366
Plattform: Leaked JB, Android 4.1.2
I've rooted the phone and installed CWM 6. I tried to apply the zip in CWM but got Signature verification failed.
The easiest way for me was to do it directly on a ssh console (I used SSH Droid Pro): I unzipped the file from the post linked above and entered the following commands on a root ssh console:
Code:
dd if=/dev/zero of=/dev/block/mmcblk0 bs=1 count=1 seek=3145732
dd if=02.hex of=/dev/block/mmcblk0 bs=1 count=1 seek=3145736
Works perfectly and is quite easy!
ace2-user said:
Because I cannot post in the dev forum I write it here:
I tried to reset my flash counter and binary status according to:
http://forum.xda-developers.com/showthread.php?p=38116366#post38116366
Plattform: Leaked JB, Android 4.1.2
I've rooted the phone and installed CWM 6. I tried to apply the zip in CWM but got Signature verification failed.
The easiest way for me was to do it directly on a ssh console (I used SSH Droid Pro): I unzipped the file from the post linked above and entered the following commands on a root ssh console:
Code:
dd if=/dev/zero of=/dev/block/mmcblk0 bs=1 count=1 seek=3145732
dd if=02.hex of=/dev/block/mmcblk0 bs=1 count=1 seek=3145736
Works perfectly and is quite easy!
Click to expand...
Click to collapse
You can try Triangle Away 2.90
I thinks it work fine and is very rasy

[Q] I can't reunlock bootloader (Relocked)

Hi, this is my first thread at XDA
I have a problem with my HTC one
my bootloader is RELOCKED after flash a RUU.
HTCdev sent me a error, so i cant unlock the bootloader with this method.
any of you can help me to reunlock my bootloader?
Elneu said:
Hi, this is my first thread at XDA
I have a problem with my HTC one
my bootloader is RELOCKED after flash a RUU.
HTCdev sent me a error, so i cant unlock the bootloader with this method.
any of you can help me to reunlock my bootloader?
Click to expand...
Click to collapse
are you s-off by chance?
synisterwolf said:
are you s-off by chance?
Click to expand...
Click to collapse
yes, I'm still S-off
Elneu said:
yes, I'm still S-off
Click to expand...
Click to collapse
follow this guide
http://forum.xda-developers.com/showthread.php?t=2475914
Code:
to UNLOCK your bootloader,enter the following:
adb devices
adb shell
su (if needed to get a # prompt)
echo -ne "HTCU" | dd of=/dev/block/mmcblk0p3 bs=1 seek=33796
(i would very strongly recomend you copy/paste this)
exit
(exit a second time if you need to to get back to a normal > prompt)
adb reboot bootloader
verify you are now unlocked
synisterwolf said:
follow this guide
http://forum.xda-developers.com/showthread.php?t=2475914
Code:
to UNLOCK your bootloader,enter the following:
adb devices
adb shell
su (if needed to get a # prompt)
echo -ne "HTCU" | dd of=/dev/block/mmcblk0p3 bs=1 seek=33796
(i would very strongly recomend you copy/paste this)
exit
(exit a second time if you need to to get back to a normal > prompt)
adb reboot bootloader
verify you are now unlocked
Click to expand...
Click to collapse
Thanks a lot, it works

[Q] Help.Changing MID meets a problem.

I followed this thread to change my mid to Developer Edition,but I've got a problem
[how to]change your MID without the eng bootloader
I'm under Windows 8.1
when I run
Code:
adb shell
Code:
echo -ne '\x30\x00\x50\x00\x36\x00\x42\x00\x31\x00\x32\x00\ x30\x00\x30\x00\x30' | dd of=/dev/block/mmcblk0p5 bs=1 seek=16384
it showed this:
Code:
0\x00\x30' | dd of=/dev/block/mmcblk0p5 bs=1 seek=16384
/dev/block/mmcblk0p5:cannot open for write: Permission denied
I thought running su might help,however after I run su it showed:
Code:
su
/system/bin/sh:su:not found
Any one knows how to deal with this?I think it's a permission problem,so do I have to run it under Linux as root?Or there's another way?
I have solved this problem,just have my device rooted,then it worked.
1. your device must be S-Off & rooted
2. adb shell
3. su
4. su
5. run that command
6. exit
7. exit
8. done
ckpv5 said:
1. your device must be S-Off
2. adb shell
3. su
4. su
5. run that command
6. exit
7. exit
8. done
Click to expand...
Click to collapse
I'm s-off,and I'm thinking if I have to root my device.Perhaps that's the solution.
int_young said:
I'm s-off,and I'm thinking if I have to root my device.Perhaps that's the solution.
Click to expand...
Click to collapse
Yes ... device must be S-Off and rooted.

(Guide) [ HOW TO ] Extract Boot.img From Android To Sdcard. [ Without PC ]

This Guide Is Not Developed by me.
I Collect This Guide From Anotherone
This Guide Is Working 100% With The easiest way.....
Prerequierd:-
*Your Phone must be rooted.
*Terminal Emulator or other terminal app Installed
*Any File Exploler
Procced:-
Launch Terminal Emulator
Type This simple Command
COMMAND:- ____________________________________
su (Hit enter)
dd if=/dev/block/mmcblk0p5 of=/sdcard/boot.img bs=4096 (Hit enter)
____________________________________
Done!!! :thumbup: Goto Sdcard and See your boot.img...
If You Want To Extract Recovery.img
Use this command
COMMAND:-
____________________________________
Su
dd if=/dev/block/mmcblk0p6 of=/sdcard/recovery.img bs=4096
____________________________________
if This Guide Will work For you Hit Thanks :thumbup: Button
Hi, i just want to ask regarding the recovery .img if is possible to flash it using custom recovery like twrp or cwm? i mean the one that you will see in the sd card you mention after doing the procedure in terminal emulator.
thanks
Sent from my Cloudfone GEO 402q using XDA Free mobile app
You can flash this recovery using Img Flash tool , Mobile uncle tool
Ok, next question...
Ok, so now that i have my boot image and recovery on my sd card, my device is the sm-t217a, now freshly rooted using the KingRoot 4.5 apk, busybox install, Supersume method. My bootloader is a locked bootloader. Im fairly new doing these things, so could you give me a hand holding guide to unlocking the bootloader if this will work for my situation.

Is there anyway to delete files on "bootdevice" file with TWRP Terminal?

So today I was trying to backup my EFS/IMEI and found that I could do so using the TWRP Terminal commands:
dd if=/dev/block/bootdevice/by-name/modemst1 of=/sdcard/modemst1.emmc.win
dd if=/dev/block/bootdevice/by-name/modemst2 of=/sdcard/modemst2.emmc.win
Click to expand...
Click to collapse
However I typed it wrong, doing this:
dd if=/dev/block/bootdevice/by-name/modemst1 of=/dev/block/bootdevice/by-name/modemst1emmc.win
dd if=/dev/block/bootdevice/by-name/modemst2 of=/dev/block/bootdevice/by-name/modemst2.emmc.win
Click to expand...
Click to collapse
This resulted in having the backups inside the bootdevice file, is there any way I can delete these files with a TWRP terminal command?

Categories

Resources