www.chinaphonearena.com

Full Version: help CWM Recovery
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
(2014-09-13, 08:03)aus9 Wrote: [ -> ]well gosh what can I say?
your boot image is not visible where I expected a mediatek to be.

ok try this
Code:
su
id
ls -al /dev/boot*

Don't close terminal see below

to find the * key......press the [?123] key

#################################
Do you know how to use adb in your Windows PC?
#################################

Its possible your boot image is visible elsewhere because you have a UBIFS instead of ext4

lets assume so until you reply?

To discover it please run in open terminal

Code:
cat /proc/dumchar_info

photo it please

Now lets assume yours returns with entries like this?

Quote:bootimg 0x0000000000800000 0x00000006 1 /dev/mtd/mtd6 USER

in which case.....see that mtd stuff?
then issue next command

Code:
ls -al /dev/mtd

I wanted to thank you for your patience, this is what I could with these commands!

[Image: X0EF9B3.jpg]
[Image: uU4kcE1.jpg]
[Image: E26nyPp.jpg]
[Image: r0aeh1Z.jpg]
OK I am anal but failed to get my message to you so will spank myself.
I asked you a question about adb, not asked you to USE adb

2) I had a dumchar output inside a quote box. a quote box is NOT a code box
Please do not run any commands you see from me, EVER AGAIN that show in a quote box. As it happens that is text output from dumchar which I show in full
and its still not an excuse for you to think its a command

Laughs out Loud at Windows users in general
Oh boy....give me more brain cells

###########
link below is not an invitation to do a command OK?

[Only registered and activated users can see links Click here to register]
###################
I think we can assume you have an UBIFS and not an ext4 file system

If I am right you will get a hit for the following

METHOD 1 uses Window PC and adb..#from where adb is
Code:
adb devices
(do not continue unless you see a legit device)
cat /proc/mtd

If windows allows copy and paste from terminal I need your output in a code box please.

If you can't ....a photo and your photos are very good.

I am predicting you may see a boot and /dev/mtd

We can then use a different command that we need to agree to
to copy your boot image.......but I have no experience at UBIFS

lets hope I am wrong eh?

METHOD 2 on Android....should work without su (to root)
Code:
cat /proc/mtd
(2014-09-13, 15:01)aus9 Wrote: [Only registered and activated users can see links Click here to register]
###################
I think we can assume you have an UBIFS and not an ext4 file system

If I am right you will get a hit for the following

METHOD 1 uses Window PC and adb..#from where adb is
Code:
adb devices
(do not continue unless you see a legit device)
cat /proc/mtd

If windows allows copy and paste from terminal I need your output in a code box please.

If you can't ....a photo and your photos are very good.

I am predicting you may see a boot and /dev/mtd

We can then use a different command that we need to agree to
to copy your boot image.......but I have no experience at UBIFS

lets hope I am wrong eh?

METHOD 2 on Android....should work without su (to root)
Code:
cat /proc/mtd

thank you, you are helping me very good had these following results:
adb shell
[Image: wwWIUdb.jpg]

android terminal:
[Image: RVeoEC5.png]

I have to do now?
ok so we now know that you have a UBIFS which is nastier. Since you have done well with adb commands we now attempt to get your boot image. Just repeat, your past flashing as caused your recovery to be lost. So we need the boot image.

Ensure you have a sdcard installed please
Next, try this from your adb folder as admin mode

TYPE THE DD COMMAND VERY CAREFULLY
TRY AT OWN RISK
THERE IS A RISK OF BRICKING IF YOU DO NOT GET THE COMMAND CORRECT.
Code:
adb devices
(do not continue unless you see your device)
adb remount
(message hopefully will say succeed)
(if not still continue but report your error)
adb shell dd if=/dev/mtd9 of=/sdcard/boot.img
adb shell ls -al /sdcard/boot.img

Now the last command I want to you to look at first to save you taking photo
if the last command has a zero byte size......for /sdcard/boot.img
----I have failed not your fault.
please report that its 0 bytes. No need for photo
stop reading post below is for non-zero reply

######################################

if however, you have a non-zero size some number like
5000000 to a number like 9000000 then image has worked.
No need for photo. The number may be bigger but unlikely to be smaller.

Now upload thatboot.img on the sdcard to dropbox or your file sharing site
then give me the download link so I can have a look at it.

I will have more to say later. time for bed

good luck
(2014-09-13, 22:56)aus9 Wrote: [ -> ]ok so we now know that you have a UBIFS which is nastier. Since you have done well with adb commands we now attempt to get your boot image. Just repeat, your past flashing as caused your recovery to be lost. So we need the boot image.

Ensure you have a sdcard installed please
Next, try this from your adb folder as admin mode

TYPE THE DD COMMAND VERY CAREFULLY
TRY AT OWN RISK
THERE IS A RISK OF BRICKING IF YOU DO NOT GET THE COMMAND CORRECT.
Code:
adb devices
(do not continue unless you see your device)
adb remount
(message hopefully will say succeed)
(if not still continue but report your error)
adb shell dd if=/dev/mtd9 of=/sdcard/boot.img
adb shell ls -al /sdcard/boot.img

Now the last command I want to you to look at first to save you taking photo
if the last command has a zero byte size......for /sdcard/boot.img
----I have failed not your fault.
please report that its 0 bytes. No need for photo
stop reading post below is for non-zero reply

######################################

if however, you have a non-zero size some number like
5000000 to a number like 9000000 then image has worked.
No need for photo. The number may be bigger but unlikely to be smaller.

Now upload thatboot.img on the sdcard to dropbox or your file sharing site
then give me the download link so I can have a look at it.

I will have more to say later. time for bed

good luck

How will I find a boot.img? I have no idea to find

or one of the commands worked :/
[Image: 35OYwf1.jpg]

also do not have a boot.img does not work on my mobile, and also do not know how to find it
ok adb remount failed

there is another way, ignore all of above and we try new way ok.
TRY AT OWN RISK ETC

USB DEBUGGING IS ON

but do not turn on storage.....I forgot to mention this as
sdcard can only be used by one device at one time
either PC has access or Android has access

but I also think you may have a read write issue for Android
I have a linux script which would detect it

if below fails, click on my true root link and do the windows stuff

reply to the link please......we need all users who have trouble with true root to reply to that thread. do NOT reply to that thread if everything is OK below

if everything below is ok
I just need your photo of the mount output
and a link to your boot image I have renamed as boot1.img
---just in case you already have a boot.img on sdcard


Code:
adb devices
adb shell  mount
(take photo of output please)
adb shell su -c "mount | /system/xbin/grep /system"
(can not continue if you get error)
adb shell su -c "mount -o remount,rw /system"
(can not continue if you get error)
adb shell
(prompt to left changes from windows stuff to root@phone)
dd if=/dev/mtd9 of=/sdcard/boot1.img
ls -al /sdcard/boot1.img

good luck
(2014-09-14, 08:44)aus9 Wrote: [ -> ]ok adb remount failed

there is another way, ignore all of above and we try new way ok.
TRY AT OWN RISK ETC

USB DEBUGGING IS ON

but do not turn on storage.....I forgot to mention this as
sdcard can only be used by one device at one time
either PC has access or Android has access

but I also think you may have a read write issue for Android
I have a linux script which would detect it

if below fails, click on my true root link and do the windows stuff

reply to the link please......we need all users who have trouble with true root to reply to that thread. do NOT reply to that thread if everything is OK below

if everything below is ok
I just need your photo of the mount output
and a link to your boot image I have renamed as boot1.img
---just in case you already have a boot.img on sdcard


Code:
adb devices
adb shell  mount
(take photo of output please)
adb shell su -c "mount | /system/xbin/grep /system"
(can not continue if you get error)
adb shell su -c "mount -o remount,rw /system"
(can not continue if you get error)
adb shell
(prompt to left changes from windows stuff to root@phone)
dd if=/dev/mtd9 of=/sdcard/boot1.img
ls -al /sdcard/boot1.img

good luck
That's what I got, and I can not get in way, root@phone
Can you teach me?
[Image: KX8N1A5.jpg]
[Image: SQDPrBD.jpg]
your first image has system already in rw mode
see the first group of /dev/block*11...system .....rw
in your second image....second last command we have a syntax error
ditto the last command
but as you already have a rw system.....we can ignore those commands.
#############
next try this
############

android usb debugging...confirm is on
android usb storage is on.....but if Windows makes readable your sdcard
then use windows to safely remove usb storage devices but keep data cable plugged in
do NOT turn off usb storage on Android

Windows adb commands as follows
Code:
adb devices
adb shell
touch /sdcard/zz
(if you get an error here stop all action and report)
(if it returns a new line command prompt it succeeded)
(we test it now)
ls /sdcard/boot*
(if it does NOT show /sdcard/boot.img in your response
(jump to miss command A)

# command A for a hit
rm /sdcard/boot.img

# jump point starts here
dd if=/dev/mtd9 of=/sdcard/boot.img

upload that boot.img and link to it

good luck
(2014-09-14, 14:16)aus9 Wrote: [ -> ]your first image has system already in rw mode
see the first group of /dev/block*11...system .....rw
in your second image....second last command we have a syntax error
ditto the last command
but as you already have a rw system.....we can ignore those commands.
#############
next try this
############

android usb debugging...confirm is on
android usb storage is on.....but if Windows makes readable your sdcard
then use windows to safely remove usb storage devices but keep data cable plugged in
do NOT turn off usb storage on Android

Windows adb commands as follows
Code:
adb devices
adb shell
touch /sdcard/zz
(if you get an error here stop all action and report)
(if it returns a new line command prompt it succeeded)
(we test it now)
ls /sdcard/boot*
(if it does NOT show /sdcard/boot.img in your response
(jump to miss command A)

# command A for a hit
rm /sdcard/boot.img

# jump point starts here
dd if=/dev/mtd9 of=/sdcard/boot.img

upload that boot.img and link to it

good luck

I ran all the commands right? my English and not very good!

[Image: Xa7zJ3Q.png]

Code:
This line does not work for me, even though I have one boot.img in sd
dd if=/dev/mtd9 of=/sdcard/boot.img
you have a $ showing left of command.
That shows you are not running the commands as a Windows Administrator

Run as administrator.

I don't have windows but you can get an idea of how to run as admin by looking at this thread.

[Only registered and activated users can see links Click here to register]

read.......Windows adb command preparation

you are NOT to run sideload.....I am showing you how to run as admin only.

hopefully the $ will turn into a #

##########################

In linux, my system is set up so I can run as admin mode while running as a local user.

###############

Since your English is not so good.....don't try Linux I do not have time to show you.
Pages: 1 2 3