Root CWM 6 development

junkie2100

Android Expert
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
 

SuperR

Android Expert
Recognized Developer
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.
 

SuperR

Android Expert
Recognized Developer
Anyway, please try the new img posted here

edit: to be clear, the file recovery_alt_boardconfig.zip is built with your device tree and the alternalt boardconfig.mk file not in the warp2 folder
 

junkie2100

Android Expert
Thread starter
yea i added alot of crap to the boardconfig.mk in my device tree, thats why i put a secondary much less modified one in the zip as well
 

junkie2100

Android Expert
Thread starter
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
 

junkie2100

Android Expert
Thread starter
alright well that boardconfig doesnt mount the sd card, apparently i forgot to put the mount point in for that but regardless still reboots... you used the boardconfig from outside the directory for that one?
 

junkie2100

Android Expert
Thread starter
k. umm... well adb still seemed to be enabled, did you just paste my files over the playfulgod ones? because if so i think i might be able to locate the problem
 

SuperR

Android Expert
Recognized Developer
I deleted playfulgod files, then pasted your files. I have the wpa_supplicant files in the device tree on both recoveries.
 

junkie2100

Android Expert
Thread starter
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
 

junkie2100

Android Expert
Thread starter
kool, and while im testing that, try building one that replaces this
BOARD_KERNEL_CMDLINE := console=ttyMSM1,115200

with this

BOARD_KERNEL_CMDLINE := console=ttyMSM1,115200,n8 androidboot.hardware=qcom vmalloc=512M kgsl.ptcount=14
 

junkie2100

Android Expert
Thread starter
ok that first modification didnt break it, so we are doing good so far, but it still kills itself and i found that mounting as usb storage doesnt work but that can be worked out later. now lets see if the console commands make a difference
 

junkie2100

Android Expert
Thread starter
and as far as the uploading the source goes unfortunately no i cant get that much data successfully. but yea maybe if we use these initialization commands that booted cm9 on the warp 1 itll make cwm boot on the warp 2. if not im going to have to keep looking
 

junkie2100

Android Expert
Thread starter
and regardless of whether this one works or not, change this line near the bottom
ADDITIONAL_DEFAULT_PROPERTIES += persist.sys.usb.config=mass_storage

to this

ADDITIONAL_DEFAULT_PROPERTIES += persist.sys.usb.config=mtp,adb
 

junkie2100

Android Expert
Thread starter
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
 

SuperR

Android Expert
Recognized Developer
ok, 2b is the ADDITIONAL_DEFAULT_PROPERTIES += persist.sys.usb.config=mtp,adb

2c is coming with the last mod
 

junkie2100

Android Expert
Thread starter
actually hang on, im gonna upload a new recovery.rc for you, this one should work better. give me one second to get drop box on here and upload it
 
Top