1. Are you ready for the Galaxy S20? Here is everything we know so far!

CWM 6 development

Discussion in 'Android Devices' started by junkie2100, Dec 29, 2012.

  1. junkie2100

    junkie2100 Android Expert
    Thread Starter

    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
     



    1. Download the Forums for Android™ app!


      Download

       
  2. SuperR

    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.
     
  3. SuperR

    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
     
  4. junkie2100

    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
     
  5. SuperR

    SuperR Android Expert
    Recognized Developer

    good thinking :)
     
  6. junkie2100

    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
     
  7. SuperR

    SuperR Android Expert
    Recognized Developer

    I am rooting for you
     
  8. junkie2100

    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?
     
  9. SuperR

    SuperR Android Expert
    Recognized Developer

  10. junkie2100

    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
     
  11. SuperR

    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.
     
  12. SuperR

    SuperR Android Expert
    Recognized Developer

    Is there a way I could get the source to you? I could zip/upload it.
     
  13. junkie2100

    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
     
  14. SuperR

    SuperR Android Expert
    Recognized Developer

    Ok, new recovery uploaded :)
     
  15. junkie2100

    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
     
  16. junkie2100

    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
     
  17. junkie2100

    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
     
  18. SuperR

    SuperR Android Expert
    Recognized Developer

    ok, try her out
     
  19. junkie2100

    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
     
  20. junkie2100

    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
     
  21. SuperR

    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
     
  22. SuperR

    SuperR Android Expert
    Recognized Developer

    2c is ready ;)
     
  23. SuperR

    SuperR Android Expert
    Recognized Developer

    to clarify, 2c has all the changes you have suggested put together
     
  24. junkie2100

    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
     
  25. junkie2100

    junkie2100 Android Expert
    Thread Starter

    and ok thanks, i guess we will have a 2d as well lol
     

ZTE Warp Sequent Forum

The ZTE Warp Sequent release date was September 2012. Features and Specs include a 4.3" inch screen, 5MP camera, 768GB RAM, Snapdragon S2 processor, and 1650mAh battery.

September 2012
Release Date
0
Reviews
Loading...

Share This Page

Loading...