• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root [Recovery][CWM] ClockworkMod v6.0.3.7 (~WORKING!)

cooldudezach

Android Enthusiast
Jun 27, 2011
556
195
Hello all! I, like many of you probably, picked this phone up on black friday for cheap. As a result, I now have a new playtoy! (I had the Kyocera Rise before this, did all I could to get CWM working on it. Locked down pretty tight, which is why I'm here now!)

First thing I did for this bad boy? Figure out how to properly build a working CWM image!

What doesn't work:
-Still need to figure out accessing internal and external sd cards
-'mount USB storage' doesn't throw errors, but nothing happens on my computer
-It has that annoying 1970 backup date bug. Not fixable as far as I'm aware.

What works:
-Everything else, supposedly

I have successfully performed backups and restores many times now, with no ill effects.



Now for the juicy details!

How do you go about installing this?
-Make sure you are rooted! (I may put together a guide for this, it was confusing as all get out. I ended up using that KINGO method or something)
-make sure you make a backup of your stock recovery just in case!
Code:
dd if=/dev/block/mmcblk0p16 of=/sdcard/recovery.img
-I had to use this command (fastboot flash recovery does NOT work):
Code:
dd if=/dev/zero of=/dev/block/mmcblk0p16
dd if=/path/to/cwm.img of=/dev/block/mmcblk0p16
If all goes well, you should be able to boot into recovery:
-from poweroff
Code:
Vol Down + Power
-from poweron (from computer)
Code:
adb reboot recovery
-from poweron (on device using terminal emulator)
Code:
reboot recovery
I've been debugging this a good bit the last few days, but this should be considered a beta build!

DISCLAIMER:
I AM NOT RESPONSIBLE IF YOUR DEVICE IS PUT INTO AN UNUSABLE STATE AS A RESULT OF USING THIS RECOVERY!

MAKE SURE YOU ALWAYS PRACTICE SAFE FLASHING METHODS!

Download link (for now I'm using my Box.com account)
https://app.box.com/s/7u7ll8t1ek3txbz52ghd

Edit:
Let me know if anything goes wrong, or if I need to change something!

Edit2:
Here are the repo's for those interested:
Device:
https://github.com/cooldudezach/android_device_zte_nex

Kernel
https://github.com/cooldudezach/android_kernel_zte_nex

And a manifest for you as well:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
  <project name="cooldudezach/android_device_zte_nex" path="device/zte/nex" remote="github" revision="cm-10.1" />
  <project name="cooldudezach/android_kernel_zte_nex" path="kernel/zte/nex" remote="github" revision="cm-10.1" />
</manifest>
 
  • Like
Reactions: tli
And before you ask, I haven't been successful in getting CM10.1 to boot. (Sits on the picture of the android forever) Not sure why, really. I'm new to building CM, so help would be appreciated!

As I stated, it just sits on the picture of the startup android image. I do have limited adb access, so I can reboot the device but can't open the shell (get a file not found error, so I assume /system isn't mounting somehow)
 
Upvote 0
do you have a github? id like to see the tree that built a bootable cwm. might be able to help

I *have* one, but I don't have the source up on it yet. I need to though. *goes to do said project*

CWM wasn't too difficult, biggest issue was getting the image to build properly. At first I was just swapping the ramdisk with abootimg.
 
Upvote 0
take a look at my repo for the zte aurora. github.com/junkie2100 jellybean branch. the problem is most likely either ramdisk related or possivly something to do with necessary proprietary files. take a look at the device.mk or device-aurora.mk or whatever its named. and the proprietary-files.txt i think is the name of the other one. match those as close as you can without erroring out due to missing files and you should be able to at least get off andy(the green guy)
 
Upvote 0
8930 = 2x 8630s
cm10 was only set up for old kraits though. 8960 chips. so most cms built for 8930 devices use 8960 for that value. though im not even sure it matters lol. just throwin it out there as something to think about and tinker with
Ah, that makes sense. Where would I find this information in the wild? I assumed it was something along those lines, I just couldn't find it. 8960 it is then. Maybe that will fix the segfaulting when trying to boot TWRP? Who knows.

Edit:
Was bored so I installed CpuIdentifier and AnTuTu, and they too both identified the CPU as an 8930.
 
Upvote 0
set it to 8960, it triggers certain things youll need and is still krait. but yea are you using yaffs2 anywhere in the cm fstab? kuz that would cause a serious issue, and youll need to tweak the .rc files in your ramdisk as well as use certain proprietary files from stock for it to ever boot up. also cm10.1+ has a graphical incompatibility with older ztes. another reason i recommended cm10. and you may want to go with adreno 200/205 in the boardconfig as well. thats all i can think of right now
 
Upvote 0
set it to 8960, it triggers certain things youll need and is still krait. but yea are you using yaffs2 anywhere in the cm fstab? kuz that would cause a serious issue, and youll need to tweak the .rc files in your ramdisk as well as use certain proprietary files from stock for it to ever boot up. also cm10.1+ has a graphical incompatibility with older ztes. another reason i recommended cm10. and you may want to go with adreno 200/205 in the boardconfig as well. thats all i can think of right now

No yaffs2 here, all emmc and ext4. (vfat for the sdcard) I'll try 200/205 and try to build it.

Edit:
Any idea why TWRP segfaults at boot? I don't even get the curtain, it just reboots itself every 5 seconds. (not the device, the script or whatever. I can stay hooked up to it in adb just fine, which is how I pulled the log to see that)
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones