Go Back   Android Forums > Android Phones > ZTE Warp (N860) > (Boost Mobile) Warp - All Things Root

Get excited for the Samsung Galaxy S5! Find everything you need and discuss it in our Galaxy S5 Forum!

Like Tree99Likes

test: Reply
 
LinkBack Thread Tools
Old May 29th, 2012, 10:06 AM   #1 (permalink)
ROM Developer
Thread Author (OP)
 
hroark13's Avatar
 
Join Date: Jul 2011
Posts: 2,249
 
Device(s):
Carrier: Not Provided

Thanks: 330
Thanked 2,012 Times in 588 Posts
Default CM9 for Warp Development thread

I have made some progress with CM9, and this is what I am focusing on, I am dropping CM7 and CAF

I want to especially thank joe.stone from XDA for letting me use his custom RIL files

There are a lot of other people to be thanked (too many to be mentioned)
So I am thanking everyone who reads this, (YES YOU) thank you for all that you have done, and thank you for keeping this thread clean by not posting off topic posts, and non-development posts, you are awesome.

You do not have to have to post any thank you posts here, just click on the thank you button, the rating stars, or that new "Like" thing they have.

If you are feeling generous, you can make a small donation, I had to recently make a new Android Build system, and it set me back $425.00, but I am now able to do a CM9 build in 40 minutes, as opposed to 2 hours, like on my old system that crapped out on me.



If I have helped you, and you like my work, please click on the Thanks Button and give my thread a rating by clicking on the stars above.

If you would like to buy me a beer cofee, you can click on the PayPal button






.
aaanadie, MrBobo, CesarT and 7 others like this.

hroark13 is offline  
Last edited by hroark13; May 29th, 2012 at 03:08 PM.
Reply With Quote
The Following 27 Users Say Thank You to hroark13 For This Useful Post:
5toneyboy (November 24th, 2012), 601in (May 29th, 2012), aaanadie (May 30th, 2012), aladdin99 (May 29th, 2012), apnsb (July 20th, 2012), atlharp (May 29th, 2012), capitalfear (July 26th, 2012), CesarT (May 29th, 2012), ch4rkle (July 6th, 2012), DragonDGG (May 29th, 2012), jdremler (May 29th, 2012), jetx2x (May 29th, 2012), jlambert00 (June 1st, 2012), kdraw44 (October 4th, 2012), klynn908 (August 25th, 2012), Lordvincent 90 (July 8th, 2012), Madmaxo88 (May 29th, 2012), nookout (May 29th, 2012), Quoros (June 3rd, 2012), Ralphy2012 (May 29th, 2012), ron580 (May 29th, 2012), sb43 (February 2nd, 2013), shinru2004 (May 29th, 2012), Spanked (June 8th, 2012), Spiyder (May 29th, 2012), themonkeymixer (August 2nd, 2012)
sponsored links
Old May 29th, 2012, 10:06 AM   #2 (permalink)
ROM Developer
Thread Author (OP)
 
hroark13's Avatar
 
Join Date: Jul 2011
Posts: 2,249
 
Device(s):
Carrier: Not Provided

Thanks: 330
Thanked 2,012 Times in 588 Posts
Default

I am not going to write instructions on how to setup an Android Build system. there are many tutorials out there for that.

These instructions will assume that was done

If you do not have a lot of RAM in your build system, make sure you have a swap partition and it is turned on

Here is the source code I uploaded to github

https://github.com/hroark13/warp_cm9_config



First thing you want to do is Download the CM9 repo

Open terminal

Code:
$mkdir cm9
$cd cm9
$repo init -u git://github.com/CyanogenMod/android.git -b ics
hit enter twice when it asks about your name and email

Code:
$repo sync -j32
it will download the repo and take a pretty long time, it does not download everything, you still need to get some pre-builts

Code:
$vendor/cm/get-prebuilts
now copy my source code from github and overwrite any files that it prompts

Code:
$make clobber
$source ./build/envsetup.sh
$lunch ZTE_arthur-userdebug
$mka -j8 bacon
I use -j8 because I have an 8 core cpu now, if you have a dual core use

Code:
$mka -j2 bacon
It will start the build, it takes 40 minutes on my new system, it will probably take longer on older systems, can take a really really long time if you do not have a fast computer


when it is done, you should have this file

cm9/out/target/product/arthur/update-cm-9.0.0-RC0--UNOFFICIAL-signed.zip

I always take this file and replace the META-INF folder with my own because the update.script that CM9 makes does not set all the needed permissions, and the end result looks like this.

http://www.mediafire.com/?70czwywa7aurmau

WARNING TO NOT PLAY WITH THE CDMA SUBSCRIPTION MENU ITEMS
downthemachine HAS DISCOVERED THAT THEY CAN WIPE YOUR NAM SETTINGS AND YOU WILL HAVE TO REPROGRAM THE PHONE IN CDMA WORKSHOP



This is a dev test ROM and is not for regular usage, it is only for people who want to try and help get CM9 working on the Warp


Here is a kernel update for the above ROM, flash it in CWM after you flash the ROM, this kernel has more pmem stuff removed

http://www.mediafire.com/?6q4low14yddexgq




,
hroark13 is offline  
Last edited by hroark13; June 3rd, 2012 at 06:56 AM.
Reply With Quote
The Following 5 Users Say Thank You to hroark13 For This Useful Post:
dirtyredz (May 29th, 2012), downthemachine (June 3rd, 2012), kosmos60 (June 30th, 2012), ron580 (May 29th, 2012)
Old May 29th, 2012, 10:06 AM   #3 (permalink)
ROM Developer
Thread Author (OP)
 
hroark13's Avatar
 
Join Date: Jul 2011
Posts: 2,249
 
Device(s):
Carrier: Not Provided

Thanks: 330
Thanked 2,012 Times in 588 Posts
Default

There are a lot of issues that need to be fixed, and a lot of things do not work

We will need to modify the kernel more and refine the source code, this will probably take a while to be finished.

I do need help, so anyone that can help will be great


Things that do not work at all

WiFi
Camera
Blue toothe

All other things are somewhat working but need to be refined

The RIL does work, I have not tested data, because my Warp is not activated



.
hroark13 is offline  
Last edited by hroark13; May 31st, 2012 at 10:51 AM.
Reply With Quote
Old May 29th, 2012, 10:07 AM   #4 (permalink)
ROM Developer
Thread Author (OP)
 
hroark13's Avatar
 
Join Date: Jul 2011
Posts: 2,249
 
Device(s):
Carrier: Not Provided

Thanks: 330
Thanked 2,012 Times in 588 Posts
Default

I had to make some major changes to the kernel, mostly for kgsl, and removing some pmem stuff, but I am sure we need a lot more kernel work to be done, the kernel source is here


https://github.com/hroark13/WARP_KERNEL

make sure you use the cm9 branch



This is how to make the kernel


edit the Makefile to point to the location of your arm-eabi-4.4.3 folder

like this
Code:
ARCH        ?= arm 
CROSS_COMPILE    ?= /home/hroark13/arm-eabi-4.4.3/bin/arm-eabi-
open terminal



Code:
cd WARP_KERNEL 
make mrproper
cp warp_cm9_config .config
make ARCH=arm
after a while you should get a zImage in arch/arm/boot

you will need to pack that zImage with a ramdisk


see my packer thread

Warp Kernel Packer





.
hroark13 is offline  
Last edited by hroark13; May 31st, 2012 at 10:51 AM.
Reply With Quote
The Following User Says Thank You to hroark13 For This Useful Post:
stingrays (June 8th, 2012)
Old May 29th, 2012, 05:40 PM   #5 (permalink)
Junior Member
 
Join Date: Aug 2010
Posts: 59
 
Device(s):
Carrier: Not Provided

Thanks: 5
Thanked 3 Times in 3 Posts
Default

Internet mobile data not working for me.

3g never comes out. I try to airplane mode off/on and mobile network off/on. And nothing.
Corlygunnz is offline  
Reply With Quote
The Following User Says Thank You to Corlygunnz For This Useful Post:
hroark13 (May 29th, 2012)
Old May 29th, 2012, 06:31 PM   #6 (permalink)
PattF
Guest
 
Posts: n/a
 
Device(s):
Carrier: Not Provided

Default

The mic isn't working for phone calls. The calls go through just fine but they couldn't hear me.
 
Reply With Quote
The Following User Says Thank You to For This Useful Post:
hroark13 (May 29th, 2012)
Old May 29th, 2012, 06:37 PM   #7 (permalink)
Senior Member
 
Snake X's Avatar
 
Join Date: Aug 2011
Posts: 1,035
 
Device(s): Transformer prime, HTC evo v 4g
Carrier: Not Provided

Thanks: 214
Thanked 360 Times in 148 Posts
Send a message via MSN to Snake X
Default

I thought the rule of thumb was j then the number of cores times two. i.e. quad core would be -j8
Snake X is offline  
Reply With Quote
Old May 29th, 2012, 06:51 PM   #8 (permalink)
ROM Developer
Thread Author (OP)
 
hroark13's Avatar
 
Join Date: Jul 2011
Posts: 2,249
 
Device(s):
Carrier: Not Provided

Thanks: 330
Thanked 2,012 Times in 588 Posts
Default

Quote:
Originally Posted by Snake X View Post
I thought the rule of thumb was j then the number of cores times two. i.e. quad core would be -j8

that may be right

I have tried -j8 and -j16 and they both take 40 minutes for me

I have read somewhere it should be the number of cores, but I really don't know
hroark13 is offline  
Reply With Quote
Old May 29th, 2012, 07:29 PM   #9 (permalink)
Senior Member
 
Snake X's Avatar
 
Join Date: Aug 2011
Posts: 1,035
 
Device(s): Transformer prime, HTC evo v 4g
Carrier: Not Provided

Thanks: 214
Thanked 360 Times in 148 Posts
Send a message via MSN to Snake X
Default

I remember in #cyanogenmod-dev or in pm's (pretty sure it was in the channel) that that's what the rule of thumb was and it should not be an odd number (i.e. -j9)

but if it takes the same time for you.. meh, i'd go for higher. can't really hurt
Snake X is offline  
Reply With Quote
Old May 29th, 2012, 07:33 PM   #10 (permalink)
ROM Developer
Thread Author (OP)
 
hroark13's Avatar
 
Join Date: Jul 2011
Posts: 2,249
 
Device(s):
Carrier: Not Provided

Thanks: 330
Thanked 2,012 Times in 588 Posts
Default

Quote:
Originally Posted by Snake X View Post
I remember in #cyanogenmod-dev or in pm's (pretty sure it was in the channel) that that's what the rule of thumb was and it should not be an odd number (i.e. -j9)

but if it takes the same time for you.. meh, i'd go for higher. can't really hurt

i tried doing -j1024 once

and the power for my entire neighborhood went out for 3 days
hroark13 is offline  
Reply With Quote
The Following User Says Thank You to hroark13 For This Useful Post:
PH473 (June 24th, 2012)
sponsored links
Old May 29th, 2012, 08:01 PM   #11 (permalink)
ROM Developer
 
jetx2x's Avatar
 
Join Date: Mar 2012
Location: Charlotte, NC
Gender: Male
Posts: 1,710
 
Device(s): ZTE Warp (cm10, Sugar Kang) Lg Optimus Elite (cm9) Lg Spectrum (cm10.1) Samsung Galaxy SIII (Spri
Carrier: Sprint

Thanks: 238
Thanked 793 Times in 430 Posts
Default

Quote:
Originally Posted by hroark13 View Post
i tried doing -j1024 once

and the power for my entire neighborhood went out for 3 days
Wow...

Sent from my N860 using Tapatalk 2 Beta-5
__________________
My Github- Jetx2x
Team Github- OSIRIS
jetx2x is online now  
Reply With Quote
Old May 29th, 2012, 09:23 PM   #12 (permalink)
Senior Member
 
Snake X's Avatar
 
Join Date: Aug 2011
Posts: 1,035
 
Device(s): Transformer prime, HTC evo v 4g
Carrier: Not Provided

Thanks: 214
Thanked 360 Times in 148 Posts
Send a message via MSN to Snake X
Default

Quote:
Originally Posted by hroark13 View Post
i tried doing -j1024 once

and the power for my entire neighborhood went out for 3 days
LOL I'm soooooooo gonna try that.. too bad our thermostat doesnt work right now since we need it or else I'd do it that made my day
Snake X is offline  
Reply With Quote
Old May 30th, 2012, 01:17 AM   #13 (permalink)
Developer Incognito
 
downthemachine's Avatar
 
Join Date: Dec 2011
Location: MinneSnowta
Posts: 2,939
 
Device(s): ZTE Warp (Sugar Kang), Samsung Prevail, HTC Evo Design, LG Optimus Elite, OG Droid
Carrier: Boost Mobile

Thanks: 1,393
Thanked 1,731 Times in 876 Posts
Default

Hoark, are the ztequalcommril.java the ones from xda?
downthemachine is online now  
Reply With Quote
Old May 30th, 2012, 02:23 AM   #14 (permalink)
ROM Developer
Thread Author (OP)
 
hroark13's Avatar
 
Join Date: Jul 2011
Posts: 2,249
 
Device(s):
Carrier: Not Provided

Thanks: 330
Thanked 2,012 Times in 588 Posts
Default

Quote:
Originally Posted by downthemachine View Post
Hoark, are the ztequalcommril.java the ones from xda?

both

ZTEQualcommUiccRIL
ZTEQualcommRIL.java

are from joe.stone of XDA

I have really not tried the ZTEQualcommRIL.java yet


the ZTEQualcommUiccRIL seems to work for the most part, but may need some changes
hroark13 is offline  
Reply With Quote
Old May 30th, 2012, 01:43 PM   #15 (permalink)
Junior Member
 
Join Date: May 2012
Location: Hungary
Posts: 19
 
Device(s): ZTE Skate , Nexus S , Vodafone SmartTab 10(ZTE V11A)
Carrier: Not Provided

Thanks: 0
Thanked 25 Times in 14 Posts
Default

Quote:
Originally Posted by hroark13 View Post
both

ZTEQualcommUiccRIL
ZTEQualcommRIL.java

are from joe.stone of XDA

I have really not tried the ZTEQualcommRIL.java yet


the ZTEQualcommUiccRIL seems to work for the most part, but may need some changes
Using ZTEQualcommRIL dropped sim not loaded messages on SmartTab . They are modified versions of LGE's RIL .
For data connection to work netmgrd was needed on the tab.
To be sure every RIL_Requests and RIL_Unsol_response is correct you should check libril-qc-qmi-1.so (if WARP using the same). Maybe the ril verson used by warp is different . The tab is using ver 6. Other problem can be with the datacall routines in ZTEQualcommUiccRIL. Maybe the the unsol data are in different order or format on the two device.
If the logs shows that the apn is read , then I think the datacall routines should be OK and if the device not getting IP try to push netmgrd to /system/bin.
joestone is offline  
Reply With Quote
The Following 3 Users Say Thank You to joestone For This Useful Post:
downthemachine (May 30th, 2012), hroark13 (May 30th, 2012), MrBobo (May 31st, 2012)
Old May 30th, 2012, 02:24 PM   #16 (permalink)
ROM Developer
Thread Author (OP)
 
hroark13's Avatar
 
Join Date: Jul 2011
Posts: 2,249
 
Device(s):
Carrier: Not Provided

Thanks: 330
Thanked 2,012 Times in 588 Posts
Default

Quote:
Originally Posted by joestone View Post
Using ZTEQualcommRIL dropped sim not loaded messages on SmartTab . They are modified versions of LGE's RIL .
For data connection to work netmgrd was needed on the tab.
To be sure every RIL_Requests and RIL_Unsol_response is correct you should check libril-qc-qmi-1.so (if WARP using the same). Maybe the ril verson used by warp is different . The tab is using ver 6. Other problem can be with the datacall routines in ZTEQualcommUiccRIL. Maybe the the unsol data are in different order or format on the two device.
If the logs shows that the apn is read , then I think the datacall routines should be OK and if the device not getting IP try to push netmgrd to /system/bin.

Hi Joe, welcome to Android Forums, and thank you for your help.

Warp uses libril-qc-1.so

these are the prop settings I have so far for the RIL
Code:
ro.telephony.ril_class=ZTEQualcommUiccRIL
ro.ril.def.preferred.network=4
ro.telephony.default_network=4 
ro.config.multimode_cdma=false
rild.libpath=/system/lib/libril-qc-1.so
rild.libargs=-d /dev/smd0
persist.rild.nitz_plmn=
persist.rild.nitz_long_ons_0=
persist.rild.nitz_long_ons_1=
persist.rild.nitz_long_ons_2=
persist.rild.nitz_long_ons_3=
persist.rild.nitz_short_ons_0=
persist.rild.nitz_short_ons_1=
persist.rild.nitz_short_ons_2=
persist.rild.nitz_short_ons_3=
ril.subscription.types=NV,RUIM
ro.ril.disable.power.collapse=0
DEVICE_PROVISIONED=1
I was getting phone force closing when I tried using

ro.telephony.ril_class=ZTEQualcommRIL

but I did not spend much time trying to figure it out, and just switched back to

ro.telephony.ril_class=ZTEQualcommUiccRIL



when you say "you should check libril-qc-qmi-1.so"

what is the best way to check a RIL .so file, with a hex editor, or is there a better way

the current CM9 ROM does have a netmgrd binary and libnetmgr.so that comes from the stock GB ROM, should we be using those files, or will CM9 build them for me

The stock build.prop has this setting

Code:
#
# system props for the data modules
#
# lllccc open the netmgrd, 2011.02.28
ro.use_data_netmgrd=true
I have not added it to the CM9 prop yet, but I will try it.


regarding the apn in the log file, do you mean a regular logcat or a logcat -b radio

If I open Voice Dialer and say "OPEN APNS" and open the APN app

I do see my Boost Mobile APN listed there, so I am not sure if that means anything


I am sorry for all the questions, but I am still a noob when it come to some of this stuff



.
hroark13 is offline  
Reply With Quote
Old May 30th, 2012, 03:20 PM   #17 (permalink)
Junior Member
 
Join Date: May 2012
Location: Hungary
Posts: 19
 
Device(s): ZTE Skate , Nexus S , Vodafone SmartTab 10(ZTE V11A)
Carrier: Not Provided

Thanks: 0
Thanked 25 Times in 14 Posts
Default

I did not know what is the vendor ril lib on warp , that's why I said libril-qc-qmi-1.so . (It is used on smarttab) . So you should check libril-qc-1.so with a hex editor . Unfortunatelly these files(libril-qc-1.so , netmgrd and libnetmgr.so) are closed source so cm9 wont compile it , you need to copy them from the stock rom.
About the apn: In the settings-wireless settings-mobile networks-access points should show ap-s (at least on gsm models for example internet.vodafone.net, I do not know cdma ) . On my device until the datacall routines were not correct it shows nothing . You should see something like this in the log : SETUP_DATA_CALL 1 0 internet.vodafone.net 3 IP and then DataCallState: {version=6 status=0 cid=0 active=2 type=' ifname='rmnet0' addresses=[xx.xx.xx.xx] dnses=[xx.xx.xx.xx,xx.xx.xx.xx] gateways=[xx.xx.xx.xx]} .
When I made these files I changed logd_write.c to enable logging of ril related things without -b radio. Also modified the ril.java and the two ril files to verbose log everything.( boolean RILJ_LOGV = false; to true ) and there was printouts about unsol responses in datacall routines .Maybe I forgot to remove them .
ro.use_data_netmgrd=true is needed , because init scripts reads this property to start the netmgrd service .

I am still a noob ,because I am not a programmer , so maybe you can see some ugly coding .

You will have a lot of work to do . I am fighting with the BT this time , the camera was not started yet . These are the two components not working in my smarttab cm9 port .
I dont know about the touchscreen of the warp , but it was a big fight in my case . I had to rewrite the routine in the kernel to avoid using legacy touchscreen. KGSL was not big deal and you can download the new adreno libs from qualcomm. Genlock backport also needed in the kernel , then qtaguid and quota2 also needed to backport .I used caf 3.0.8 kernel source to backport from.
joestone is offline  
Last edited by joestone; May 30th, 2012 at 03:28 PM.
Reply With Quote
The Following User Says Thank You to joestone For This Useful Post:
hroark13 (May 30th, 2012)
Old May 30th, 2012, 04:03 PM   #18 (permalink)
ROM Developer
Thread Author (OP)
 
hroark13's Avatar
 
Join Date: Jul 2011
Posts: 2,249
 
Device(s):
Carrier: Not Provided

Thanks: 330
Thanked 2,012 Times in 588 Posts
Default

Quote:
Originally Posted by joestone View Post
About the apn: In the settings-wireless settings-mobile networks-access points should show ap-s (at least on gsm models for example internet.vodafone.net, I do not know cdma ) .
In my Mobile Network Settings, I have




I have never seen the access points option in CyanogenMod on a CDMA Phone


Quote:
Originally Posted by joestone View Post
I am fighting with the BT this time
make sure you have this in your update.script

set_perm_recursive(0, 2000, 0755, 0755, "/system/etc");

there are scripts there that need execute perms


Quote:
Originally Posted by joestone View Post
the camera was not started yet

I think you have the same camera as me

mine is

CONFIG_OV5640=y
CONFIG_OV5640_GLOBALOPTICS=y


yours is

CONFIG_CAMERA_OV5640_ZTE=y



I have tried using a ZTE pre-built libs for the camera from the ICS ROM for the ZTE N880 and I think it is the same camera "OV5640"

I try to use the lib by renaming the camera.msm7627a.so to camera.msm7x30.so and pushing it to my lib/hw and pushing the libgemini.so liboemcamera.so libcameraservice.so libcamera_client.so to the lib folder

but after I do that CM9 will not boot anymore because it crashes media server

if you want access to the ZTE N880 ICS ROM let me know and I will upload it for you

Quote:
Originally Posted by joestone View Post
I dont know about the touchscreen of the warp , but it was a big fight in my case . I had to rewrite the routine in the kernel to avoid using legacy touchscreen. KGSL was not big deal and you can download the new adreno libs from qualcomm. Genlock backport also needed in the kernel.

I am using legacy touch screen but it seems to be OK, is there any reason I should not use it ?

I have updated KGSL and genlock in the kernel, and I have the new adreno libs,


Quote:
Originally Posted by joestone View Post
then qtaguid and quota2 also needed to backport

I have not done this yet

The issue I am dealing with now is pmem

I can not get the launcher to stop restarting unless I reduce the size of the pmem-adsp device from my board-zte-arthur.c

I guess I am gonna have to delete some of my old stuff from github so I can upload some of this new CM9 stuff, so people can look at it easily



sorry for the long post



,
hroark13 is offline  
Last edited by hroark13; May 30th, 2012 at 04:32 PM.
Reply With Quote
Old May 30th, 2012, 04:30 PM   #19 (permalink)
Junior Member
 
Join Date: May 2012
Location: Hungary
Posts: 19
 
Device(s): ZTE Skate , Nexus S , Vodafone SmartTab 10(ZTE V11A)
Carrier: Not Provided

Thanks: 0
Thanked 25 Times in 14 Posts
Default

Quote:
Originally Posted by hroark13 View Post
make sure you have this in your update.script

set_perm_recursive(0, 2000, 0755, 0755, "/system/etc");

there are scripts there that need execute perms
These sripts are called from init with exec , and they runs as they should , so I did not changed the permissions in updater-script.
I plan to port the camera sources from caf because ZTE is using their sources as a base.

About APN : I told I dont know cdma , but on gsm there is access point settings.
qtaguid and quota2 needed for wifi to work correctly.


On the tab there was a stupid circle while was using legacy touchscreen and multitouch was not working as expected.

On the smarttab this is set #define MSM_PMEM_ADSP_SIZE 0x2000000
and there is no problem with the launcher.
joestone is offline  
Last edited by joestone; May 30th, 2012 at 04:38 PM.
Reply With Quote
The Following User Says Thank You to joestone For This Useful Post:
hroark13 (May 30th, 2012)
Old May 30th, 2012, 04:47 PM   #20 (permalink)
ROM Developer
Thread Author (OP)
 
hroark13's Avatar
 
Join Date: Jul 2011
Posts: 2,249
 
Device(s):
Carrier: Not Provided

Thanks: 330
Thanked 2,012 Times in 588 Posts
Default

Quote:
Originally Posted by joestone View Post

On the tab there was a stupid circle while was using legacy touchscreen and multitouch was not working as expected.

To get touch screen to work I had to copy synaptics-rmi4-ts.idc to the usr/idc folder

this is the contents of synaptics-rmi4-ts.idc

Code:
touch.deviceType = touchScreen

as far as multitouch, I can go into gallery and open a picture and zoom in and zoom out by pinching my fingers, I guess that means it is working, that is the extent that I have tested it



I really appreciate your help by the way, I hope that I will be able to some how help you with your ROM
hroark13 is offline  
Reply With Quote
sponsored links
Old May 30th, 2012, 05:07 PM   #21 (permalink)
Junior Member
 
Join Date: May 2012
Location: Hungary
Posts: 19
 
Device(s): ZTE Skate , Nexus S , Vodafone SmartTab 10(ZTE V11A)
Carrier: Not Provided

Thanks: 0
Thanked 25 Times in 14 Posts
Default

Quote:
Originally Posted by hroark13 View Post
I really appreciate your help by the way, I hope that I will be able to some how help you with your ROM
I learn cdma , and if ztequalcomril files work with your cdma device then I know it should work on the cdma version of the tab (Sprint Optik /V55) because this time the cdma version is not working at all . I have no device and network to test and on xda there is no other dev at all for my device. I know now that these ril files should be OK on cdma (at least voice call) and possibly some settings not correct with the device config .

You are lucky because of the synaptics touchpad. The tab has atmel mxt224 and 1386 with calibration built-in and ZTE modified the standard driver in kernel a lot . To test it I used touchtest from play . It can handle 10 touches same time.
joestone is offline  
Reply With Quote
The Following 2 Users Say Thank You to joestone For This Useful Post:
atlharp (May 31st, 2012), hroark13 (May 30th, 2012)
Old May 30th, 2012, 05:47 PM   #22 (permalink)
ROM Developer
Thread Author (OP)
 
hroark13's Avatar
 
Join Date: Jul 2011
Posts: 2,249
 
Device(s):
Carrier: Not Provided

Thanks: 330
Thanked 2,012 Times in 588 Posts
Default

Quote:
Originally Posted by joestone View Post
I learn cdma , and if ztequalcomril files work with your cdma device then I know it should work on the cdma version of the tab (Sprint Optik /V55) because this time the cdma version is not working at all . I have no device and network to test and on xda there is no other dev at all for my device. I know now that these ril files should be OK on cdma (at least voice call) and possibly some settings not correct with the device config .

You are lucky because of the synaptics touchpad. The tab has atmel mxt224 and 1386 with calibration built-in and ZTE modified the standard driver in kernel a lot . To test it I used touchtest from play . It can handle 10 touches same time.

Just so you know, the ZTE Warp is for Boost Mobile only

Boost Mobile is owned by Sprint and it uses Sprints CDMA network

So there may be a lot of the same stuff




,
hroark13 is offline  
Reply With Quote
Old May 31st, 2012, 10:53 AM   #23 (permalink)
ROM Developer
Thread Author (OP)
 
hroark13's Avatar
 
Join Date: Jul 2011
Posts: 2,249
 
Device(s):
Carrier: Not Provided

Thanks: 330
Thanked 2,012 Times in 588 Posts
Default

I have uploaded the source for CM9 and the kernel to github and have updated the instructions

I probably should have done this in the first place, but I am a lazy slob
hroark13 is offline  
Reply With Quote
The Following 3 Users Say Thank You to hroark13 For This Useful Post:
atlharp (May 31st, 2012), ron580 (May 31st, 2012), Spiyder (May 31st, 2012)
Old May 31st, 2012, 01:16 PM   #24 (permalink)
Member
 
ron580's Avatar
 
Join Date: Nov 2011
Posts: 159
 
Device(s): ZTE Warp
Carrier: Not Provided

Thanks: 27
Thanked 63 Times in 28 Posts
Default

Quote:
Originally Posted by hroark13 View Post
I have uploaded the source for CM9 and the kernel to github and have updated the instructions

I probably should have done this in the first place, but I am a lazy slob
You sir are no slob u must have a lot of patience to do all that you do & thanks for all your hard work
ron580 is offline  
Reply With Quote
The Following User Says Thank You to ron580 For This Useful Post:
hroark13 (May 31st, 2012)
Old May 31st, 2012, 04:49 PM   #25 (permalink)
Junior Member
 
Join Date: Dec 2011
Posts: 63
 
Device(s):
Carrier: Not Provided

Thanks: 29
Thanked 2 Times in 2 Posts
Default

off topic but whats with the new pic @hroark13

DragonDGG is offline  
Reply With Quote
Old May 31st, 2012, 05:06 PM   #26 (permalink)
ROM Developer
Thread Author (OP)
 
hroark13's Avatar
 
Join Date: Jul 2011
Posts: 2,249
 
Device(s):
Carrier: Not Provided

Thanks: 330
Thanked 2,012 Times in 588 Posts
Default

Quote:
Originally Posted by DragonDGG View Post
off topic but whats with the new pic @hroark13


me
hroark13 is offline  
Reply With Quote
The Following 3 Users Say Thank You to hroark13 For This Useful Post:
DragonDGG (May 31st, 2012), Rally 517 (June 2nd, 2012), Spiyder (May 31st, 2012)
Old May 31st, 2012, 06:59 PM   #27 (permalink)
Junior Member
 
Join Date: Dec 2011
Posts: 63
 
Device(s):
Carrier: Not Provided

Thanks: 29
Thanked 2 Times in 2 Posts
Default

Quote:
Originally Posted by hroark13 View Post
me
O ok sorry for guiding the thread offtopic
DragonDGG is offline  
Reply With Quote
Old May 31st, 2012, 07:22 PM   #28 (permalink)
ROM Developer
Thread Author (OP)
 
hroark13's Avatar
 
Join Date: Jul 2011
Posts: 2,249
 
Device(s):
Carrier: Not Provided

Thanks: 330
Thanked 2,012 Times in 588 Posts
Default

Quote:
Originally Posted by DragonDGG View Post
O ok sorry for guiding the thread offtopic
no prob
hroark13 is offline  
Reply With Quote
Old June 1st, 2012, 10:43 PM   #29 (permalink)
ROM Developer
Thread Author (OP)
 
hroark13's Avatar
 
Join Date: Jul 2011
Posts: 2,249
 
Device(s):
Carrier: Not Provided

Thanks: 330
Thanked 2,012 Times in 588 Posts
Default

I just realized that I have been building with the CyanogenMod ics branch, and not the cm-9.0.0 branch

I have updated the instructions in the OP, sorry everyone

there was a commit that seems to have broken the build process, but I fixed the files, and will add them to github soon


I am wondering if anyone here is even trying to build this, it does not seem to caught too many peoples interest
hroark13 is offline  
Reply With Quote
Old June 2nd, 2012, 02:35 AM   #30 (permalink)
Member
 
Join Date: Jul 2011
Location: Harrisburg, PA
Posts: 239
 
Device(s): Samsung Galaxy Prevail- running cm9 Samsung Galaxy S2- CM10 Zte Warp- CM10- Dead... =(
Carrier: Boost Mobile

Thanks: 68
Thanked 324 Times in 107 Posts
Default

Quote:
Originally Posted by hroark13 View Post
I just realized that I have been building with the CyanogenMod ics branch, and not the cm-9.0.0 branch

I have updated the instructions in the OP, sorry everyone

there was a commit that seems to have broken the build process, but I fixed the files, and will add them to github soon


I am wondering if anyone here is even trying to build this, it does not seem to caught too many peoples interest

bah now i gotta redownload... -_-..... ima try with the cm9.0 branch anywho, see what comes. redownloading the source takes too long and i gotta work in 2 hours... and yes, im trying to build, sorry for not replying. The only issues i was getting during build process on cm 9.0.0 branch was it needing kernel and auto.conf. was an easy fix
QuietStorm1785 is offline  
Reply With Quote
sponsored links
Old June 2nd, 2012, 02:50 AM   #31 (permalink)
ROM Developer
Thread Author (OP)
 
hroark13's Avatar
 
Join Date: Jul 2011
Posts: 2,249
 
Device(s):
Carrier: Not Provided

Thanks: 330
Thanked 2,012 Times in 588 Posts
Default

Quote:
Originally Posted by QuietStorm1785 View Post
bah now i gotta redownload... -_-..... ima try with the cm9.0 branch anywho, see what comes. redownloading the source takes too long and i gotta work in 2 hours... and yes, im trying to build, sorry for not replying. The only issues i was getting during build process on cm 9.0.0 branch was it needing kernel and auto.conf. was an easy fix

I did a repo sync today, and then my builds stopped working

after some research, I figured out that it was this commit that messed me up

https://github.com/CyanogenMod/android_hardware_qcom_media/commit/0853b3970b9ba809d615f1d3ae27d28651847300


then I realized, that I was using ics branch and I was like oops
hroark13 is offline  
Reply With Quote
Old June 2nd, 2012, 03:47 AM   #32 (permalink)
ROM Developer
Thread Author (OP)
 
hroark13's Avatar
 
Join Date: Jul 2011
Posts: 2,249
 
Device(s):
Carrier: Not Provided

Thanks: 330
Thanked 2,012 Times in 588 Posts
Default

Quote:
Originally Posted by QuietStorm1785 View Post
bah now i gotta redownload... -_-..... ima try with the cm9.0 branch anywho, see what comes. redownloading the source takes too long and i gotta work in 2 hours... and yes, im trying to build, sorry for not replying. The only issues i was getting during build process on cm 9.0.0 branch was it needing kernel and auto.conf. was an easy fix

Im gonna download the cm-9.0.0 branch and see how that works for me
hroark13 is offline  
Reply With Quote
Old June 2nd, 2012, 04:02 AM   #33 (permalink)
Member
 
Join Date: Jul 2011
Location: Harrisburg, PA
Posts: 239
 
Device(s): Samsung Galaxy Prevail- running cm9 Samsung Galaxy S2- CM10 Zte Warp- CM10- Dead... =(
Carrier: Boost Mobile

Thanks: 68
Thanked 324 Times in 107 Posts
Default

Quote:
Originally Posted by hroark13 View Post
Im gonna download the cm-9.0.0 branch and see how that works for me
well, the cm9.0.0 branch works great for me, can call people, they can hear me, and i think I can figure out whats wrong with the zte ril. I just need time to debug the radio and see where data fails. freaking work tho man... I get off at 3 pm today, soo i'll see what I can do then... on another note.... CM9 IS FREAKING SEXY... i love the sleek interface, it looks soo sweet on the warp... the prevail didnt do cm9 justice... too small...
MrBobo likes this.
QuietStorm1785 is offline  
Reply With Quote
The Following 2 Users Say Thank You to QuietStorm1785 For This Useful Post:
prmax (June 2nd, 2012), Rally 517 (June 2nd, 2012)
Old June 2nd, 2012, 08:53 AM   #34 (permalink)
Junior Member
 
Join Date: May 2012
Location: Hungary
Posts: 19
 
Device(s): ZTE Skate , Nexus S , Vodafone SmartTab 10(ZTE V11A)
Carrier: Not Provided

Thanks: 0
Thanked 25 Times in 14 Posts
Default

Quote:
Originally Posted by QuietStorm1785 View Post
well, the cm9.0.0 branch works great for me, can call people, they can hear me, and i think I can figure out whats wrong with the zte ril. I just need time to debug the radio and see where data fails. freaking work tho man... I get off at 3 pm today, soo i'll see what I can do then... on another note.... CM9 IS FREAKING SEXY... i love the sleek interface, it looks soo sweet on the warp... the prevail didnt do cm9 justice... too small...
Maybe you can try to build with :
BOARD_USES_HC_RADIO := true
joestone is offline  
Reply With Quote
The Following 2 Users Say Thank You to joestone For This Useful Post:
hroark13 (June 2nd, 2012), QuietStorm1785 (June 2nd, 2012)
Old June 2nd, 2012, 09:34 AM   #35 (permalink)
Senior Member
 
Join Date: Jul 2011
Location: michigan
Posts: 1,048
 
Device(s): Lg g2
Carrier: Not Provided

Thanks: 349
Thanked 112 Times in 90 Posts
shermwilson@ymail.com
Default

Man i truely appreciate the work u guys and or gals r doing. Wish i could build dint have knowledge or the equipment . In just the pig sorta speak. Guiny that is. Thanks is not enough for yall.
MrBobo likes this.
Rally 517 is offline  
Reply With Quote
Old June 3rd, 2012, 01:54 AM   #36 (permalink)
Developer Incognito
 
downthemachine's Avatar
 
Join Date: Dec 2011
Location: MinneSnowta
Posts: 2,939
 
Device(s): ZTE Warp (Sugar Kang), Samsung Prevail, HTC Evo Design, LG Optimus Elite, OG Droid
Carrier: Boost Mobile

Thanks: 1,393
Thanked 1,731 Times in 876 Posts
Default

@hroark, just as a warning, when you are in settings for mobile network /cdma subscriptions, it says ruim or nv, do not touch those settings, it wiped my nam, and I had to manually reprogram it with cdma workshop. Damn near had a heart attack when it happened. Just a heads up
downthemachine is online now  
Reply With Quote
Old June 3rd, 2012, 01:55 AM   #37 (permalink)
Developer Incognito
 
downthemachine's Avatar
 
Join Date: Dec 2011
Location: MinneSnowta
Posts: 2,939
 
Device(s): ZTE Warp (Sugar Kang), Samsung Prevail, HTC Evo Design, LG Optimus Elite, OG Droid
Carrier: Boost Mobile

Thanks: 1,393
Thanked 1,731 Times in 876 Posts
Default

Maybe update the OP as a warning
downthemachine is online now  
Reply With Quote
Old June 3rd, 2012, 03:49 AM   #38 (permalink)
Junior Member
 
Join Date: May 2012
Location: Hungary
Posts: 19
 
Device(s): ZTE Skate , Nexus S , Vodafone SmartTab 10(ZTE V11A)
Carrier: Not Provided

Thanks: 0
Thanked 25 Times in 14 Posts
Default

You can try this for camera :
https://github.com/rapmv78/android_hardware_qcom_camerahal
Link against libcamera.so , on the tab it detects both camera , but in the framework need some modification.

mod in android.mk
#ifeq ($(LIBCAMERA_BUILD),nexus)
CAMERA_LIB := libcamera.so
#endif
TARGET_GLOBAL_LD_DIRS += -L$(LOCAL_PATH) -l$(ANDROID_PRODUCT_OUT)/obj/lib/${CAMERA_LIB}
joestone is offline  
Reply With Quote
The Following 2 Users Say Thank You to joestone For This Useful Post:
DragonDGG (June 3rd, 2012), hroark13 (June 3rd, 2012)
Old June 3rd, 2012, 06:53 AM   #39 (permalink)
ROM Developer
Thread Author (OP)
 
hroark13's Avatar
 
Join Date: Jul 2011
Posts: 2,249
 
Device(s):
Carrier: Not Provided

Thanks: 330
Thanked 2,012 Times in 588 Posts
Default

Quote:
Originally Posted by downthemachine View Post
@hroark, just as a warning, when you are in settings for mobile network /cdma subscriptions, it says ruim or nv, do not touch those settings, it wiped my nam, and I had to manually reprogram it with cdma workshop. Damn near had a heart attack when it happened. Just a heads up

hmmm, sorry about that, I wonder if there is a way we can hide that menu
hroark13 is offline  
Reply With Quote
Old June 3rd, 2012, 06:57 AM   #40 (permalink)
ROM Developer
Thread Author (OP)
 
hroark13's Avatar
 
Join Date: Jul 2011
Posts: 2,249
 
Device(s):
Carrier: Not Provided

Thanks: 330
Thanked 2,012 Times in 588 Posts
Default

Quote:
Originally Posted by downthemachine View Post
Maybe update the OP as a warning

I put a warning in the second post near the download link
hroark13 is offline  
Reply With Quote
sponsored links
Old June 3rd, 2012, 07:47 AM   #41 (permalink)
ROM Developer
Thread Author (OP)
 
hroark13's Avatar
 
Join Date: Jul 2011
Posts: 2,249
 
Device(s):
Carrier: Not Provided

Thanks: 330
Thanked 2,012 Times in 588 Posts
Default

Quote:
Originally Posted by joestone View Post
You can try this for camera :
https://github.com/rapmv78/android_hardware_qcom_camerahal
Link against libcamera.so , on the tab it detects both camera , but in the framework need some modification.

mod in android.mk
#ifeq ($(LIBCAMERA_BUILD),nexus)
CAMERA_LIB := libcamera.so
#endif
TARGET_GLOBAL_LD_DIRS += -L$(LOCAL_PATH) -l$(ANDROID_PRODUCT_OUT)/obj/lib/${CAMERA_LIB}

I am getting this if I use my stock GB ROM libcamera.so, libmmjpeg.so, and liboemcamera.so, but the phone boots


Code:
I/CameraService(  104): CameraService started (pid=104)

E/HAL     (  104): load: module=/system/lib/hw/camera.msm7x30.so

E/HAL     (  104): Cannot load library: link_image[1965]:   104 could not load needed library 'libcamera.so' for 'camera.msm7x30.so' (reloc_library[1314]:   104 cannot locate '_ZN7android7Overlay5setFdEi'...

E/HAL     (  104): )

E/CameraService(  104): Could not load camera HAL module





I tried using the libcamera.so, libmmjpeg.so, and liboemcamera.so from your cm9_v55_0522 and I get this, and phone does not boot

Code:
I/CameraService(  104): CameraService started (pid=104)

E/CameraHAL(  104): CameraHAL_GetNum_Cameras:

D/CameraHAL(  104): CameraHAL_GetNum_Cameras: loading libcamera at 0xb000e9c4

I/QualcommCameraHardware(  104): getCameraInfo: IN

F/libc    (  104): Fatal signal 7 (SIGBUS) at 0x40fc514c (code=2)

I/DEBUG   (   96): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***

I/DEBUG   (   96): Build fingerprint: 'ZTE/ZTE_arthur/arthur:4.0.4/IMM76I/eng.hroark13.20120602.111253:userdebug/test-keys'

I/DEBUG   (   96): pid: 104, tid: 104  >>> /system/bin/mediaserver <<<

I/DEBUG   (   96): signal 7 (SIGBUS), code 2 (BUS_ADRERR), fault addr 40fc514c

I/DEBUG   (   96):  r0 40fc514c  r1 00000000  r2 00000eb4  r3 14c00000

I/DEBUG   (   96):  r4 b000ebf4  r5 b001301c  r6 40fc4000  r7 40fc4000

I/DEBUG   (   96):  r8 b0012fa8  r9 0000114c  10 0006d000  fp 40f57000

I/DEBUG   (   96):  ip 0000001d  sp be8846b4  lr b0004fd5  pc b0001458  cpsr 200f0010

I/DEBUG   (   96):  d0  0000000000000000  d1  0000000000000000

I/DEBUG   (   96):  d2  0000000000000000  d3  0000000000000000

I/DEBUG   (   96):  d4  0000000000000000  d5  0000000000000000

I/DEBUG   (   96):  d6  0000000000000000  d7  0000000700000000

I/DEBUG   (   96):  d8  0000000000000000  d9  0000000000000000

I/DEBUG   (   96):  d10 0000000000000000  d11 0000000000000000

I/DEBUG   (   96):  d12 0000000000000000  d13 0000000000000000

I/DEBUG   (   96):  d14 0000000000000000  d15 0000000000000000

I/DEBUG   (   96):  d16 6b6565736c203a5d  d17 656c696166202928

I/DEBUG   (   96):  d18 419b998d98000000  d19 0000000000000000

I/DEBUG   (   96):  d20 0000000000000000  d21 0000000000000000

I/DEBUG   (   96):  d22 0000000000000000  d23 0000000000000000

I/DEBUG   (   96):  d24 0000000000000000  d25 0000000000000000

I/DEBUG   (   96):  d26 0000000000000000  d27 0000000000000000

I/DEBUG   (   96):  d28 0000000000000000  d29 0000000000000000

I/DEBUG   (   96):  d30 0000000000000000  d31 0000000000000000

I/DEBUG   (   96):  scr 00000010
hroark13 is offline  
Reply With Quote
Old June 3rd, 2012, 07:52 AM   #42 (permalink)
Junior Member
 
Join Date: May 2012
Location: Hungary
Posts: 19
 
Device(s): ZTE Skate , Nexus S , Vodafone SmartTab 10(ZTE V11A)
Carrier: Not Provided

Thanks: 0
Thanked 25 Times in 14 Posts
Default

Quote:
Originally Posted by hroark13 View Post
I am getting this if I use my stock GB ROM libcamera.so, libmmjpeg.so, and liboemcamera.so, but the phone boots


Code:
I/CameraService(  104): CameraService started (pid=104)

E/HAL     (  104): load: module=/system/lib/hw/camera.msm7x30.so

E/HAL     (  104): Cannot load library: link_image[1965]:   104 could not load needed library 'libcamera.so' for 'camera.msm7x30.so' (reloc_library[1314]:   104 cannot locate '_ZN7android7Overlay5setFdEi'...

E/HAL     (  104): )

E/CameraService(  104): Could not load camera HAL module





I tried using the libcamera.so, libmmjpeg.so, and liboemcamera.so from your cm9_v55_0522 and I get this, and phone does not boot

Code:
I/CameraService(  104): CameraService started (pid=104)

E/CameraHAL(  104): CameraHAL_GetNum_Cameras:

D/CameraHAL(  104): CameraHAL_GetNum_Cameras: loading libcamera at 0xb000e9c4

I/QualcommCameraHardware(  104): getCameraInfo: IN

F/libc    (  104): Fatal signal 7 (SIGBUS) at 0x40fc514c (code=2)

I/DEBUG   (   96): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***

I/DEBUG   (   96): Build fingerprint: 'ZTE/ZTE_arthur/arthur:4.0.4/IMM76I/eng.hroark13.20120602.111253:userdebug/test-keys'

I/DEBUG   (   96): pid: 104, tid: 104  >>> /system/bin/mediaserver <<<

I/DEBUG   (   96): signal 7 (SIGBUS), code 2 (BUS_ADRERR), fault addr 40fc514c

I/DEBUG   (   96):  r0 40fc514c  r1 00000000  r2 00000eb4  r3 14c00000

I/DEBUG   (   96):  r4 b000ebf4  r5 b001301c  r6 40fc4000  r7 40fc4000

I/DEBUG   (   96):  r8 b0012fa8  r9 0000114c  10 0006d000  fp 40f57000

I/DEBUG   (   96):  ip 0000001d  sp be8846b4  lr b0004fd5  pc b0001458  cpsr 200f0010

I/DEBUG   (   96):  d0  0000000000000000  d1  0000000000000000

I/DEBUG   (   96):  d2  0000000000000000  d3  0000000000000000

I/DEBUG   (   96):  d4  0000000000000000  d5  0000000000000000

I/DEBUG   (   96):  d6  0000000000000000  d7  0000000700000000

I/DEBUG   (   96):  d8  0000000000000000  d9  0000000000000000

I/DEBUG   (   96):  d10 0000000000000000  d11 0000000000000000

I/DEBUG   (   96):  d12 0000000000000000  d13 0000000000000000

I/DEBUG   (   96):  d14 0000000000000000  d15 0000000000000000

I/DEBUG   (   96):  d16 6b6565736c203a5d  d17 656c696166202928

I/DEBUG   (   96):  d18 419b998d98000000  d19 0000000000000000

I/DEBUG   (   96):  d20 0000000000000000  d21 0000000000000000

I/DEBUG   (   96):  d22 0000000000000000  d23 0000000000000000

I/DEBUG   (   96):  d24 0000000000000000  d25 0000000000000000

I/DEBUG   (   96):  d26 0000000000000000  d27 0000000000000000

I/DEBUG   (   96):  d28 0000000000000000  d29 0000000000000000

I/DEBUG   (   96):  d30 0000000000000000  d31 0000000000000000

I/DEBUG   (   96):  scr 00000010
You should use your libcamera.so and liboemcamera.so from stock GB rom.
It needs some more libs :
PRODUCT_COPY_FILES += \
device/zte/smarttab_common/proprietary/lib/libmmipl.so:system/lib/libmmipl.so \
device/zte/smarttab_common/proprietary/lib/libmmjpeg.so:system/lib/libmmjpeg.so \
device/zte/smarttab_common/proprietary/lib/libmmjpeg.sobj/lib/libmmjpeg.so \
device/zte/smarttab_common/proprietary/lib/liboemcamera.sobj/lib/liboemcamera.so \
device/zte/smarttab_common/proprietary/lib/liboemcamera.so:system/lib/liboemcamera.so \
device/zte/smarttab_common/proprietary/lib/libgemini.so:system/lib/libgemini.so \
device/zte/smarttab_common/proprietary/lib/libmmmpo.so:system/lib/libmmmpo.so \
device/zte/smarttab_common/proprietary/bin/mm-qcamera-daemon:system/bin/mm-qcamera-daemon \
device/zte/smarttab_common/proprietary/lib/libcamera.so:system/lib/libcamera.so \
device/zte/smarttab_common/proprietary/lib/libcamera.sobj/lib/libcamera.so \

also these files should be needed from /system/bin:
v4l2-qcamera-app
mm-qcamera-daemon
mm-qcamera-test
mm-mpo-enc-test
joestone is offline  
Last edited by joestone; June 3rd, 2012 at 07:58 AM.
Reply With Quote
The Following User Says Thank You to joestone For This Useful Post:
hroark13 (June 3rd, 2012)
Old June 3rd, 2012, 08:07 AM   #43 (permalink)
ROM Developer
Thread Author (OP)
 
hroark13's Avatar
 
Join Date: Jul 2011
Posts: 2,249
 
Device(s):
Carrier: Not Provided

Thanks: 330
Thanked 2,012 Times in 588 Posts
Default

Quote:
Originally Posted by joestone View Post
You should use your libcamera.so and liboemcamera.so from stock GB rom.
It needs some more libs :
PRODUCT_COPY_FILES += \
device/zte/smarttab_common/proprietary/lib/libmmipl.so:system/lib/libmmipl.so \
device/zte/smarttab_common/proprietary/lib/libmmjpeg.so:system/lib/libmmjpeg.so \
device/zte/smarttab_common/proprietary/lib/libmmjpeg.sobj/lib/libmmjpeg.so \
device/zte/smarttab_common/proprietary/lib/liboemcamera.sobj/lib/liboemcamera.so \
device/zte/smarttab_common/proprietary/lib/liboemcamera.so:system/lib/liboemcamera.so \
device/zte/smarttab_common/proprietary/lib/libgemini.so:system/lib/libgemini.so \
device/zte/smarttab_common/proprietary/lib/libmmmpo.so:system/lib/libmmmpo.so \
device/zte/smarttab_common/proprietary/bin/mm-qcamera-daemon:system/bin/mm-qcamera-daemon \
device/zte/smarttab_common/proprietary/lib/libcamera.so:system/lib/libcamera.so \
device/zte/smarttab_common/proprietary/lib/libcamera.sobj/lib/libcamera.so \

also these files should be needed from /system/bin:
v4l2-qcamera-app
mm-qcamera-daemon
mm-qcamera-test
mm-mpo-enc-test
from stock GB rom I have pushed to lib
libcamera.so, libgemini.so, libmmipl.so, libmmjpeg.so, liboemcamera.so,

to bin
mm-qcamera-test, mm-qcamera-testsuite-client

and still get the
cannot locate '_ZN7android7Overlay5setFdEi'.

my stock GB ROM does not have libmmmpo.so, mm-qcamera-daemon, v4l2-qcamera-app, or mm-mpo-enc-test








.
hroark13 is offline  
Reply With Quote
Old June 3rd, 2012, 08:13 AM   #44 (permalink)
Junior Member
 
Join Date: May 2012
Location: Hungary
Posts: 19
 
Device(s): ZTE Skate , Nexus S , Vodafone SmartTab 10(ZTE V11A)
Carrier: Not Provided

Thanks: 0
Thanked 25 Times in 14 Posts
Default

Quote:
Originally Posted by hroark13 View Post
from stock GB rom I have pushed to lib
libcamera.so, libgemini.so, libmmipl.so, libmmjpeg.so, liboemcamera.so,

to bin
mm-qcamera-test, mm-qcamera-testsuite-client

and still get the
cannot locate '_ZN7android7Overlay5setFdEi'.

my stock GB ROM does not have libmmmpo.so, mm-qcamera-daemon, v4l2-qcamera-app, or mm-mpo-enc-test








.
does overlay and hwaccel turned on in boardconfig ?
At least this patch should show it finds the camera .
joestone is offline  
Reply With Quote
The Following User Says Thank You to joestone For This Useful Post:
hroark13 (June 3rd, 2012)
Old June 3rd, 2012, 08:16 AM   #45 (permalink)
ROM Developer
Thread Author (OP)
 
hroark13's Avatar
 
Join Date: Jul 2011
Posts: 2,249
 
Device(s):
Carrier: Not Provided

Thanks: 330
Thanked 2,012 Times in 588 Posts
Default

Quote:
Originally Posted by joestone View Post
does overlay and hwaccel turned on in boardconfig ?
At least this patch should show it finds the camera .

honestly I am not sure, but here is the current board config I am using with the exception of some wifi defines, I was trying to get wifi working yesterday


https://github.com/hroark13/warp_cm9_config/blob/master/device/zte/arthur/BoardConfig.mk
hroark13 is offline  
Reply With Quote
Old June 3rd, 2012, 08:20 AM   #46 (permalink)
Junior Member
 
Join Date: May 2012
Location: Hungary
Posts: 19
 
Device(s): ZTE Skate , Nexus S , Vodafone SmartTab 10(ZTE V11A)
Carrier: Not Provided

Thanks: 0
Thanked 25 Times in 14 Posts
Default

Quote:
Originally Posted by hroark13 View Post
honestly I am not sure, but here is the current board config I am using with the exception of some wifi defines, I was trying to get wifi working yesterday


https://github.com/hroark13/warp_cm9_config/blob/master/device/zte/arthur/BoardConfig.mk
It seems OK .

You should have libgenlock, liboverlay , libtilerenderer , libqcomui, libmemalloc in system/lib.
joestone is offline  
Reply With Quote
The Following User Says Thank You to joestone For This Useful Post:
hroark13 (June 3rd, 2012)
Old June 3rd, 2012, 08:28 AM   #47 (permalink)
ROM Developer
Thread Author (OP)
 
hroark13's Avatar
 
Join Date: Jul 2011
Posts: 2,249
 
Device(s):
Carrier: Not Provided

Thanks: 330
Thanked 2,012 Times in 588 Posts
Default

Quote:
Originally Posted by joestone View Post
It seems OK .

You should have libgenlock, liboverlay , libtilerenderer , libqcomui, libmemalloc in system/lib.

I dont have the libqcomui for some reason, I do have the rest of them


the stock GB does not have libQcomUI.so, but I do have a prebuilt one that I got from the CAF ROM I have made
hroark13 is offline  
Reply With Quote
Old June 3rd, 2012, 08:32 AM   #48 (permalink)
Junior Member
 
Join Date: May 2012
Location: Hungary
Posts: 19
 
Device(s): ZTE Skate , Nexus S , Vodafone SmartTab 10(ZTE V11A)
Carrier: Not Provided

Thanks: 0
Thanked 25 Times in 14 Posts
Default

Quote:
Originally Posted by hroark13 View Post
I dont have the libqcomui for some reason, I do have the rest of them


the stock GB does not have libQcomUI.so, but I do have a prebuilt one that I got from the CAF ROM I have made
These libs should be compiled with CM9 . Add them to product packages in device config makefile.
joestone is offline  
Reply With Quote
Old June 3rd, 2012, 08:32 AM   #49 (permalink)
ROM Developer
Thread Author (OP)
 
hroark13's Avatar
 
Join Date: Jul 2011
Posts: 2,249
 
Device(s):
Carrier: Not Provided

Thanks: 330
Thanked 2,012 Times in 588 Posts
Default

Quote:
Originally Posted by hroark13 View Post
I dont have the libqcomui for some reason, I do have the rest of them


the stock GB does not have libQcomUI.so, but I do have a prebuilt one that I got from the CAF ROM I have made

wait, sorry, I do have that file
hroark13 is offline  
Reply With Quote
Old June 3rd, 2012, 08:36 AM   #50 (permalink)
ROM Developer
Thread Author (OP)
 
hroark13's Avatar
 
Join Date: Jul 2011
Posts: 2,249
 
Device(s):
Carrier: Not Provided

Thanks: 330
Thanked 2,012 Times in 588 Posts
Default

Quote:
Originally Posted by hroark13 View Post
wait, sorry, I do have that file

I was using adb shell to look for the file and since the file had a capital letter in it, it was not where I expected it, but when I scrolled up I did see it

sorry about that
hroark13 is offline  
Reply With Quote
Reply


Go Back   Android Forums > Android Phones > ZTE Warp (N860) > (Boost Mobile) Warp - All Things Root
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 10:54 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.