Jump to content


Photo

Fastboot for Grand X

- - - - -

  • Please log in to reply
46 replies to this topic

#1
kliskobg

kliskobg

    Newbie

  • Members
  • Pip
  • 16 posts
  • Gender:Male
  • Location:Serbia
  • Devices:ZTE Skate, ZTE Grand X
Hi all,

I am trying to test CWM but don't know how to get into fastboot mode. When I try adb reboot bootloader, I get nothing - phone reboots into normal (user) mode. Powering on with VOL- doesn't boot the phone, red LED lights up, the screen remains blank but fastboot devices does not give any response.

After rooting the phone, I made dd copy of system (/dev/block/mmcblk0p3), boot (/dev/block/mmcblk0p2) and recovery (/dev/block/mmcblk0p1) partitions but I am not sure if that is enough to have a safe backup. Any suggestions on that?

I built CWM with recovery builder (from stock recovery I pulled out) and would like to boot into it without flashing it (using fastboot boot recovery.img). Do I need to use NVFlash or what? Anyone knows if the bootloader is locked? How can I check if it is (without bricking the phone :D )?

For those who are more familiar with these things, below is partitions layout. Is there is any other interesting info to pull from the phone so more knowledgeable people can give us hints how to get recovery ported for this phone?

mount
rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,nosuid,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
debugfs /sys/kernel/debug debugfs rw,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/platform/sdhci-tegra.3/by-name/APP /system ext4 ro,relatime,user_xattr,acl,barrier=1,data=ordered 0 0
/dev/block/platform/sdhci-tegra.3/by-name/UDA /data ext4 rw,nosuid,nodev,noatime,errors=panic,user_xattr,acl,barrier=1,journal_async_commit,nodelalloc,data=writeback 0 0
/dev/block/platform/sdhci-tegra.3/by-name/CAC /cache ext4 rw,nosuid,nodev,noatime,errors=panic,user_xattr,acl,barrier=1,journal_async_commit,nodelalloc,data=writeback 0 0
/dev/block/platform/sdhci-tegra.3/by-name/MDM /mnt/modem ext4 ro,relatime,user_xattr,acl,barrier=1,data=ordered 0 0
/dev/block/mmcblk0p8 /zteconfig ext4 rw,relatime,user_xattr,acl,barrier=1,data=ordered 0 0
/dev/block/vold/179:11 /mnt/sdcard2 vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0002,dmask=0002,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/vold/179:11 /mnt/secure/asec vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0002,dmask=0002,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
tmpfs /mnt/sdcard2/.android_secure tmpfs ro,relatime,size=0k,mode=000 0 0
/dev/block/vold/179:33 /mnt/sdcard vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0002,dmask=0002,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/vold/179:33 /mnt/secure/asec vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0002,dmask=0002,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
tmpfs /mnt/sdcard/.android_secure tmpfs ro,relatime,size=0k,mode=000 0 0
/dev/block/dm-0 /mnt/asec/com.mantano.reader.android.lite-1 vfat ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-1 /mnt/asec/com.stt.android-1 vfat ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0

shell@android:/ $ ls -l /dev/block/platform/sdhci-tegra.3/by-name/
ls -l /dev/block/platform/sdhci-tegra.3/by-name/
lrwxrwxrwx root root 2012-06-28 11:51 APP -> /dev/block/mmcblk0p3
lrwxrwxrwx root root 2012-06-28 11:51 CAC -> /dev/block/mmcblk0p4
lrwxrwxrwx root root 2012-06-28 11:51 LNX -> /dev/block/mmcblk0p2
lrwxrwxrwx root root 2012-06-28 11:51 MDA -> /dev/block/mmcblk0p8
lrwxrwxrwx root root 2012-06-28 11:51 MSC -> /dev/block/mmcblk0p5
lrwxrwxrwx root root 2012-06-28 11:51 PER -> /dev/block/mmcblk0p7
lrwxrwxrwx root root 2012-06-28 11:51 SOS -> /dev/block/mmcblk0p1
lrwxrwxrwx root root 2012-06-28 11:51 UDA -> /dev/block/mmcblk0p9
lrwxrwxrwx root root 2012-06-28 11:51 USP -> /dev/block/mmcblk0p6

Google found for me that following are mappings into androind partitions

APP -> system
CAC -> cache
LNX -> boot.img
MDA -> Unknown
MSC -> Misc (bootloader commands and other misc stuff )
PER -> usually a fat partition containing sensor calibration etc. - per device provisioned.
SOS -> recovery.img
UDA -> /data - "user data area"
USP -> Staging

  • 0

#2
kn100

kn100

    Regular

  • Members
  • PipPip
  • 87 posts
  • Devices:ZTE Skate OMC
Yay! I wish I could help but I am just gonna thank you for at least trying to develop custom recovery!

  • 0

#3
tillaz

tillaz

    Hardcore

  • Developer Team
  • PipPipPipPipPipPip
  • 5,857 posts
  • Gender:Male
  • Location:Rockstar North
  • Interests:Alien Life
  • Devices:Moto X
is the bootloader not locked on this device

  • 0

#4
kliskobg

kliskobg

    Newbie

  • Members
  • Pip
  • 16 posts
  • Gender:Male
  • Location:Serbia
  • Devices:ZTE Skate, ZTE Grand X
I don't know. How can I check if it is locked?

  • 0

#5
tillaz

tillaz

    Hardcore

  • Developer Team
  • PipPipPipPipPipPip
  • 5,857 posts
  • Gender:Male
  • Location:Rockstar North
  • Interests:Alien Life
  • Devices:Moto X

I don't know. How can I check if it is locked?


not been able to get into bootloader mode might be a sign its locked,

best guy to ask about what you are doing is seb > http://www.modaco.co...8-sebastian404/
maybe ask him if can take a look at your thread

  • 0

#6
CoaBalboa

CoaBalboa

    Newbie

  • Members
  • Pip
  • 28 posts
  • Gender:Male
  • Location:Serbia, Belgrade
  • Devices:ZTE Grand X
Can anyone check this? http://jenkins.cyano.../recovery/7088/ Some one compile it and posted on one Serbian forum that is for Grand X, but no one has try it. Me neither.

  • 0
AndroidSrbija / aZZo

#7
kliskobg

kliskobg

    Newbie

  • Members
  • Pip
  • 16 posts
  • Gender:Male
  • Location:Serbia
  • Devices:ZTE Skate, ZTE Grand X
I uploaded the stock recovery to recovery builder which generated CWM from the link in CoaBalboa's post. I'd like to try to boot into it without flashing it the phone but haven't been able to do so. If any one can help, I am open for suggestions.

From what I learned, LG O2X is also tegra 2 based so I tried to get into APX mode following this thread but nothing really happens when I connect the phone to PC. I am out of ideas what to do, so I'll go with what tillaz has suggested and PM Sebastian404. Tillaz, thanks for the tip.

edit: cannot send PM to Sebastian404 :(

Edited by kliskobg, 11 October 2012 - 03:26 PM.

  • 0

#8
rassha

rassha

    Newbie

  • Members
  • Pip
  • 24 posts
  • Location:Serbia
  • Devices:HTC Desire
  • Twitter:@nenadr73
according to Chinese version of xda forums, root & recovery are achieved
Willing to try, but seem that recovery are all in Chinese.
Maybe someone can translate in english

Downloaded files, and uploaded here

Files included:
zteU970_Tools.exe (another root method)
recovery-off-open-adb.img

Instructions are on Cninese XDA site (use Goggle translate)

Edited by rassha, 11 October 2012 - 07:02 PM.

  • 0

#9
tillaz

tillaz

    Hardcore

  • Developer Team
  • PipPipPipPipPipPip
  • 5,857 posts
  • Gender:Male
  • Location:Rockstar North
  • Interests:Alien Life
  • Devices:Moto X
look here, he has a tut for clockworkmod on the zte v970 (grand x)

it might not work with the tegra 2 versions though

http://forum.xda-dev...d.php?t=1856578

  • 0

#10
CoaBalboa

CoaBalboa

    Newbie

  • Members
  • Pip
  • 28 posts
  • Gender:Male
  • Location:Serbia, Belgrade
  • Devices:ZTE Grand X
Someone need to test it...

edit:

copied from topic:
i just figured that i have a phone with Tegra chipset, so can't use your ROM

Edited by CoaBalboa, 12 October 2012 - 09:26 AM.

  • 0
AndroidSrbija / aZZo

#11
bartasrex

bartasrex

    Newbie

  • Members
  • Pip
  • 33 posts
  • Gender:Male
  • Devices:ZTE GRAND X
  • Twitter:@bartasrex

according to Chinese version of xda forums, root & recovery are achieved
Willing to try, but seem that recovery are all in Chinese.
Maybe someone can translate in english

Downloaded files, and uploaded here

Files included:
zteU970_Tools.exe (another root method)
recovery-off-open-adb.img

Instructions are on Cninese XDA site (use Goggle translate)



This is where we should look, Chinese u970 is almost identical to ours Grand X, it have tegra but stock clocked at 1,2ghz and 1gb of ram.
There is even a MIUI version for U970 with instruction on how to root & install it from recovery, but all is in Chinese and I don't know if its safe to do it on our Grand X, if there would be any hardware issues because of its differences.

Miui for U970

Edited by bartasrex, 12 October 2012 - 11:57 AM.

  • 0

#12
killar_aka_arabu

killar_aka_arabu

    Newbie

  • Members
  • Pip
  • 20 posts
trying to dump system and boot.img, but get error: permission denied

but adb pull /system working

  • 0

#13
bartasrex

bartasrex

    Newbie

  • Members
  • Pip
  • 33 posts
  • Gender:Male
  • Devices:ZTE GRAND X
  • Twitter:@bartasrex
tried to flash the recovery from MIUI site but when i booted to it there is no back light and i can only navigate by pressing down the - vol key, but i cant enter any option, pressing power button to chose does nothing. could anyone provide a stock recovery form his phone so i can flash it?

  • 0

#14
killar_aka_arabu

killar_aka_arabu

    Newbie

  • Members
  • Pip
  • 20 posts
here Download

p.s. this is just rar archive with recovery what i adb pulled from my stock rom.

can you provide link to site where you downloaded custom recovery?

Edited by killar_aka_arabu, 14 October 2012 - 12:37 PM.

  • 0

#15
bartasrex

bartasrex

    Newbie

  • Members
  • Pip
  • 33 posts
  • Gender:Male
  • Devices:ZTE GRAND X
  • Twitter:@bartasrex
i have translated the tools which was provided on the miui site and uploaded them here

  • 0

#16
bartasrex

bartasrex

    Newbie

  • Members
  • Pip
  • 33 posts
  • Gender:Male
  • Devices:ZTE GRAND X
  • Twitter:@bartasrex

here Download

p.s. this is just rar archive with recovery what i adb pulled from my stock rom.

can you provide link to site where you downloaded custom recovery?


could you help me with it? how can i push it to my phone?

  • 0

#17
killar_aka_arabu

killar_aka_arabu

    Newbie

  • Members
  • Pip
  • 20 posts
there are thread with stock rom
download it and put to sdcard

then turn off the phone and conect to usb cable
when phone showing charging battery, open cmd and locate adb files, then type
adb reboot recovery

then apply update from sdcard and choose file

  • 0

#18
bartasrex

bartasrex

    Newbie

  • Members
  • Pip
  • 33 posts
  • Gender:Male
  • Devices:ZTE GRAND X
  • Twitter:@bartasrex
but as i said, my recovery is kind of broken, after i flashed the one i have downloaded from miui site. i'm not able to choose any option;/

  • 0

#19
killar_aka_arabu

killar_aka_arabu

    Newbie

  • Members
  • Pip
  • 20 posts
try this with adb


adb shell
su
dd if=/sdcard/recovery-from-boot.p of=/dev/block/mmcblk0p1

  • 0

#20
bartasrex

bartasrex

    Newbie

  • Members
  • Pip
  • 33 posts
  • Gender:Male
  • Devices:ZTE GRAND X
  • Twitter:@bartasrex
did as you said and now it wont even boot to recovery. good thing is that system is still working, phone is booting and is fully usable, but without recovery i cant install anything and do factory reset;/

  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users