Announcement

Collapse
No announcement yet.

Announcement

Collapse
No announcement yet.

CM11 for A/S8 (in-progress)

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    CM11 for A/S8 (in-progress)

    So now I have successfully installed CM11. Constant bootloop. Added some libs from the stock rom and still no go.

    E/AudioFlinger(28065): int android::load_audio_interface(const char*, audio_hw_d
    evice_t**) couldn't load audio hw module audio.usb (No such file or directory)
    I/AudioFlinger(28065): loadHwModule() error -2 loading module usb
    W/AudioPolicyManagerBase(28065): could not open HW module usb
    I/AudioPolicyService(28065): Loaded audio policy from LEGACY Audio Policy HAL (a
    udio_policy)
    V/NatController(28066): runCmd(/system/bin/iptables -F natctrl_FORWARD) res=0
    V/NatController(28066): runCmd(/system/bin/iptables -A natctrl_FORWARD -j DROP)
    res=0
    V/NatController(28066): runCmd(/system/bin/iptables -t nat -F natctrl_nat_POSTRO
    UTING) res=0
    V/NatController(28066): runCmd(/system/bin/ip rule flush) res=255
    V/NatController(28066): runCmd(/system/bin/ip -6 rule flush) res=255
    V/NatController(28066): runCmd(/system/bin/ip rule add from all lookup default p
    rio 32767) res=254
    V/NatController(28066): runCmd(/system/bin/ip rule add from all lookup main prio
    32766) res=254
    V/NatController(28066): runCmd(/system/bin/ip -6 rule add from all lookup defaul
    t prio 32767) res=254
    V/NatController(28066): runCmd(/system/bin/ip -6 rule add from all lookup main p
    rio 32766) res=254
    V/NatController(28066): runCmd(/system/bin/ip route flush cache) res=0
    V/NatController(28066): runCmd(/system/bin/iptables -F natctrl_FORWARD) res=0
    V/NatController(28066): runCmd(/system/bin/iptables -t nat -F natctrl_nat_POSTRO
    UTING) res=0
    V/NatController(28066): runCmd(/system/bin/ip route flush cache) res=0
    V/NatController(28066): runCmd(/system/bin/iptables -F natctrl_tether_counters)
    res=0
    V/NatController(28066): runCmd(/system/bin/iptables -X natctrl_tether_counters)
    res=0
    V/NatController(28066): runCmd(/system/bin/iptables -N natctrl_tether_counters)
    res=0
    D/MDnsDS (28066): MDnsSdListener::Hander starting up
    D/MDnsDS (28066): MDnsSdListener starting to monitor
    D/MDnsDS (28066): Going to poll with pollCount 1
    I/installd(28345): installd firing up
    E/cutils (28345): Failed to read /data/.layout_version: No such file or directo
    ry
    E/installd(28345): Could not create directories; exiting.
    E/keystore(28346): chdir: /data/misc/keystore: No such file or directory
    D/AndroidRuntime(28344):
    D/AndroidRuntime(28344): >>>>>> AndroidRuntime START com.android.internal.os.Zyg
    oteInit <<<<<<
    D/AndroidRuntime(28344): CheckJNI is OFF
    E/dalvikvm(28344): Could not stat dex cache directory '/data/dalvik-cache': No s
    uch file or directory
    I/dalvikvm(28344): Unable to open or create cache for /system/framework/core.jar
    (/data/dalvik-cache/system@[email protected]@classes.dex)
    D/dalvikvm(28344): Unable to process classpath element '/system/framework/core.j
    ar'
    E/dalvikvm(28344): Could not stat dex cache directory '/data/dalvik-cache': No s
    uch file or directory
    I/dalvikvm(28344): Unable to open or create cache for /system/framework/core-jun
    it.jar (/data/dalvik-cache/system@[email protected]@classes.dex)
    D/dalvikvm(28344): Unable to process classpath element '/system/framework/core-j
    unit.jar'
    E/dalvikvm(28344): Could not stat dex cache directory '/data/dalvik-cache': No s
    uch file or directory
    I/dalvikvm(28344): Unable to open or create cache for /system/framework/bouncyca
    stle.jar (/data/dalvik-cache/system@[email protected]@classes.dex)
    D/dalvikvm(28344): Unable to process classpath element '/system/framework/bouncy
    castle.jar'
    E/dalvikvm(28344): Could not stat dex cache directory '/data/dalvik-cache': No s
    uch file or directory
    I/dalvikvm(28344): Unable to open or create cache for /system/framework/ext.jar
    (/data/dalvik-cache/system@[email protected]@classes.dex)
    D/dalvikvm(28344): Unable to process classpath element '/system/framework/ext.ja
    r'
    E/dalvikvm(28344): Could not stat dex cache directory '/data/dalvik-cache': No s
    uch file or directory
    I/dalvikvm(28344): Unable to open or create cache for /system/framework/framewor
    k.jar (/data/dalvik-cache/system@[email protected]@classes.dex)
    D/dalvikvm(28344): Unable to process classpath element '/system/framework/framew
    ork.jar'
    E/dalvikvm(28344): Could not stat dex cache directory '/data/dalvik-cache': No s
    uch file or directory
    I/dalvikvm(28344): Unable to open or create cache for /system/framework/telephon
    y-common.jar (/data/dalvik-cache/system@[email protected]@classes.d
    ex)
    D/dalvikvm(28344): Unable to process classpath element '/system/framework/teleph
    ony-common.jar'
    E/dalvikvm(28344): Could not stat dex cache directory '/data/dalvik-cache': No s
    uch file or directory
    I/dalvikvm(28344): Unable to open or create cache for /system/framework/mms-comm
    on.jar (/data/dalvik-cache/system@[email protected]@classes.dex)
    D/dalvikvm(28344): Unable to process classpath element '/system/framework/mms-co
    mmon.jar'
    E/dalvikvm(28344): Could not stat dex cache directory '/data/dalvik-cache': No s
    uch file or directory
    I/dalvikvm(28344): Unable to open or create cache for /system/framework/android.
    policy.jar (/data/dalvik-cache/system@[email protected]@classes.dex)
    D/dalvikvm(28344): Unable to process classpath element '/system/framework/androi
    d.policy.jar'
    E/dalvikvm(28344): Could not stat dex cache directory '/data/dalvik-cache': No s
    uch file or directory
    I/dalvikvm(28344): Unable to open or create cache for /system/framework/services
    .jar (/data/dalvik-cache/system@[email protected]@classes.dex)
    D/dalvikvm(28344): Unable to process classpath element '/system/framework/servic
    es.jar'
    E/dalvikvm(28344): Could not stat dex cache directory '/data/dalvik-cache': No s
    uch file or directory
    I/dalvikvm(28344): Unable to open or create cache for /system/framework/apache-x
    ml.jar (/data/dalvik-cache/system@[email protected]@classes.dex)
    D/dalvikvm(28344): Unable to process classpath element '/system/framework/apache
    -xml.jar'
    E/dalvikvm(28344): No valid entries found in bootclasspath '/system/framework/co
    re.jar:/system/framework/core-junit.jar:/system/framework/bouncycastle.jar:/syst
    em/framework/ext.jar:/system/framework/framework.jar:/system/framework/telephony
    -common.jar:/system/framework/mms-common.jar:/system/framework/android.policy.ja
    r:/system/framework/services.jar:/system/framework/apache-xml.jar'
    E/dalvikvm(28344): VM aborting
    F/libc (28344): Fatal signal 6 (SIGABRT) at 0x00006eb8 (code=-6), thread 2834
    4 (zygote)
    I/DEBUG ( 1135): failed to open tombstone file '/data/tombstones/tombstone_00'
    : No such file or directory
    I/ServiceManager( 1132): service 'media.audio_policy' died
    I/ServiceManager( 1132): service 'media.audio_flinger' died
    I/ServiceManager( 1132): service 'media.player' died
    I/ServiceManager( 1132): service 'media.camera' died
    I/Netd (28348): Netd 1.0 starting
    W/InterfaceController(28348): Warning (dlopen failed: library "/system/lib/libne
    tcmdiface.so" not found) while opening the net interface command library
    I/mediaserver(28347): ServiceManager: 0x41108468
    I/AudioFlinger(28347): Using default 3000 mSec as standby time.
    E/MediaPlayerFactory(28347): calling dlopen on FACTORY_LIB
    E/MediaPlayerFactory(28347): Failed to open FACTORY_LIB Error : dlopen failed: l
    ibrary "libdashplayer.so" not found
    I/CameraService(28347): CameraService started (pid=28347)
    E/CameraService(28347): Could not load camera HAL module
    I/AudioPolicyManagerBase(28347): loadAudioPolicyConfig() loaded /system/etc/audi
    o_policy.conf
    I/AudioFlinger(28347): loadHwModule() Loaded primary audio interface from Defaul
    t audio HW HAL (audio) handle 1
    I/AudioFlinger(28347): HAL output buffer size 1024 frames, normal mix buffer siz
    e 1024 frames
    I/AudioMixer(28347): found effect "Multichannel Downmix To Stereo" from The Andr
    oid Open Source Project
    I/AudioFlinger(28347): Using module 1 has the primary audio interface
    I/AudioFlinger(28347): AudioFlinger's thread 0x40e64008 ready to run
    W/AudioFlinger(28347): Thread AudioOut_2 cannot connect to the power manager ser
    vice
    W/AudioFlinger(28347): Thread AudioOut_2 cannot connect to the power manager ser
    vice
    W/AudioFlinger(28347): Thread AudioOut_2 cannot connect to the power manager ser
    vice
    E/AudioFlinger(28347): no wake lock to update!
    I/audio_a2dp_hw(28347): adev_open: adev_open in A2dp_hw module
    I/AudioFlinger(28347): loadHwModule() Loaded a2dp audio interface from A2DP Audi
    o HW HAL (audio) handle 3
    E/AudioFlinger(28347): int android::load_audio_interface(const char*, audio_hw_d
    evice_t**) couldn't load audio hw module audio.usb (No such file or directory)
    I/AudioFlinger(28347): loadHwModule() error -2 loading module usb
    W/AudioPolicyManagerBase(28347): could not open HW module usb
    I/AudioPolicyService(28347): Loaded audio policy from LEGACY Audio Policy HAL (a
    udio_policy)
    V/NatController(28348): runCmd(/system/bin/iptables -F natctrl_FORWARD) res=0
    V/NatController(28348): runCmd(/system/bin/iptables -A natctrl_FORWARD -j DROP)
    res=0
    V/NatController(28348): runCmd(/system/bin/iptables -t nat -F natctrl_nat_POSTRO
    UTING) res=0
    V/NatController(28348): runCmd(/system/bin/ip rule flush) res=255
    V/NatController(28348): runCmd(/system/bin/ip -6 rule flush) res=255
    V/NatController(28348): runCmd(/system/bin/ip rule add from all lookup default p
    rio 32767) res=254
    V/NatController(28348): runCmd(/system/bin/ip rule add from all lookup main prio
    32766) res=254
    V/NatController(28348): runCmd(/system/bin/ip -6 rule add from all lookup defaul
    t prio 32767) res=254
    V/NatController(28348): runCmd(/system/bin/ip -6 rule add from all lookup main p
    rio 32766) res=254
    V/NatController(28348): runCmd(/system/bin/ip route flush cache) res=0
    V/NatController(28348): runCmd(/system/bin/iptables -F natctrl_FORWARD) res=0
    V/NatController(28348): runCmd(/system/bin/iptables -t nat -F natctrl_nat_POSTRO
    UTING) res=0
    V/NatController(28348): runCmd(/system/bin/ip route flush cache) res=0
    V/NatController(28348): runCmd(/system/bin/iptables -F natctrl_tether_counters)
    res=0
    V/NatController(28348): runCmd(/system/bin/iptables -X natctrl_tether_counters)
    res=0
    V/NatController(28348): runCmd(/system/bin/iptables -N natctrl_tether_counters)
    res=0
    D/MDnsDS (28348): MDnsSdListener::Hander starting up
    D/MDnsDS (28348): MDnsSdListener starting to monitor
    D/MDnsDS (28348): Going to poll with pollCount 1
    I/installd(28627): installd firing up
    E/cutils (28627): Failed to read /data/.layout_version: No such file or directo
    ry
    E/installd(28627): Could not create directories; exiting.
    E/keystore(28628): chdir: /data/misc/keystore: No such file or directory
    D/AndroidRuntime(28626):
    D/AndroidRuntime(28626): >>>>>> AndroidRuntime START com.android.internal.os.Zyg
    oteInit <<<<<<
    D/AndroidRuntime(28626): CheckJNI is OFF
    E/dalvikvm(28626): Could not stat dex cache directory '/data/dalvik-cache': No s
    uch file or directory
    I/dalvikvm(28626): Unable to open or create cache for /system/framework/core.jar
    (/data/dalvik-cache/system@[email protected]@classes.dex)
    D/dalvikvm(28626): Unable to process classpath element '/system/framework/core.j
    ar'
    E/dalvikvm(28626): Could not stat dex cache directory '/data/dalvik-cache': No s
    uch file or directory
    I/dalvikvm(28626): Unable to open or create cache for /system/framework/core-jun
    it.jar (/data/dalvik-cache/system@[email protected]@classes.dex)
    D/dalvikvm(28626): Unable to process classpath element '/system/framework/core-j
    unit.jar'
    E/dalvikvm(28626): Could not stat dex cache directory '/data/dalvik-cache': No s
    uch file or directory
    I/dalvikvm(28626): Unable to open or create cache for /system/framework/bouncyca
    stle.jar (/data/dalvik-cache/system@[email protected]@classes.dex)
    D/dalvikvm(28626): Unable to process classpath element '/system/framework/bouncy
    castle.jar'
    E/dalvikvm(28626): Could not stat dex cache directory '/data/dalvik-cache': No s
    uch file or directory
    I/dalvikvm(28626): Unable to open or create cache for /system/framework/ext.jar
    (/data/dalvik-cache/system@[email protected]@classes.dex)
    D/dalvikvm(28626): Unable to process classpath element '/system/framework/ext.ja
    r'
    E/dalvikvm(28626): Could not stat dex cache directory '/data/dalvik-cache': No s
    uch file or directory
    I/dalvikvm(28626): Unable to open or create cache for /system/framework/framewor
    k.jar (/data/dalvik-cache/system@[email protected]@classes.dex)
    D/dalvikvm(28626): Unable to process classpath element '/system/framework/framew
    ork.jar'
    E/dalvikvm(28626): Could not stat dex cache directory '/data/dalvik-cache': No s
    uch file or directory
    I/dalvikvm(28626): Unable to open or create cache for /system/framework/telephon
    y-common.jar (/data/dalvik-cache/system@[email protected]@classes.d
    ex)
    D/dalvikvm(28626): Unable to process classpath element '/system/framework/teleph
    ony-common.jar'
    E/dalvikvm(28626): Could not stat dex cache directory '/data/dalvik-cache': No s
    uch file or directory
    I/dalvikvm(28626): Unable to open or create cache for /system/framework/mms-comm
    on.jar (/data/dalvik-cache/system@[email protected]@classes.dex)
    D/dalvikvm(28626): Unable to process classpath element '/system/framework/mms-co
    mmon.jar'
    E/dalvikvm(28626): Could not stat dex cache directory '/data/dalvik-cache': No s
    uch file or directory
    I/dalvikvm(28626): Unable to open or create cache for /system/framework/android.
    policy.jar (/data/dalvik-cache/system@[email protected]@classes.dex)
    D/dalvikvm(28626): Unable to process classpath element '/system/framework/androi
    d.policy.jar'
    E/dalvikvm(28626): Could not stat dex cache directory '/data/dalvik-cache': No s
    uch file or directory
    I/dalvikvm(28626): Unable to open or create cache for /system/framework/services
    .jar (/data/dalvik-cache/system@[email protected]@classes.dex)
    D/dalvikvm(28626): Unable to process classpath element '/system/framework/servic
    es.jar'
    E/dalvikvm(28626): Could not stat dex cache directory '/data/dalvik-cache': No s
    uch file or directory
    I/dalvikvm(28626): Unable to open or create cache for /system/framework/apache-x
    ml.jar (/data/dalvik-cache/system@[email protected]@classes.dex)
    D/dalvikvm(28626): Unable to process classpath element '/system/framework/apache
    -xml.jar'
    E/dalvikvm(28626): No valid entries found in bootclasspath '/system/framework/co
    re.jar:/system/framework/core-junit.jar:/system/framework/bouncycastle.jar:/syst
    em/framework/ext.jar:/system/framework/framework.jar:/system/framework/telephony
    -common.jar:/system/framework/mms-common.jar:/system/framework/android.policy.ja
    r:/system/framework/services.jar:/system/framework/apache-xml.jar'
    E/dalvikvm(28626): VM aborting
    F/libc (28626): Fatal signal 6 (SIGABRT) at 0x00006fd2 (code=-6), thread 2862
    6 (zygote)
    I/DEBUG ( 1135): failed to open tombstone file '/data/tombstones/tombstone_00'
    : No such file or directory
    I/ServiceManager( 1132): service 'media.audio_policy' died
    I/ServiceManager( 1132): service 'media.audio_flinger' died
    I/ServiceManager( 1132): service 'media.player' died
    I/ServiceManager( 1132): service 'media.camera' died
    I/Netd (28630): Netd 1.0 starting
    W/InterfaceController(28630): Warning (dlopen failed: library "/system/lib/libne
    tcmdiface.so" not found) while opening the net interface command library
    I/mediaserver(28629): ServiceManager: 0x40b9c468
    I/AudioFlinger(28629): Using default 3000 mSec as standby time.
    E/MediaPlayerFactory(28629): calling dlopen on FACTORY_LIB
    E/MediaPlayerFactory(28629): Failed to open FACTORY_LIB Error : dlopen failed: l
    ibrary "libdashplayer.so" not found
    I/CameraService(28629): CameraService started (pid=28629)
    E/CameraService(28629): Could not load camera HAL module
    I/AudioPolicyManagerBase(28629): loadAudioPolicyConfig() loaded /system/etc/audi
    o_policy.conf
    I/AudioFlinger(28629): loadHwModule() Loaded primary audio interface from Defaul
    t audio HW HAL (audio) handle 1
    I/AudioFlinger(28629): HAL output buffer size 1024 frames, normal mix buffer siz
    e 1024 frames
    I/AudioMixer(28629): found effect "Multichannel Downmix To Stereo" from The Andr
    oid Open Source Project
    I/AudioFlinger(28629): Using module 1 has the primary audio interface
    I/AudioFlinger(28629): AudioFlinger's thread 0x40b4f008 ready to run
    W/AudioFlinger(28629): Thread AudioOut_2 cannot connect to the power manager ser
    vice
    I/audio_a2dp_hw(28629): adev_open: adev_open in A2dp_hw module
    I/AudioFlinger(28629): loadHwModule() Loaded a2dp audio interface from A2DP Audi
    o HW HAL (audio) handle 3
    E/AudioFlinger(28629): int android::load_audio_interface(const char*, audio_hw_d
    evice_t**) couldn't load audio hw module audio.usb (No such file or directory)
    I/AudioFlinger(28629): loadHwModule() error -2 loading module usb
    W/AudioPolicyManagerBase(28629): could not open HW module usb
    I/AudioPolicyService(28629): Loaded audio policy from LEGACY Audio Policy HAL (a
    udio_policy)

    Something tells me /data didn't get installed.

    #2
    When you go to install CM11 are you destroying all the partitions, save the recover partition and making them over from scratch?

    I've been looking at how to create a custom ROM using stock ROM and CM but I'm not sure which kitchen to use for cooking it. Thankfully we are able to have a working TWRP as most tutorials have them as something you need. I haven't been able to get far though as I'm trying to figure out how to access all the TWRP backup stuff...and chase after RL kids at the same time.

    If there is anything I can do to help let me know.

    Comment


      #3
      Well I installed it using PhoenixSuit, which I'm afraid is likely the reason. I've searched on Google anywhere, this doesn't seem like a very spread-out problem.

      TWRP 2.6.3.0 doesn't work for KitKat sadly, we need a CWM 6.0.4.3+.

      Addition: I'm also using stock kernel, which could be a reason.

      Comment


        #4
        Originally posted by AManofFewWords View Post
        Well I installed it using PhoenixSuit, which I'm afraid is likely the reason. I've searched on Google anywhere, this doesn't seem like a very spread-out problem.

        TWRP 2.6.3.0 doesn't work for KitKat sadly, we need a CWM 6.0.4.3+.

        Addition: I'm also using stock kernel, which could be a reason.
        Yeah, when I tested out the ROM I was installing it through TWRP and then it would do a repeated boot loop and I have yet to find out which buttons I need to push to get into recovery. This device is pretty different compared to what I'm used to. I'm used to putting CWM on an external SD card and doing custom partitions and installing CWM. Then installing the ROM through that.

        From what I've read the kernel from CM may need to be modified to work with our A/S8's. I would like to get CWM to work on the Polaroid but most of what I've found is that it has issues with touch screen. Which shouldn't be a problem since there is a physical volume rocker to use.

        Comment


          #5
          Yeah, CWM doesn't need to be touch screen, I'm pretty sure we'll go better without it.

          Hopefully it's just PhoenixSuit's flashing that's being the problem. If not, I'm gonna compile a new kernel.

          Comment


            #6
            Originally posted by AManofFewWords View Post
            Yeah, CWM doesn't need to be touch screen, I'm pretty sure we'll go better without it.

            Hopefully it's just PhoenixSuit's flashing that's being the problem. If not, I'm gonna compile a new kernel.
            Best bet would be to compile a new kernel to install without PhoenixSuit and through CWM. Probably end up with less issues as far installing goes. I've noticed that when you install the stock ROM or the modded stock ROM with PhoenixSuit, it wipes everything, all partitions and all data and creates all the partitions based on what the img has. If we need to go by the way of PS then we'll need to have all partitions set up, including the recovery partition, data, system, cache etc etc. It's the only thing I can think of right now.

            Comment


              #7
              If you could upload the CWM img you have right now, that would be fine.

              Comment


                #8
                Question maybe you know the answer to. I'm doing a dump of the modded stock ROM (guess's modded rom) and I have the misc, boot, recovery and system.img's but not sure which partition is the kernel partition. I think the backup partition is databk but not really clear on that one. Do you know?

                Comment


                  #9
                  Kernel has no partition, kernel is built inside the boot partition, along with ramdisk.

                  Comment


                    #10
                    interesting, so I'm working on dumping the ROM and most of the directions and tuts I've found which talk about doing dd if="blah blah" mention doing an boot.img and a kernel.img but nothing about the kernel being inside the boot.

                    This is what I'm going by http://www.freaktab.com/showthread.p...LASHABLE-IMAGE

                    Comment


                      #11
                      That is a Rockchip 3188 device. This is an Allwinner A20 device. They have different partition layouts, the kernel is found inside the boot.img when it is unpacked.

                      Comment


                        #12
                        Originally posted by AManofFewWords View Post
                        That is a Rockchip 3188 device. This is an Allwinner A20 device. They have different partition layouts, the kernel is found inside the boot.img when it is unpacked.
                        Specifically called the zimage file btw.
                        https://public.bay.livefilestore.com...ion.png?psid=1

                        Comment


                          #13
                          I think it's a uImage.... but the difference between a zImage and a uImage is that the uImage uses a modified header for u-boot.

                          Comment


                            #14
                            Alrighty, makes sense. So then what does [private] located at /dev/block/nanj have? I also see [UDISK] at /dev/block/nandk and another [env] at /dev/block/nandb. I'm just not used to seeing these label as such. Are they needed when doing a dump or just boot, data, misc, recovery and system?

                            Comment


                              #15
                              Re: CM11 for A/S8 (in-progress)

                              Re:uimage-

                              Possible. I'm going off info for the a10

                              Sent from my SM-N900P using Tapatalk
                              https://public.bay.livefilestore.com...ion.png?psid=1

                              Comment

                              Working...
                              X