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

Root CWM 6 development

junkie2100

Android Expert
Mar 11, 2012
3,311
696
ok so the boot file you sent me worked other than the fact that it rebooted after about 2 minutes or so, and you tried the boardconfig.mk i had seperate from the rest of the device files as well?

POST DEVELOPMENT NOTE

this thread is no longer relevant, and can only be used for reference of what we did to get it to work. please see this one for the finished product
http://androidforums.com/warp-sequent-all-things-root/669226-cwm-6-0-2-7-stable-beta.html
 
I tried first the playfulgod device tree which is not your files at all. It was an accident because I forgot to swap the files before I built the img.

I also uploaded another img built with your device tree and the alternate boardconfig.mk. I tried to build with the boardconfig.mk in your device tree without success.
 
Upvote 0
ill try the next one and let you know how it goes. the last one seemed to work but it did the restarting crap, im hoping that its got something to do with the partition sizes he didnt enter, and also if this one is stable it will be incomplete, ill have to send you a new boardconfig but yea, here goes nothing
 
Upvote 0
huh, interesting... go back to using playfulgods stuff, and replace this section of his boardconfig.mk



TARGET_NO_BOOTLOADER := true
TARGET_BOARD_PLATFORM := msm7x30
TARGET_CPU_ABI := armeabi
TARGET_BOOTLOADER_BOARD_NAME := warp2
with this

TARGET_NO_BOOTLOADER := true
TARGET_BOARD_PLATFORM := msm7x30
TARGET_CPU_ABI := armeabi-v7a
TARGET_CPU_ABI2 := armeabi
TARGET_BOOTLOADER_BOARD_NAME := warp2
TARGET_ARCH_VARIANT := armv7-a-neon
TARGET_CPU_SMP := true
ARCH_ARM_HAVE_TLS_REGISTER := true
TARGET_GLOBAL_CFLAGS += -mfpu=neon -mfloat-abi=softfp
TARGET_GLOBAL_CPPFLAGS += -mfpu=neon -mfloat-abi=softfp
TARGET_BOARD_PLATFORM_GPU := qcom-adreno200
BOARD_USES_ADRENO_200 := true
#TARGET_USES_ION := false
TARGET_PROVIDES_INIT_RC := true
 
Upvote 0
k, and im gonna have you replace something in recovery.rc as well

change this

on property:persist.service.adb.enable=1
start adbd

on property:persist.service.adb.enable=0
stop adbd

setprop ro.secure "0"
setprop ro.allow.mock.location "0"
setprop ro.debuggable "1"
setprop persist.service.adb.enable "1"

to

on property:ro.debuggable=1
write /sys/class/android_usb/android0/enable 0
write /sys/class/android_usb/android0/functions adb
write /sys/class/android_usb/android0/enable 1

start adbd

# Restart adbd so it can run as root
on property:service.adb.root=1
write /sys/class/android_usb/android0/enable 0
restart adbd
write /sys/class/android_usb/android0/enable 1
 
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