Evervolv 3.2/CM10.1 (4.2.2) development thread -All welcome

Search This thread

mcgi5sr2

Senior Member
Oct 15, 2012
1,059
1,811
Sheffield
evervolv3.2.png

This is the start of the Evervolv build for the PrimoU, it should give us all a good base to learn how to build from source and get more roms up and running for this device. The original device tree and msm7x30 come from @1ceb0x who I am extremely grateful for helping me understand the little I already do.

https://github.com/mcgi5sr2 contains all the sources I have so far.

Working:
boot to adb

Not Working:
Everything else :p

XDA:DevDB Information
EV3.2/CM10.1 restart, a ROM for the HTC One V

Contributors
mcgi5sr2, mcgi5sr2, MScorporation95
ROM OS Version: 4.2.x Jelly Bean
ROM Kernel: Linux 3.0.x
ROM Firmware Required: PrimoU
Based On: AOSP

Version Information
Status: Alpha
Current Stable Version: N/A

Created 2014-04-07
Last Updated 2014-04-17
 

mcgi5sr2

Senior Member
Oct 15, 2012
1,059
1,811
Sheffield
Status:
20140407: Rom boots past HTC logo and adb is available, no bootanimation

Handy Terminal Commands:
#Make rom command can use mka instead in CM based roms, also creates log -j* indicates number of cores to use in building
make -j8 otapackage 2>&1 | tee filename.log

#Adds logcat pull request -thanks Lloir
add this to your init.primou.rc

service logcat /system/bin/logcat -f /data/data/logcat
class main
oneshot

reboot into recovery once you got "enough"
adb pull /data/data/logcat
and tada you have a logcat

#Pulls last kernel kmsg - reboot straight into recovery then pull -thanks Simon
adb pull /proc/last_kmsg kernel.txt

#Clears the heads for a new clean sync - helps fix repo sync issues
repo forall -vc "git reset --hard"
 
Last edited:

mcgi5sr2

Senior Member
Oct 15, 2012
1,059
1,811
Sheffield
So building from source is fun and can take a lot of time. Ultimately it will benefit you and the community somehow.
http://xdaforums.com/showthread.php?t=2060017
Is a good starting point.
http://wiki.cyanogenmod.org/w/Development
Also contains loads of info on how to get started on it all
http://wiki.cyanogenmod.org/w/Doc:_porting_intro
and also how to port
http://elinux.org/Android_Build_System
How building works...

Also the Evervol git hub:
https://github.com/Evervolv/android
will show you the sources we are currently using, I have no qualms with anyone going freelance and splitting into their own sources or anything else they want to try. I can help with the compiling errors etc, where I can but not with anything after that as I am yet to get through all of that myself.

Anyway I am trying to build the JellyBean version which relates to EV3.2 or Android 4.2.2
 
Last edited:

mcgi5sr2

Senior Member
Oct 15, 2012
1,059
1,811
Sheffield
Code:
I/DEBUG   ( 7076): memory map around fault addr deadbaad:
I/DEBUG   ( 7076):     be9f8000-bea19000 [stack]
I/DEBUG   ( 7076):     (no map for address)
I/DEBUG   ( 7076):     ffff0000-ffff1000 [vectors]
I/Netd    (24351): Netd 1.0 starting
W/InterfaceController(24351): Warning (Cannot load library: load_library(linker.cpp:747): library "/system/lib/libnetcmdiface.so" not found) while opening the net interface command library
D/MDnsDS  (24351): MDnsSdListener::Hander starting up
D/MDnsDS  (24351): MDnsSdListener starting to monitor
D/MDnsDS  (24351): Going to poll with pollCount 1
I/SurfaceFlinger(24558): SurfaceFlinger is starting
I/SurfaceFlinger(24558): use dithering
I/SurfaceFlinger(24558): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
D/libEGL  (24558): loaded /system/lib/egl/libEGL_adreno200.so
D/libEGL  (24558): loaded /system/lib/egl/libGLESv1_CM_adreno200.so
D/libEGL  (24558): loaded /system/lib/egl/libGLESv2_adreno200.so
I/Adreno200-EGL(24558): <qeglDrvAPI_eglInitialize:294>: EGL 1.4 QUALCOMM build: AU_LINUX_ANDROID_JB.04.01.01.00.036_msm8960_JB_CL2644550_release_AU (CL2644550)
I/Adreno200-EGL(24558): Build Date: 07/31/12 Tue
I/Adreno200-EGL(24558): Local Branch: 
I/Adreno200-EGL(24558): Remote Branch: quic/master
I/Adreno200-EGL(24558): Local Patches: NONE
I/Adreno200-EGL(24558): Reconstruct Branch: AU_LINUX_ANDROID_JB.04.01.01.00.036 +  NOTHING
I/gralloc (24558): using (fd=20)
I/gralloc (24558): id           = msmfb40_0
I/gralloc (24558): xres         = 480 px
I/gralloc (24558): yres         = 800 px
I/gralloc (24558): xres_virtual = 480 px
I/gralloc (24558): yres_virtual = 2400 px
I/gralloc (24558): bpp          = 32
I/gralloc (24558): r            =  0:8
I/gralloc (24558): g            =  8:8
I/gralloc (24558): b            = 16:8
I/gralloc (24558): width        = 52 mm (234.461533 dpi)
I/gralloc (24558): height       = 88 mm (230.909088 dpi)
I/gralloc (24558): refresh rate = 60.00 Hz
D/CALCFPS (24558): DEBUG_CALC_FPS: 0
D/CALCFPS (24558): period: 10
D/CALCFPS (24558): ignorethresh_us: 500000
D/CALCFPS (24558): DEBUG_CALC_FPS: 0
D/CALCFPS (24558): period: 10
D/CALCFPS (24558): ignorethresh_us: 500000
E/HAL     (24558): load: module=/system/lib/hw/hwcomposer.msm7x30.so
E/HAL     (24558): Cannot load library: soinfo_relocate(linker.cpp:989): cannot locate symbol "_ZN7overlay7Overlay12waitForVsyncENS_5utils5eDestE" referenced by "hwcomposer.msm7x30.so"...
E/SurfaceFlinger(24558): hwcomposer module not found
W/SurfaceFlinger(24558): getting VSYNC period from fb HAL: 16666666
W/Adreno200-EGL(24558): <qeglDrvAPI_eglChooseConfig:780>: EGL_BAD_ATTRIBUTE
W/SurfaceFlinger(24558): no suitable EGLConfig found, trying without EGL_FRAMEBUFFER_TARGET_ANDROID
W/SurfaceFlinger(24558): no suitable EGLConfig found, trying without EGL_RECORDABLE_ANDROID
E/Trace   (24558): error opening trace file: No such file or directory (2)

Code:
D/AndroidRuntime(24561): 
D/AndroidRuntime(24561): >>>>>> AndroidRuntime START com.android.internal.os.ZygoteInit <<<<<<
D/AndroidRuntime(24561): CheckJNI is OFF
D/dalvikvm(24561): Trying to load lib libjavacore.so 0x0
D/dalvikvm(24561): Added shared lib libjavacore.so 0x0
D/dalvikvm(24561): Trying to load lib libnativehelper.so 0x0
D/dalvikvm(24561): Added shared lib libnativehelper.so 0x0
E/dalvikvm(24561): ERROR: couldn't find native method
E/dalvikvm(24561): Requested: Landroid/net/wifi/WifiNative;.killSupplicant:(Z)Z
E/dalvikvm(24561): Candidate: Landroid/net/wifi/WifiNative;.killSupplicant:()Z
E/JNIHelp (24561): RegisterNatives failed for 'android/net/wifi/WifiNative', aborting
F/libc    (24561): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 24561 (zygote)
I/DEBUG   ( 7076): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***



Seems its a wifi issue holding us up right now

@Lloir fancy throwing any helpful hints. :)
 
Last edited:
  • Like
Reactions: red de0392

mcgi5sr2

Senior Member
Oct 15, 2012
1,059
1,811
Sheffield
What I am trying to do next...

##New Stuff to look into
Its a Framework reboot issue. You need to collect ADB logs from the boot up.

adb logcat -v threadtime > logcat.txt
adb shell cat /proc/kmsg > kernellogs.txt
.............
adb bugreport > bugreport.txt
................
Make sure you clear below things at the beginning
/data/anr/*
/data/tombstone/*

Pull the traces and tombstone files from the /data/anr and /data/tombstone
adb pull /data/anr/ .
adb pull /data/tombstone .

Note: You can save in any folder by logging it outside the adb shell prompt

Search for the time stamp where you encountered the Framework reboot.
Map it appropriately with the traces/tombstones to find the issue

Scratch the tombstone bit as we don't seem to have that on the phone :'(
 
Last edited:
  • Like
Reactions: red de0392

Minto107

Senior Member
Aug 10, 2013
3,942
1,386
23
Samsung Galaxy S23 Ultra
This phone is a fail and it was a fail so what do you want from it? It was next bad HTC phone, now there are more bad than good ones. Sure we can try.

Wysłane z mojego HTC One V przy użyciu Tapatalka
 
  • Like
Reactions: parkourz

MameTozhio

Senior Member
Apr 27, 2013
2,456
1,365
24
This phone is a fail and it was a fail so what do you want from it? It was next bad HTC phone, now there are more bad than good ones. Sure we can try.

Wysłane z mojego HTC One V przy użyciu Tapatalka

did you suddenly completely lose confidence.

and poland has a cool national anthem.

@mcgi5sr2 What's in logcat ...?
 
Last edited:

mcgi5sr2

Senior Member
Oct 15, 2012
1,059
1,811
Sheffield
Hi guys,
I'm too happy to see people actually alive on the forum to worry about phone. Agreed it is a difficult beast, but I figure if we cut our teeth here everything else is only going to be easier in future! Also I think that a lot of the lessons we learn on Evervolv will help CM10.1 and then CM11 builds as well. The more of us know something about the phone, how it works, what loving it needs the better.

Logcat:
logcat.txt - 646.91 KB
BugReport:
bugreport.txt - 614.13 KB
Traces:
traces.txt.bugreport - 1.15 KB

I'm still perusing to try and work out what the magic is, I am starting to think its a frameworks problem, but thats only from the similarity in issues with other people I've found on google.
@MameTozhio thanks for sticking with us !
@MScorporation95 will do eventually we will end up as genuine Devs!
@Minto107 I agree with almost all you said, but I have the phone until at least September, want to learn to Dev some more, and also don't know what I would do with a top of the line super powered phone right now...
 

Minto107

Senior Member
Aug 10, 2013
3,942
1,386
23
Samsung Galaxy S23 Ultra
Anything new? I'm looking at logcat which you sent.

---------- Post added at 07:59 PM ---------- Previous post was at 07:55 PM ----------

First: There is a problem with Adreno drivers
Many libs are missing
This rly important lib is missing: libnetcmdiface.so ROM is calling it really often
 
  • Like
Reactions: MScorporation95

mcgi5sr2

Senior Member
Oct 15, 2012
1,059
1,811
Sheffield
Anything new? I'm looking at logcat which you sent.

---------- Post added at 07:59 PM ---------- Previous post was at 07:55 PM ----------

First: There is a problem with Adreno drivers
Many libs are missing
This rly important lib is missing: libnetcmdiface.so ROM is calling it really often

Not made any real progress on EV3.2 but have now got a CM10.1 built and squished the first booting issue today. Will post sources once I'm back on a good connection. I am genuinely hopeful that we may get a build up and running both for CM10.1 and EV as AOSP.

With all this learning then we can apply it to CM11!

Sorry to be taking so long, but I am travelling for courses all month.
 

mcgi5sr2

Senior Member
Oct 15, 2012
1,059
1,811
Sheffield
Hi cyber,

I used evervolv for that exact reason so that I could learn how it was done, and what did what. Also evervolv is a good base for use as it has legacy depositories.

I am also working through CM10.1 right now as well, I have ADB up and running and am currently looking for a fix for this badger

W/InterfaceController( 9806): Warning (Cannot load library: load_library(linker.cpp:771): library "/system/lib/libnetcmdiface.so" not found) while opening the net interface command library

might be able to add it to packages in the device make, but need to do a bit more research first. OK seemed to do the trick including the package, next up seems to be an egl error:

I/Netd ( 4825): Netd 1.0 starting
D/MDnsDS ( 4825): MDnsSdListener::Hander starting up
D/MDnsDS ( 4825): MDnsSdListener starting to monitor
D/MDnsDS ( 4825): Going to poll with pollCount 1
I/SurfaceFlinger( 5033): SurfaceFlinger is starting
I/SurfaceFlinger( 5033): use dithering
I/SurfaceFlinger( 5033): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
D/libEGL ( 5033): loaded /system/lib/egl/libEGL_adreno200.so
D/libEGL ( 5033): loaded /system/lib/egl/libGLESv1_CM_adreno200.so
D/libEGL ( 5033): loaded /system/lib/egl/libGLESv2_adreno200.so
I/Adreno200-EGL( 5033): <qeglDrvAPI_eglInitialize:294>: EGL 1.4 QUALCOMM build: AU_LINUX_ANDROID_JB.04.01.01.00.036_msm8960_JB_CL2644550_release_AU (CL2644550)
I/Adreno200-EGL( 5033): Build Date: 07/31/12 Tue
I/Adreno200-EGL( 5033): Local Branch:
I/Adreno200-EGL( 5033): Remote Branch: quic/master
I/Adreno200-EGL( 5033): Local Patches: NONE
I/Adreno200-EGL( 5033): Reconstruct Branch: AU_LINUX_ANDROID_JB.04.01.01.00.036 + NOTHING
F/libc ( 5033): Fatal signal 11 (SIGSEGV) at 0x00000001 (code=1), thread 5034 (SurfaceFlinger)
I/DEBUG ( 1513): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 1513): Build fingerprint: 'htc_europe/htc_primou/primou:4.2.2/JDQ39/330937:user/user-debug'
I/DEBUG ( 1513): Revision: '2'
I/DEBUG ( 1513): pid: 5033, tid: 5034, name: SurfaceFlinger >>> /system/bin/surfaceflinger <<<
 
Last edited:
  • Like
Reactions: nereis

Top Liked Posts

  • There are no posts matching your filters.
  • 6
    Hi guys,
    I'm too happy to see people actually alive on the forum to worry about phone. Agreed it is a difficult beast, but I figure if we cut our teeth here everything else is only going to be easier in future! Also I think that a lot of the lessons we learn on Evervolv will help CM10.1 and then CM11 builds as well. The more of us know something about the phone, how it works, what loving it needs the better.

    Logcat:
    logcat.txt - 646.91 KB
    BugReport:
    bugreport.txt - 614.13 KB
    Traces:
    traces.txt.bugreport - 1.15 KB

    I'm still perusing to try and work out what the magic is, I am starting to think its a frameworks problem, but thats only from the similarity in issues with other people I've found on google.
    @MameTozhio thanks for sticking with us !
    @MScorporation95 will do eventually we will end up as genuine Devs!
    @Minto107 I agree with almost all you said, but I have the phone until at least September, want to learn to Dev some more, and also don't know what I would do with a top of the line super powered phone right now...
    5
    evervolv3.2.png

    This is the start of the Evervolv build for the PrimoU, it should give us all a good base to learn how to build from source and get more roms up and running for this device. The original device tree and msm7x30 come from @1ceb0x who I am extremely grateful for helping me understand the little I already do.

    https://github.com/mcgi5sr2 contains all the sources I have so far.

    Working:
    boot to adb

    Not Working:
    Everything else :p

    XDA:DevDB Information
    EV3.2/CM10.1 restart, a ROM for the HTC One V

    Contributors
    mcgi5sr2, mcgi5sr2, MScorporation95
    ROM OS Version: 4.2.x Jelly Bean
    ROM Kernel: Linux 3.0.x
    ROM Firmware Required: PrimoU
    Based On: AOSP

    Version Information
    Status: Alpha
    Current Stable Version: N/A

    Created 2014-04-07
    Last Updated 2014-04-17
    3
    Anything new? I'm looking at logcat which you sent.

    ---------- Post added at 07:59 PM ---------- Previous post was at 07:55 PM ----------

    First: There is a problem with Adreno drivers
    Many libs are missing
    This rly important lib is missing: libnetcmdiface.so ROM is calling it really often

    Not made any real progress on EV3.2 but have now got a CM10.1 built and squished the first booting issue today. Will post sources once I'm back on a good connection. I am genuinely hopeful that we may get a build up and running both for CM10.1 and EV as AOSP.

    With all this learning then we can apply it to CM11!

    Sorry to be taking so long, but I am travelling for courses all month.
    2
    Status:
    20140407: Rom boots past HTC logo and adb is available, no bootanimation

    Handy Terminal Commands:
    #Make rom command can use mka instead in CM based roms, also creates log -j* indicates number of cores to use in building
    make -j8 otapackage 2>&1 | tee filename.log

    #Adds logcat pull request -thanks Lloir
    add this to your init.primou.rc

    service logcat /system/bin/logcat -f /data/data/logcat
    class main
    oneshot

    reboot into recovery once you got "enough"
    adb pull /data/data/logcat
    and tada you have a logcat

    #Pulls last kernel kmsg - reboot straight into recovery then pull -thanks Simon
    adb pull /proc/last_kmsg kernel.txt

    #Clears the heads for a new clean sync - helps fix repo sync issues
    repo forall -vc "git reset --hard"
    2
    This phone is not supported like some years ago. There is no one who can help us

    Wysłane z mojego HTC One V przy użyciu Tapatalka

    If there's no one who can help us, we'll stick together and make it work..
    @mcgi5sr2 I'm almost ready just syncing repos...