[Boost Mobile] For Discussion of Development for CM7 Only


Last Updated: 2012-11-29 05:38:14
  1. JBrd400

    JBrd400 Well-Known Member

    Used the "cm7 based rom installer" script.

    Edit: Maybe I misunderstood. I just tried with the default installer and just appended the entries you mentioned. "ls" works fine now.

    Advertisement
  2. downthemachine

    downthemachine Developer Incognito VIP Member

    Holy crap, I got telephone to work, problem is I made so many changes I don't know what did it. It also doesn't work the first minute after boot. Anyways I copied the /lib folder from my /system dump into the prebuilt. Also copied files to the /etc, but only the files that were a different size. And then I used the system.prop from quietstorm's cwm sources. I was able to make calls and "Boost Mobile" showed up as the carrier in the notifications pull down. I'll clean out my source and find exact reason it started working

    Edit:
    I still can't find the specific reason, it can't find the baseband, some reason su keeps force closing. Anyways there is alot of work here
    hroark13, PhoneMan93 and JBrd400 like this.
  3. hroark13

    hroark13 Well-Known Member Developer


    can you make an nandroid of that ROM
  4. downthemachine

    downthemachine Developer Incognito VIP Member

    Yep
    i'll just post it.
    Warning! This is for development only. Do not download.

    Sorry, had to put that in there since i can't pm you
    anyways here's the link, Ril starts up atleast a min after booting all the way up, no 3g, and it doesn't show any signal, but i was able to make calls. *nandroid form as requested*
    PM me if you want the build zip
    http://dl.dropbox.com/u/67621231/Cm7-tele.zip
    hroark13 likes this.
  5. Snake X

    Snake X Well-Known Member

    I have tried to compile it from hroark's source (fork'd it), didn't work. I removed liboemcamera, made that one line = true in boardconfig.mk, recompiled it, didn't work. I then downloaded arthur-3-30-13.zip and overrode the files from the device folder with the ones in that zip, recompiled it, and it didn't work.. I'm not sure what to do at this point. The output is generally like this, with more or less /build/core/* warnings at the beginning

    Code (Text):
    1.  
    2.  
    3. ============================================
    4. PLATFORM_VERSION_CODENAME=REL
    5. PLATFORM_VERSION=2.3.7
    6. TARGET_PRODUCT=ZTE_Warp
    7. TARGET_BUILD_VARIANT=eng
    8. TARGET_SIMULATOR=false
    9. TARGET_BUILD_TYPE=release
    10. TARGET_BUILD_APPS=
    11. TARGET_ARCH=arm
    12. TARGET_ARCH_VARIANT=armv7-a-neon
    13. HOST_ARCH=x86
    14. HOST_OS=linux
    15. HOST_BUILD_TYPE=release
    16. BUILD_ID=GINGERBREAD
    17. ============================================
    18. Checking build tools versions...
    19. build/core/base_rules.mk:474: warning: overriding commands for target `out/target/product/arthur/system/lib/libaudioalsa.so'
    20. build/core/base_rules.mk:474: warning: ignoring old commands for target `out/target/product/arthur/system/lib/libaudioalsa.so'
    21. build/core/prebuilt.mk:63: warning: overriding commands for target `out/target/product/arthur/obj/lib/libaudioalsa.so'
    22. build/core/dynamic_binary.mk:141: warning: ignoring old commands for target `out/target/product/arthur/obj/lib/libaudioalsa.so'
    23. find: `out/target/common/docs/gen': No such file or directory
    24. find: `out/target/common/docs/gen': No such file or directory
    25. find: `out/target/common/docs/gen': No such file or directory
    26. find: `out/target/common/docs/gen': No such file or directory
    27. find: `out/target/common/docs/gen': No such file or directory
    28. build/core/base_rules.mk:162: *** hardware/msm7k/libaudio-msm7x30: MODULE.TARGET.SHARED_LIBRARIES.libaudiopolicy already defined by device/zte/arthur/libaudio.  Stop.
    29.  
    :confused:
  6. downthemachine

    downthemachine Developer Incognito VIP Member

    Delete libaudio folder also, or delete the whole directory and unzip the arthur source
  7. Snake X

    Snake X Well-Known Member

    now i get

    Code (Text):
    1.  
    2.  
    3. ============================================
    4. PLATFORM_VERSION_CODENAME=REL
    5. PLATFORM_VERSION=2.3.7
    6. TARGET_PRODUCT=ZTE_Warp
    7. TARGET_BUILD_VARIANT=eng
    8. TARGET_SIMULATOR=false
    9. TARGET_BUILD_TYPE=release
    10. TARGET_BUILD_APPS=
    11. TARGET_ARCH=arm
    12. TARGET_ARCH_VARIANT=armv7-a-neon
    13. HOST_ARCH=x86
    14. HOST_OS=linux
    15. HOST_BUILD_TYPE=release
    16. BUILD_ID=GINGERBREAD
    17. ============================================
    18. Checking build tools versions...
    19. build/core/base_rules.mk:474: warning: overriding commands for target `out/target/product/arthur/system/lib/libwpa_client.so'
    20. build/core/base_rules.mk:474: warning: ignoring old commands for target `out/target/product/arthur/system/lib/libwpa_client.so'
    21. build/core/dynamic_binary.mk:141: warning: overriding commands for target `out/target/product/arthur/obj/lib/libwpa_client.so'
    22. build/core/prebuilt.mk:63: warning: ignoring old commands for target `out/target/product/arthur/obj/lib/libwpa_client.so'
    23. find: `out/target/common/docs/gen': No such file or directory
    24. find: `out/target/common/docs/gen': No such file or directory
    25. find: `out/target/common/docs/gen': No such file or directory
    26. find: `out/target/common/docs/gen': No such file or directory
    27. find: `out/target/common/docs/gen': No such file or directory
    28. build/core/base_rules.mk:162: *** hardware/ril/libril: MODULE.TARGET.SHARED_LIBRARIES.libril already defined by device/zte/arthur/libril.  Stop.
    29.  
    :c

    edit: I'll just try your second suggestion.. by arthur source you mean download hroark's repo in zip format or arthur-3-30-13.zip?
  8. JBrd400

    JBrd400 Well-Known Member

    I was getting the same thing. Hroark zipped up my current arthur folder and copied the folder containing his 3-30 source in there and renamed it arthur. That got me past all the shared library errors I was getting.
  9. Snake X

    Snake X Well-Known Member

    so which one is it now.. im confused :confused:

    u mentioned 3-30 sources but also said renamed to arthur :s
  10. JBrd400

    JBrd400 Well-Known Member

    Copy the 3-30 version of his source to ./device/zte/arthur.

    But remove the existing arthur folder first. Either zip it up or delete it as downthemachine suggested.
    Snake X likes this.
  11. downthemachine

    downthemachine Developer Incognito VIP Member

    Arthur-3-30
    Snake X likes this.
  12. Snake X

    Snake X Well-Known Member

    make: *** No rule to make target `vendor/cyanogen/proprietary/RomManager.apk', needed by `out/target/product/arthur/system/app/RomManager.apk'. Stop.

    ..Only if the app worked too.. :rolleyes:

    So yeah, I needs teh rom manager

    edit: I may have found it.. the one I need.. sec

    edit 2: Yeah I got it.. thanks every1 :)
  13. Snake X

    Snake X Well-Known Member

    Well this is new.. when I tried to install via cwm I get"

    assert failed: getprop("ro.product.device") == "
    ro.build.product") == "arthur" || getprop("ro.pr
    thur"
    E:Error in /sdcard/update-cm-nightly-signed.zip
    (Status 7)
    Installation aborted

    (I broke the lines up according to what it looked like on the screen)
  14. downthemachine

    downthemachine Developer Incognito VIP Member

    Just remove the first two lines of the updated script, I think the system.prop is where you actually fix the issue, but I don't remember
  15. JBrd400

    JBrd400 Well-Known Member

    Are you still using Quietstorm's version of CWM?
  16. Snake X

    Snake X Well-Known Member

    first 2 lines of system.prop:

    rild.libpath=/system/lib/libril-qc-1.so
    rild.libargs=-d /dev/smd0

    Those?
  17. downthemachine

    downthemachine Developer Incognito VIP Member

    No the update script, the one in the outputted zip from the build. I changed the system.prop to match the warp's build.prop. Those are two different things
  18. Snake X

    Snake X Well-Known Member

    Ok I'll ahve to check it out later.. thanks though, Ill let you know if it worked or not
  19. downthemachine

    downthemachine Developer Incognito VIP Member

    so as far as the radio goes, is it possible that cm7 is not mounting the radio partition correctly, or not copying the drivers correctly, now i managed to get the telephony to work, no data though, and it doesn't correctly see the baseband, which makes me think either the radio partition is not getting called at the correct point. i have printouts of all the init files and the files they call for partitions and scripts. i'll have to boot into the last build i made and make the same printouts and compare the files, maybe there is something getting missed? on the other hand, i thought that the files in /prebuilt , were just getting copied to the build. can anyone else confirm?
  20. JBrd400

    JBrd400 Well-Known Member

    I can't really help much as far as the radio stuff goes. I've been doing my own builds and even tried yours and can't see much difference as far as the logs go. (though the phone at least works with yours) So I'm really at a loss as far as troubleshooting this stuff goes. Anyway, I believe that files in prebuilt are not copied to the ROM unless you specify to do so in device_arthur.mk.
  21. bads3ctor

    bads3ctor Well-Known Member

    If you are compiling CM7 from source, you have to have a .mk file that tells the cyanogenmod build environment what files you want and the paths to where you want them to go.

    An example from my ICS Intercept build .mk file:

    PRODUCT_COPY_FILES += \
    device/samsung/intercept/prebuilt/intercept/hw/copybit.SPH-M910.so:system/lib/hw/copybit.SPH-M910.so \
    device/samsung/intercept/prebuilt/intercept/hw/gralloc.SPH-M910.so:system/lib/hw/gralloc.SPH-M910.so \
    device/samsung/intercept/prebuilt/intercept/hw/lights.SPH-M910.so:system/lib/hw/lights.SPH-M910.so \
    device/samsung/intercept/prebuilt/intercept/hw/sensors.SPH-M910.so:system/lib/hw/sensors.SPH-M910.so
    downthemachine likes this.
  22. downthemachine

    downthemachine Developer Incognito VIP Member

    It's not mounting the radio stuff in ueventd.rc well in winmerge there is alot that's not done, also init.qcom.sh is completely missing which makes calls to ril(radio layer interface)
    JBrd400 likes this.
  23. JBrd400

    JBrd400 Well-Known Member

    I did add the missing init scripts, but never considered ueventd.rc. Depending on what's not loading, that could potentially cause a lot of problems. I'll look around and see what I can find.

    Also, just a suggestion as far as editing device_arthur.mk if you didn't think of it already. It would be a good idea to create a new section in the file to do all your local file copies. That way it'll be easy to differentiate between hroark's source and any changes you make.
  24. downthemachine

    downthemachine Developer Incognito VIP Member

    Ueventd.rc is the first thing called in the init.rc
    I'll add that to the mk file tomorrow. Got to work in the morning;)
  25. JBrd400

    JBrd400 Well-Known Member

    The ueventd files are part of the ramdisk so they shouldn't really need to be copied manually. I looked in /dev on my build and see the vast majority of the stuff specified in ueventd.rc so I'm not sure what to think. Anyway, it'll be there for you tomorrow. :)

Share This Page