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

Like Tree10Likes

test: Reply
 
LinkBack Thread Tools
Old March 23rd, 2012, 10:10 PM   #1 (permalink)
ROM Developer
Thread Author (OP)
 
hroark13's Avatar
 
Join Date: Jul 2011
Posts: 2,578
 
Device(s):
Carrier: Not Provided

Thanks: 366
Thanked 2,471 Times in 683 Posts
Default For Discussion of Development for CM7 Only

My Prevail CM7 thread has 2,4308 replies

No one will ever want to read it because it is way too long

I want this thread to stay on topic
The topic is the development and bug fixing of CM7 for the Warp
Do not post thank you posts, I know that you appreciate my work, but that type of post will make this thread too long, please just click the Thank You button, and the Ratings Stars Above

This thread is for developers, testers and those who want to learn how to test and develop
Another exists for install support and other stuff here
http://androidforums.com/warp-all-things-root/520578-cm7-pre-alph-help.html#post4118799

This thread is NOT for helping anyone install the ROM
This thread is NOT for helping anyone setup and Android Build system
THIS THREAD IS NOT FOR MODDING THE ROM WITH TWEAKS AND SCRIPTS
START ANOTHER THREAD FOR THAT STUFF

This thread is about compiling my CM7 source code

I know there is other CM7 sources by Quietestorm, and I helped him a bit to get CWM working, but this thread is only for my source code

This thread is about fixing my CM7 source so that it works with the Warp hardware

This thread is for reporting bugs with the source code, and discussions on how they can be fixed

Please keep this thread on topic

OK so now that I got that out of the way, the Warp forum has asked me to help with CWM,CM7 and made donations, so that I can get a WARP, Thank You to all who donated

This 1st OP post is the only post that is allowed to have the words thank you in them

The development thread starts in post 2



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


Advertisements
hroark13 is offline  
Last edited by hroark13; March 24th, 2012 at 12:53 AM.
Reply With Quote
The Following 31 Users Say Thank You to hroark13 For This Useful Post:
aaanadie (March 24th, 2012), aladdin99 (March 24th, 2012), AndroidxD (March 23rd, 2012), atlharp (March 24th, 2012), BoomBoom53 (May 2nd, 2012), capitalfear (March 25th, 2012), CesarT (March 24th, 2012), Corlygunnz (March 24th, 2012), ctislva (March 24th, 2012), HeroLau (March 24th, 2012), irishobo (April 17th, 2012), jjohnbubby5 (March 23rd, 2012), johnny424 (April 19th, 2012), LivnDream (March 24th, 2012), lmarisy (April 13th, 2012), mac42 (March 24th, 2012), mckague24 (May 15th, 2012), MLC50054 (October 20th, 2012), prmax (March 24th, 2012), Pungui2000 (March 24th, 2012), Rally 517 (March 23rd, 2012), ron580 (March 23rd, 2012), shinru2004 (March 23rd, 2012), shizack (March 24th, 2012), smartmanvartan (November 10th, 2012), Snake X (March 23rd, 2012), Spanked (April 24th, 2012), Spiyder (March 24th, 2012), Stlouizsin (March 23rd, 2012), tjonline1991 (March 24th, 2012), xkalibur32 (August 10th, 2012)
sponsored links
Old March 23rd, 2012, 10:10 PM   #2 (permalink)
ROM Developer
Thread Author (OP)
 
hroark13's Avatar
 
Join Date: Jul 2011
Posts: 2,578
 
Device(s):
Carrier: Not Provided

Thanks: 366
Thanked 2,471 Times in 683 Posts
Default

Here is the source code

http://www.mediafire.com/?0mmfbz5y2jjg0pl


Here is the version of CWM you need to install the ROM


If you already have CWM you can update it with this zip file
http://www.mediafire.com/?2c8dr53ttbbmq1n


If you don’t have CWM you have to flash this image with Fastboot
http://www.mediafire.com/?6oqw67hruadjpwj


Here is the latest version of the ROM that you have to install with the new CWM
http://www.mediafire.com/?ndsyetj52j6nnkg

Here is the latest patch for the latest version of the ROM
http://www.mediafire.com/?k96hdi5h379mh1n


IF ANY ONE ASKS HOW TO DO THESE THINGS I WILL DESTROY THE UNIVERSE
hroark13 is offline  
Last edited by hroark13; May 10th, 2012 at 09:04 PM.
Reply With Quote
The Following 6 Users Say Thank You to hroark13 For This Useful Post:
aaanadie (March 24th, 2012), AndroidxD (March 23rd, 2012), atlharp (March 24th, 2012), capitalfear (March 25th, 2012), downthemachine (March 24th, 2012), Stlouizsin (March 23rd, 2012)
Old March 23rd, 2012, 10:11 PM   #3 (permalink)
ROM Developer
Thread Author (OP)
 
hroark13's Avatar
 
Join Date: Jul 2011
Posts: 2,578
 
Device(s):
Carrier: Not Provided

Thanks: 366
Thanked 2,471 Times in 683 Posts
Default

STATUS

This ROM is odexed and has to stay that way until everything is fixed
I do not like waiting for a de-odexed ROM to boot, when I am rebooting 30 times per hour doing trouble shooting

WORKING

it boots (yey)
Audio
Screen Rotation
Bluetoothe (pre-alpha1-patch1)

NOT WORKING

RIL (telephony, 3G)
WiFi
GPS
Camera
Most Stuff


MAJOR BUGS



MINOR BUGS


Phone crashed once on boot and reboots, (you will notice the Boot animation restart)







.
hroark13 is offline  
Last edited by hroark13; March 25th, 2012 at 12:12 AM.
Reply With Quote
The Following 2 Users Say Thank You to hroark13 For This Useful Post:
AndroidxD (March 23rd, 2012), ZTEAndroidWarp (March 24th, 2012)
Old March 23rd, 2012, 10:11 PM   #4 (permalink)
ROM Developer
Thread Author (OP)
 
hroark13's Avatar
 
Join Date: Jul 2011
Posts: 2,578
 
Device(s):
Carrier: Not Provided

Thanks: 366
Thanked 2,471 Times in 683 Posts
Default

change log

03/23/12 initial release pre-alpha1
03/24/12 pre-alpha1-patch1 - fixes bluetoothe and new boot animation
hroark13 is offline  
Last edited by hroark13; March 24th, 2012 at 05:11 PM.
Reply With Quote
The Following User Says Thank You to hroark13 For This Useful Post:
AndroidxD (March 24th, 2012)
Old March 23rd, 2012, 10:12 PM   #5 (permalink)
ROM Developer
Thread Author (OP)
 
hroark13's Avatar
 
Join Date: Jul 2011
Posts: 2,578
 
Device(s):
Carrier: Not Provided

Thanks: 366
Thanked 2,471 Times in 683 Posts
Default

reserved
hroark13 is offline  
Last edited by hroark13; March 23rd, 2012 at 10:15 PM.
Reply With Quote
Old March 24th, 2012, 12:38 AM   #6 (permalink)
Member
 
bads3ctor's Avatar
 
Join Date: Mar 2012
Location: /dev/null
Posts: 191
 
Device(s): Samsung Intercept(VM) Samsung Transform Ultra(Boost) #transform-ultra irondust
Carrier: Virgin Mobile

Thanks: 191
Thanked 316 Times in 98 Posts
Default

Quote:
Originally Posted by hroark13 View Post
Here is the source code
IF ANY ONE ASKS HOW TO DO THESE THINGS I WILL DESTROY THE UNIVERSE
How do you do these things? Hmmm....I closed my eyes and the universe exploded

MODERATORS...PLEASE BLOW OFF THIS POST...B4 HROARK13 DESTROYS THE UNIVERSE! THANK YOU

hroark13.....I made a frankenzip(what I call a zip I put together from mismatched roms!) from your /system and my updater-script and flashed it to the Transform Ultra and it booted.....well....almost! It booted for like 2 minutes and then went into ram dump mode....weird. I'd be willing to bet it will not boot without CIQ.
bads3ctor is offline  
Last edited by bads3ctor; March 24th, 2012 at 08:31 PM.
Reply With Quote
Old March 24th, 2012, 05:12 PM   #7 (permalink)
ROM Developer
Thread Author (OP)
 
hroark13's Avatar
 
Join Date: Jul 2011
Posts: 2,578
 
Device(s):
Carrier: Not Provided

Thanks: 366
Thanked 2,471 Times in 683 Posts
Default

pre-alpha1-patch1

fixes bluetoothe and new boot animation
pre-alpha1-patch1.zip
hroark13 is offline  
Reply With Quote
The Following 2 Users Say Thank You to hroark13 For This Useful Post:
AndroidxD (March 24th, 2012), Snake X (March 24th, 2012)
Old March 24th, 2012, 05:36 PM   #8 (permalink)
ROM Developer
Thread Author (OP)
 
hroark13's Avatar
 
Join Date: Jul 2011
Posts: 2,578
 
Device(s):
Carrier: Not Provided

Thanks: 366
Thanked 2,471 Times in 683 Posts
Default

the thing I want to fix, that is driving me crazy is the screen not waking up and the phone not rebooting correctly if you set the phone to stay awake

there is a section in the kernel init.arthur.rc that looks like this

on boot

#ZTE_TORCH_YTC_20110913 BEGIN
# NOTES FROM HROARK - CM7 DOES NOT BOOT WITH OUT THIS SECTION)
# KEEP THIS AS THE FIRST SECTION UNDER on "boot section"
chown system system /sys/class/leds/flashlight/brightness
chmod 0774 /sys/class/leds/flashlight/brightness
#ZTE_TORCH_YTC_20110913 end



this i believe is some how related to this issue, i was changing some of the permissions in that sections and the the phone would not boot


so ultimately this is probably an issue with the kernel zImage and ZTE added that section to work around the issue with the kernel

from what I gather we do not have working source code for the kernel

I have have tried compiling the kernel source code but it will not boot the phone

I have also noticed in the stock ROM I was having some issues with the phone not waking, but this was more erratic and only happened once in a while I think




,
hroark13 is offline  
Reply With Quote
Old March 24th, 2012, 07:05 PM   #9 (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
#ZTE_TORCH_YTC_20110913 BEGIN
# NOTES FROM HROARK - CM7 DOES NOT BOOT WITH OUT THIS SECTION)
# KEEP THIS AS THE FIRST SECTION UNDER on "boot section"
chown system system /sys/class/leds/flashlight/brightness
chmod 0774 /sys/class/leds/flashlight/brightness
#ZTE_TORCH_YTC_20110913 end
i don't think those lines have anything to do with the screen not waking up. isn't that for the led flash in the back? while searching through the file system i found that if you set /sys/devices/platform/leds-gpio/leds/flashlight/brightness to 255 it enables the back led flashlight

edit: im guessing zte left out files from the kernel, is it possible you can fix it as you did on the prevail.
ron580 is offline  
Last edited by ron580; March 24th, 2012 at 07:58 PM.
Reply With Quote
Old March 24th, 2012, 07:11 PM   #10 (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,394
Thanked 1,732 Times in 877 Posts
Default

Well it compiles, we just haven't been able to make one boot. Shinjitsu sent out an email to zte to see if they have any input.
downthemachine is online now  
Reply With Quote
sponsored links
Old March 24th, 2012, 10:58 PM   #11 (permalink)
ROM Developer
 
shinru2004's Avatar
 
Join Date: Nov 2011
Location: Louisville
Posts: 1,749
 
Device(s): Devices? To many to list
Carrier: Boost Mobile, TextNow

Thanks: 185
Thanked 1,545 Times in 698 Posts
Default

Quote:
Originally Posted by downthemachine View Post
Well it compiles, we just haven't been able to make one boot. Shinjitsu sent out an email to zte to see if they have any input.
There reply was amazing too

Dear Valued ZTE Customer

we really understand but Sorry to inform you that we can't provide this now .

Should there be further assistance, please do not hesitate to contact us.

Best Regards
__________________
If you have a question please check the All things root Guide before asking something silly.

If you enjoy my work or just wanna say thank you hit thanks in my OP's
shinru2004 is offline  
Reply With Quote
Old March 25th, 2012, 12:10 AM   #12 (permalink)
ROM Developer
Thread Author (OP)
 
hroark13's Avatar
 
Join Date: Jul 2011
Posts: 2,578
 
Device(s):
Carrier: Not Provided

Thanks: 366
Thanked 2,471 Times in 683 Posts
Default

OK it seems the issue with the screen coming on after power button and sleep is an issue with my new phone, I am going to exchange it, and take those issues of the list of bugs
hroark13 is offline  
Reply With Quote
The Following 2 Users Say Thank You to hroark13 For This Useful Post:
Snake X (March 25th, 2012), Spiyder (March 25th, 2012)
Old March 28th, 2012, 07:06 PM   #13 (permalink)
Member
 
Join Date: Jan 2012
Posts: 136
 
Device(s):
Carrier: Not Provided

Thanks: 26
Thanked 28 Times in 17 Posts
Default

Just wanted to get some clarification regarding an issue I'm getting when compiling CM7 using hroark's source. During build, I get errors complaining about the code to create shared libraries being found in 2 different locations. (once in the Cyanogen source and once in the arthur source)

Quote:
build/core/base_rules.mk:162: *** hardware/msm7k/libaudio-msm7x30: MODULE.TARGET.SHARED_LIBRARIES.libaudiopolicy already defined by device/zte/arthur/libaudio. Stop.
There was an error while building.
Is it safe to say that the arthur-specific code should take precedence? (i.e. device/zte/arthur/libaudio) If so, is it just a matter of commenting out the corresponding code in the Cyanogen source or is there a better way to resolve the conflicts? (since there are multiple shared libraries that are duplicated)
JBrd400 is offline  
Reply With Quote
Old March 29th, 2012, 12:11 AM   #14 (permalink)
ROM Developer
Thread Author (OP)
 
hroark13's Avatar
 
Join Date: Jul 2011
Posts: 2,578
 
Device(s):
Carrier: Not Provided

Thanks: 366
Thanked 2,471 Times in 683 Posts
Default

Quote:
Originally Posted by JBrd400 View Post
Just wanted to get some clarification regarding an issue I'm getting when compiling CM7 using hroark's source. During build, I get errors complaining about the code to create shared libraries being found in 2 different locations. (once in the Cyanogen source and once in the arthur source)



Is it safe to say that the arthur-specific code should take precedence? (i.e. device/zte/arthur/libaudio) If so, is it just a matter of commenting out the corresponding code in the Cyanogen source or is there a better way to resolve the conflicts? (since there are multiple shared libraries that are duplicated)
so you are compiling this with out any changes and it it is stopping in the process, with that error ?


can you tell me how you are trying to compile this ?

have you made any changes to and of the files, either mine or the CM7 source ?



just give me a brief list of everything you have done





,
hroark13 is offline  
Reply With Quote
Old March 29th, 2012, 12:22 AM   #15 (permalink)
ROM Developer
Thread Author (OP)
 
hroark13's Avatar
 
Join Date: Jul 2011
Posts: 2,578
 
Device(s):
Carrier: Not Provided

Thanks: 366
Thanked 2,471 Times in 683 Posts
Default

Quote:
Originally Posted by JBrd400 View Post
Just wanted to get some clarification regarding an issue I'm getting when compiling CM7 using hroark's source. During build, I get errors complaining about the code to create shared libraries being found in 2 different locations. (once in the Cyanogen source and once in the arthur source)



Is it safe to say that the arthur-specific code should take precedence? (i.e. device/zte/arthur/libaudio) If so, is it just a matter of commenting out the corresponding code in the Cyanogen source or is there a better way to resolve the conflicts? (since there are multiple shared libraries that are duplicated)

this is how I compile it


make clean
make clobber
source ./build/envsetup.sh
lunch ZTE_Warp-eng
mka -j4 bacon



,
hroark13 is offline  
Last edited by hroark13; March 29th, 2012 at 12:49 AM.
Reply With Quote
Old March 29th, 2012, 12:30 AM   #16 (permalink)
ROM Developer
Thread Author (OP)
 
hroark13's Avatar
 
Join Date: Jul 2011
Posts: 2,578
 
Device(s):
Carrier: Not Provided

Thanks: 366
Thanked 2,471 Times in 683 Posts
Default

Quote:
Originally Posted by hroark13 View Post
this is how I compile it


make clean
make clobber
source ./build/envsetup.sh
lunch ZTE_Warp-eng
mka -j4 bacon


ok i just tried to compile the source from github and got that error too

may be it is something I changed is my last commit

i will look in to it



,
hroark13 is offline  
Last edited by hroark13; March 29th, 2012 at 12:49 AM.
Reply With Quote
Old March 29th, 2012, 12:42 AM   #17 (permalink)
ROM Developer
Thread Author (OP)
 
hroark13's Avatar
 
Join Date: Jul 2011
Posts: 2,578
 
Device(s):
Carrier: Not Provided

Thanks: 366
Thanked 2,471 Times in 683 Posts
Default

Quote:
Originally Posted by hroark13 View Post
ok i just tried to compile it and got that error too

may be it is something I changes is my last commit

i will look in to it

it seems that github is not reflecting the stuff that I deleted, in my local folder

I am probably doing the commits wrong

for now you can download this and put it in your device tree this is the current version I am using

arthur03-29-12.zip







,
hroark13 is offline  
Last edited by hroark13; March 29th, 2012 at 12:45 AM.
Reply With Quote
The Following User Says Thank You to hroark13 For This Useful Post:
Snake X (March 29th, 2012)
Old March 29th, 2012, 01:16 AM   #18 (permalink)
Member
 
Join Date: Jan 2012
Posts: 136
 
Device(s):
Carrier: Not Provided

Thanks: 26
Thanked 28 Times in 17 Posts
Default

I'm basically starting over from scratch as I thought my cyanogen source got screwed up so I deleted and re-downloaded the CM7 "git" files last night. (same errors though) I have made some small changes, but I think they are required for CM to build.

Here's what I've done so far:

Created an "arthur" folder in ./devices/zte and copied the files from your github in there.

Created a new cyanogen_arthur.mk file in ./vendor/cyanogen/products as it wouldn't even try to build without that. Just copied the config for the blade and modified product info based on your build.prop. (hopefully that was the right thing to do)

Ran "source ./build/envsetup.sh"
Ran "lunch" and selected ZTE_Warp. This failed initially. With the error below. Had to add "-eng" to the end of the value in vendorsetup.sh and it seemed to work fine after that.
Quote:
** Invalid variant: 'ZTE_Warp'
** Must be one of user userdebug eng
Ran "make clobber clean" and deleted the ./vendor/zte/proprietary folder as I did try adding some different files to the build previously. Removed it for the sake of testing and still get the same error.

I normally run the actual builds using CM Compiler, however I also tried using "mka -j2 bacon" as well and get the same error. If I look in the Android.mk file in both of the locations shown in the errors, I do see code to set up the various shared libraries. (code is similar, but not the same) Just for the heck of it, I commented out all the CM code and it still wouldn't build right...got errors related to Wifi. (same result when I commented out your code and left the CM stuff. So I'm not sure what's going on, but I'm pretty confident I won't be figuring it out by myself. Anyway, here are 3 libraries that it's hanging on if it helps.

Quote:
build/core/base_rules.mk:162: *** hardware/msm7k/libaudio-msm7x30: MODULE.TARGET.SHARED_LIBRARIES.libaudiopolicy already defined by device/zte/arthur/libaudio. Stop.

build/core/base_rules.mk:162: *** hardware/msm7k/libaudio-msm7x30: MODULE.TARGET.SHARED_LIBRARIES.libaudio already defined by device/zte/arthur/libaudio. Stop.

build/core/base_rules.mk:162: *** hardware/ril/libril: MODULE.TARGET.SHARED_LIBRARIES.libril already defined by device/zte/arthur/libril. Stop.
Sorry about the long post, but I believe that is the extent of my changes. I'm almost positive I didn't make any other changes to your code or the CM stuff.

Edit: Eh, sorry...didn't notice your posts as I've been typing for a while... haha Glad you were able to reproduce the errors though. Will try out the files in your .zip.

Edit again: I renamed my existing "arthur" folder and pasted the contents of your zip into a new one. Now I get a similar error, but for libaudioalsa. Get the same if I overwrite the existing source files as well.

Quote:
build/core/base_rules.mk:162: *** device/zte/arthur/libaudioalsa: MODULE.TARGET.SHARED_LIBRARIES.libaudioalsa.so already defined by device/zte/arthur-old/libaudioalsa. Stop.
JBrd400 is offline  
Last edited by JBrd400; March 29th, 2012 at 02:13 AM.
Reply With Quote
Old March 29th, 2012, 09:49 AM   #19 (permalink)
ROM Developer
Thread Author (OP)
 
hroark13's Avatar
 
Join Date: Jul 2011
Posts: 2,578
 
Device(s):
Carrier: Not Provided

Thanks: 366
Thanked 2,471 Times in 683 Posts
Default

Quote:
Originally Posted by JBrd400 View Post
I'm basically starting over from scratch as I thought my cyanogen source got screwed up so I deleted and re-downloaded the CM7 "git" files last night. (same errors though) I have made some small changes, but I think they are required for CM to build.

Here's what I've done so far:

Created an "arthur" folder in ./devices/zte and copied the files from your github in there.

Created a new cyanogen_arthur.mk file in ./vendor/cyanogen/products as it wouldn't even try to build without that. Just copied the config for the blade and modified product info based on your build.prop. (hopefully that was the right thing to do)

Ran "source ./build/envsetup.sh"
Ran "lunch" and selected ZTE_Warp. This failed initially. With the error below. Had to add "-eng" to the end of the value in vendorsetup.sh and it seemed to work fine after that.
Ran "make clobber clean" and deleted the ./vendor/zte/proprietary folder as I did try adding some different files to the build previously. Removed it for the sake of testing and still get the same error.

I normally run the actual builds using CM Compiler, however I also tried using "mka -j2 bacon" as well and get the same error. If I look in the Android.mk file in both of the locations shown in the errors, I do see code to set up the various shared libraries. (code is similar, but not the same) Just for the heck of it, I commented out all the CM code and it still wouldn't build right...got errors related to Wifi. (same result when I commented out your code and left the CM stuff. So I'm not sure what's going on, but I'm pretty confident I won't be figuring it out by myself. Anyway, here are 3 libraries that it's hanging on if it helps.

Sorry about the long post, but I believe that is the extent of my changes. I'm almost positive I didn't make any other changes to your code or the CM stuff.

Edit: Eh, sorry...didn't notice your posts as I've been typing for a while... haha Glad you were able to reproduce the errors though. Will try out the files in your .zip.

Edit again: I renamed my existing "arthur" folder and pasted the contents of your zip into a new one. Now I get a similar error, but for libaudioalsa. Get the same if I overwrite the existing source files as well.

you are doing too much, and making it complicated

do not just rename the old arthur folder delete it or move it out of the cm7 folder

just take my zip in the above post and unzip it into the device/zte/arthur folder

make clean
make clobber
source ./build/envsetup.sh
lunch ZTE_Warp-eng
mka -j4 bacon
hroark13 is offline  
Reply With Quote
Old March 29th, 2012, 10:38 AM   #20 (permalink)
Member
 
Join Date: Jan 2012
Posts: 136
 
Device(s):
Carrier: Not Provided

Thanks: 26
Thanked 28 Times in 17 Posts
Default

I tried it renaming the arthur folder and creating a new one only with your .zip contents and also using your existing source and overwriting with the zip contents. Same result either way. Not sure what I'm doing that's too much though. As far as the actual build goes, I'm running effectively the same commands you are. (though it may be hard to tell how I listed everything) The other changes like creating cyanogen_arthur.mk and modifying vendorsetup.sh, etc. were necessary to get the build to work as well. Just wanted to give the full picture in case one of those other steps could be the issue.
JBrd400 is offline  
Reply With Quote
sponsored links
Old March 29th, 2012, 11:13 AM   #21 (permalink)
ROM Developer
Thread Author (OP)
 
hroark13's Avatar
 
Join Date: Jul 2011
Posts: 2,578
 
Device(s):
Carrier: Not Provided

Thanks: 366
Thanked 2,471 Times in 683 Posts
Default

Quote:
Originally Posted by JBrd400 View Post
The other changes like creating cyanogen_arthur.mk and modifying vendorsetup.sh, etc. were necessary to get the build to work as well.
not for me
hroark13 is offline  
Reply With Quote
Old March 29th, 2012, 11:17 AM   #22 (permalink)
ROM Developer
Thread Author (OP)
 
hroark13's Avatar
 
Join Date: Jul 2011
Posts: 2,578
 
Device(s):
Carrier: Not Provided

Thanks: 366
Thanked 2,471 Times in 683 Posts
Default

Quote:
Originally Posted by JBrd400 View Post
I tried it renaming the arthur folder and creating a new one only with your .zip contents and also using your existing source and overwriting with the zip contents. Same result either way. Not sure what I'm doing that's too much though. As far as the actual build goes, I'm running effectively the same commands you are. (though it may be hard to tell how I listed everything) The other changes like creating cyanogen_arthur.mk and modifying vendorsetup.sh, etc. were necessary to get the build to work as well. Just wanted to give the full picture in case one of those other steps could be the issue.

do you want me to remote into your system some how , and do it

because I am not sure if you are understanding my instructions
hroark13 is offline  
Reply With Quote
Old March 29th, 2012, 11:50 AM   #23 (permalink)
Member
 
Join Date: Jan 2012
Posts: 136
 
Device(s):
Carrier: Not Provided

Thanks: 26
Thanked 28 Times in 17 Posts
Default

Okay, good to know. I removed both changes and did the steps you mentioned.

Quote:
make clean
make clobber
source ./build/envsetup.sh
lunch ZTE_Warp-eng
mka -j4 bacon
Now it's hanging at libaudiopolicy again. Sorry, but I must be missing something if it works for you with the latest zip. If you want to remote in, that's fine with me. Teamviewer?
JBrd400 is offline  
Reply With Quote
Old March 29th, 2012, 11:52 AM   #24 (permalink)
ROM Developer
Thread Author (OP)
 
hroark13's Avatar
 
Join Date: Jul 2011
Posts: 2,578
 
Device(s):
Carrier: Not Provided

Thanks: 366
Thanked 2,471 Times in 683 Posts
Default

Quote:
Originally Posted by JBrd400 View Post
Okay, good to know. I removed both changes and did the steps you mentioned.



Now it's hanging at libaudiopolicy again. Sorry, but I must be missing something if it works for you with the latest zip. If you want to remote in, that's fine with me. Teamviewer?

Ok

I have never used teamviewer, but I will install it now

what info do I need for it ?
hroark13 is offline  
Reply With Quote
Old March 29th, 2012, 11:56 AM   #25 (permalink)
Member
 
Join Date: Jan 2012
Posts: 136
 
Device(s):
Carrier: Not Provided

Thanks: 26
Thanked 28 Times in 17 Posts
Default

It's a nice app and free for personal use. Once you get it installed, you'll need my ID/password to make the connection. Can I email you through the forums or send you a PM?
JBrd400 is offline  
Reply With Quote
Old March 29th, 2012, 11:57 AM   #26 (permalink)
ROM Developer
Thread Author (OP)
 
hroark13's Avatar
 
Join Date: Jul 2011
Posts: 2,578
 
Device(s):
Carrier: Not Provided

Thanks: 366
Thanked 2,471 Times in 683 Posts
Default

Quote:
Originally Posted by JBrd400 View Post
It's a nice app and free for personal use. Once you get it installed, you'll need my ID/password to make the connection. Can I email you through the forums or send you a PM?

send PM I added you to my friend list, so that you can
hroark13 is offline  
Reply With Quote
Old March 29th, 2012, 10:42 PM   #27 (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,394
Thanked 1,732 Times in 877 Posts
Default

I'm having an issue with the build.
It says wpa_ctrl.h no such file, here's a pic

I'm a little lost, I get this everytime
downthemachine is online now  
Reply With Quote
Old March 29th, 2012, 10:53 PM   #28 (permalink)
Member
 
Join Date: Jan 2012
Posts: 136
 
Device(s):
Carrier: Not Provided

Thanks: 26
Thanked 28 Times in 17 Posts
Default

Had the same issue, but hroark gave me some info to get past it.

Quote:
do a

make clobber

delete the libwpa_client from the arthur folder

edit the BoardConfig.mk

and change

WPA_SUPPLICANT_VERSION := VER_0_8_X

to

WPA_SUPPLICANT_VERSION := VER_0_6_X


make clean
make clobber
source ./build/envsetup.sh
lunch ZTE_Warp-eng
mka -j4 bacon
The build was able to finish, but the phone wouldn't boot. Logcat is showing this error over and over. Trying to figure out where this key shutter sound parameter is exactly.

Quote:
E/AndroidRuntime( 2433): *** FATAL EXCEPTION IN SYSTEM PROCESS: main
E/AndroidRuntime( 2433): java.lang.UnsatisfiedLinkError: Cannot load library: link_image[1969]: 2427 could not load needed library 'libsystem_server.so' for 'libandroid_servers.so' (link_image[1969]: 2427 could not load needed library 'libcameraservice.so' for 'libsystem_server.so' (link_image[1969]: 2427 could not load needed library 'libcamera.so' for 'libcameraservice.so' (reloc_library[1318]: 2427 cannot locate '_ZN7android16CameraParameters24KEY_SHUTTER_SOUND_ SELECTE'...
JBrd400 is offline  
Reply With Quote
Old March 29th, 2012, 11:17 PM   #29 (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,394
Thanked 1,732 Times in 877 Posts
Default

Nevermind
downthemachine is online now  
Last edited by downthemachine; March 29th, 2012 at 11:30 PM.
Reply With Quote
Old March 30th, 2012, 02:15 AM   #30 (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,394
Thanked 1,732 Times in 877 Posts
Default

Build completed, would not boot. Really tired so bear with me. I just noticed that hroark's build said 7_2 on it, my repository is gingerbread, not gingerbread 7.2. I'm still wondering if it's maybe the kernel that was in the source?
Also my update-script looked different than hroark's, I tried the way it was compiled, I tried using hroark's update-script, then again with his boot.img, I used the source from the zip that was posted. Any ideas?
downthemachine is online now  
Reply With Quote
sponsored links
Old March 30th, 2012, 02:16 AM   #31 (permalink)
ROM Developer
Thread Author (OP)
 
hroark13's Avatar
 
Join Date: Jul 2011
Posts: 2,578
 
Device(s):
Carrier: Not Provided

Thanks: 366
Thanked 2,471 Times in 683 Posts
Default

Quote:
Originally Posted by JBrd400 View Post
Had the same issue, but hroark gave me some info to get past it.



The build was able to finish, but the phone wouldn't boot. Logcat is showing this error over and over. Trying to figure out where this key shutter sound parameter is exactly.
remove the libomecamera from the arthur folder

and change this in the boardconfig.mk


USE_CAMERA_STUB:=false


to


USE_CAMERA_STUB:=true
hroark13 is offline  
Reply With Quote
The Following User Says Thank You to hroark13 For This Useful Post:
JBrd400 (March 30th, 2012)
Old March 30th, 2012, 02:19 AM   #32 (permalink)
ROM Developer
Thread Author (OP)
 
hroark13's Avatar
 
Join Date: Jul 2011
Posts: 2,578
 
Device(s):
Carrier: Not Provided

Thanks: 366
Thanked 2,471 Times in 683 Posts
Default

Quote:
Originally Posted by downthemachine View Post
Build completed, would not boot. Really tired so bear with me. I just noticed that hroark's build said 7_2 on it, my repository is gingerbread, not gingerbread 7.2. I'm still wondering if it's maybe the kernel that was in the source?
Also my update-script looked different than hroark's, I tried the way it was compiled, I tried using hroark's update-script, then again with his boot.img, I used the source from the zip that was posted. Any ideas?
the update script I usually edit to format data and cache and I add all those messages in it
hroark13 is offline  
Reply With Quote
Old March 30th, 2012, 02:25 AM   #33 (permalink)
ROM Developer
Thread Author (OP)
 
hroark13's Avatar
 
Join Date: Jul 2011
Posts: 2,578
 
Device(s):
Carrier: Not Provided

Thanks: 366
Thanked 2,471 Times in 683 Posts
Default

I hope you guys realize that I am trying to get hardware working

so my source is changing a lot


sometimes those changes cause more issues

it is really a lot of testing


try this driver, see if ti works, blah blah blah


I have stopped focusing on hardware like camera and stuff because I believe the major thing we are going to need to overcome is the RIL


and if we can not get the RIL working, then there is no point on doing anything else
hroark13 is offline  
Reply With Quote
The Following 2 Users Say Thank You to hroark13 For This Useful Post:
JBrd400 (March 30th, 2012), Spiyder (March 30th, 2012)
Old March 30th, 2012, 02:25 AM   #34 (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,394
Thanked 1,732 Times in 877 Posts
Default

So libomecamera is prob my issue too?
downthemachine is online now  
Reply With Quote
Old March 30th, 2012, 02:36 AM   #35 (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,394
Thanked 1,732 Times in 877 Posts
Default

Quote:
Originally Posted by hroark13 View Post
I hope you guys realize that I am trying to get hardware working

so my source is changing a lot


sometimes those changes cause more issues

it is really a lot of testing


try this driver, see if ti works, blah blah blah


I have stopped focusing on hardware like camera and stuff because I believe the major thing we are going to need to overcome is the RIL


and if we can not get the RIL working, then there is no point on doing anything else
I totally don't blame you for any issues , you have helped us enormously! I'm just wanting to learn, and I'd hope my questions aren't a bother! Thanks again hroark
downthemachine is online now  
Reply With Quote
Old March 30th, 2012, 02:50 AM   #36 (permalink)
ROM Developer
Thread Author (OP)
 
hroark13's Avatar
 
Join Date: Jul 2011
Posts: 2,578
 
Device(s):
Carrier: Not Provided

Thanks: 366
Thanked 2,471 Times in 683 Posts
Default

Quote:
Originally Posted by downthemachine View Post
I totally don't blame you for any issues , you have helped us enormously! I'm just wanting to learn, and I'd hope my questions aren't a bother! Thanks again hroark

no bother at all

I am just having issues using git hub

and I am not very good at version tracking, because I change a lot of things and test them to see if they work

I will put updated source on github that complies and boots this weekend

it will still have the problem with hardware not working

but it will boot

for now you if you make those changes I suggested it should compile and boot
hroark13 is offline  
Reply With Quote
The Following 3 Users Say Thank You to hroark13 For This Useful Post:
downthemachine (March 30th, 2012), JBrd400 (March 30th, 2012), Snake X (March 30th, 2012)
Old March 30th, 2012, 01:30 PM   #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,394
Thanked 1,732 Times in 877 Posts
Default

Well as for my last build, it got past the green android logo, but wouldn't logcat, so I'll wait for the updated source
downthemachine is online now  
Reply With Quote
Old March 30th, 2012, 08:00 PM   #38 (permalink)
ROM Developer
Thread Author (OP)
 
hroark13's Avatar
 
Join Date: Jul 2011
Posts: 2,578
 
Device(s):
Carrier: Not Provided

Thanks: 366
Thanked 2,471 Times in 683 Posts
Default

Quote:
Originally Posted by downthemachine View Post
Well as for my last build, it got past the green android logo, but wouldn't logcat, so I'll wait for the updated source

I did a build with this source and it compiles and boots

arthur-3-30-13.zip


let me know if it does not for you
hroark13 is offline  
Reply With Quote
Old March 30th, 2012, 08:05 PM   #39 (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

.
Snake X is offline  
Last edited by Snake X; March 30th, 2012 at 08:05 PM. Reason: mind changed on what I said previously
Reply With Quote
Old March 30th, 2012, 11:22 PM   #40 (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,394
Thanked 1,732 Times in 877 Posts
Default

Builds and boots! Thanks hroark!
downthemachine is online now  
Reply With Quote
sponsored links
Old March 31st, 2012, 01:09 AM   #41 (permalink)
Member
 
Join Date: Jan 2012
Posts: 136
 
Device(s):
Carrier: Not Provided

Thanks: 26
Thanked 28 Times in 17 Posts
Default

Yup, worked for me too. FINALLY got to see what CM7 looks like... lol

I know BT and such aren't high priority ATM, but I found a couple files that are not in the arthur source that are called by init scripts. (listed below) I'll add them to my local source, but thought I'd mention them in case anyone else wants to add them as well.

/system/bin/hci_qcomm_init needed by: init.qcom.bt.sh
/system/bin/btwlancoex needed by: init.qcom.coex.sh
/system/bin/fm_qsoc_patches needed by: init.qcom.fm.sh
JBrd400 is offline  
Reply With Quote
The Following User Says Thank You to JBrd400 For This Useful Post:
hroark13 (March 31st, 2012)
Old March 31st, 2012, 03:35 AM   #42 (permalink)
ROM Developer
Thread Author (OP)
 
hroark13's Avatar
 
Join Date: Jul 2011
Posts: 2,578
 
Device(s):
Carrier: Not Provided

Thanks: 366
Thanked 2,471 Times in 683 Posts
Default

Quote:
Originally Posted by JBrd400 View Post
Yup, worked for me too. FINALLY got to see what CM7 looks like... lol

I did have a ROM in the OP from day 1
hroark13 is offline  
Reply With Quote
Old March 31st, 2012, 03:47 AM   #43 (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,394
Thanked 1,732 Times in 877 Posts
Default

Quote:
Originally Posted by hroark13 View Post
I did have a ROM in the OP from day 1
Lol
downthemachine is online now  
Reply With Quote
Old March 31st, 2012, 09:05 AM   #44 (permalink)
ROM Developer
Thread Author (OP)
 
hroark13's Avatar
 
Join Date: Jul 2011
Posts: 2,578
 
Device(s):
Carrier: Not Provided

Thanks: 366
Thanked 2,471 Times in 683 Posts
Default

the installer script the cm7 generates does not set all the needed permissions

I have created some CMW installer templates for CM7, stock and other things


I had to add these lines


set_perm(0, 0755, 0755, "/system/etc/init.qcom.bt.sh");
set_perm(0, 0755, 0755, "/system/etc/init.qcom.coex.sh");
set_perm(0, 0755, 0755, "/system/etc/init.qcom.fm.sh");
set_perm(0, 0755, 0755, "/system/etc/init.qcom.post_boot.sh");
set_perm(0, 0755, 0755, "/system/etc/init.qcom.sdio.sh");
set_perm(0, 0755, 0755, "/system/etc/init.qcom.wifi.sh");


http://androidforums.com/warp-all-things-root/521012-zte-warp-cwm-installer-templates-updated-3-31-a.html#post4122690

you may want to replace the updater-script on any ROMS you compile
hroark13 is offline  
Reply With Quote
The Following User Says Thank You to hroark13 For This Useful Post:
JBrd400 (March 31st, 2012)
Old March 31st, 2012, 11:15 AM   #45 (permalink)
Member
 
Join Date: Jan 2012
Posts: 136
 
Device(s):
Carrier: Not Provided

Thanks: 26
Thanked 28 Times in 17 Posts
Default

Quote:
Originally Posted by hroark13 View Post
I did have a ROM in the OP from day 1
Sure, but I chose not to use that as I wanted to build it myself. (regardless of the fact that you really did all the hard work to put together a working source) My primary concern has always been to have a working source that can be used as a baseline to test changes against. So actually seeing CM7 was a secondary concern, but still good to see after all the hours spent working on this.
JBrd400 is offline  
Reply With Quote
Old March 31st, 2012, 11:34 AM   #46 (permalink)
ROM Developer
Thread Author (OP)
 
hroark13's Avatar
 
Join Date: Jul 2011
Posts: 2,578
 
Device(s):
Carrier: Not Provided

Thanks: 366
Thanked 2,471 Times in 683 Posts
Default

Quote:
Originally Posted by JBrd400 View Post
Yup, worked for me too. FINALLY got to see what CM7 looks like... lol

I know BT and such aren't high priority ATM, but I found a couple files that are not in the arthur source that are called by init scripts. (listed below) I'll add them to my local source, but thought I'd mention them in case anyone else wants to add them as well.

/system/bin/hci_qcomm_init needed by: init.qcom.bt.sh
/system/bin/btwlancoex needed by: init.qcom.coex.sh
/system/bin/fm_qsoc_patches needed by: init.qcom.fm.sh

i put those file in the patch file in the second post a while back


i have tried adding then to the source and having them copy during the compile, but CM7 seems to overwrite them with its own version and I have to use the patch update anyway
hroark13 is offline  
Reply With Quote
Old March 31st, 2012, 11:54 AM   #47 (permalink)
Member
 
Join Date: Jan 2012
Posts: 136
 
Device(s):
Carrier: Not Provided

Thanks: 26
Thanked 28 Times in 17 Posts
Default

Quote:
Originally Posted by hroark13 View Post
i put those file in the patch file in the second post a while back


i have tried adding then to the source and having them copy during the compile, but CM7 seems to overwrite them with its own version and I have to use the patch update anyway
I just checked the md5sums of those 3 files before & after my build and they were the same. (modified device_arthur.mk to do the copy) Now I didn't do the make clean or make clobber steps though as I was just adding some additional files to test. Would that make any difference?
JBrd400 is offline  
Reply With Quote
Old March 31st, 2012, 02:23 PM   #48 (permalink)
Member
 
Join Date: Jan 2012
Posts: 136
 
Device(s):
Carrier: Not Provided

Thanks: 26
Thanked 28 Times in 17 Posts
Default

Couple questions...

Anyone have ideas as to why "ls" doesn't work when using adb shell from within CM7 unless you specify the full path? (/system/xbin/ls) Tried a couple other xbin files and they seem fine.

Other thing is, I see an error in logcat stating that /data/system/entropy.dat is missing and causes the entropy service to fail. However, it is in the correct spot on the phone so I'm assuming this is a permissions issue. Currently it's set r/w for system (user) only. Can I assume that the errors are being caused because root needs access instead? Not really asking about this case so much, but whether this is the correct logic when troubleshooting these types of errors.
JBrd400 is offline  
Reply With Quote
Old March 31st, 2012, 03:56 PM   #49 (permalink)
ROM Developer
Thread Author (OP)
 
hroark13's Avatar
 
Join Date: Jul 2011
Posts: 2,578
 
Device(s):
Carrier: Not Provided

Thanks: 366
Thanked 2,471 Times in 683 Posts
Default

Quote:
Originally Posted by JBrd400 View Post
Couple questions...

Anyone have ideas as to why "ls" doesn't work when using adb shell from within CM7 unless you specify the full path? (/system/xbin/ls) Tried a couple other xbin files and they seem fine.

Other thing is, I see an error in logcat stating that /data/system/entropy.dat is missing and causes the entropy service to fail. However, it is in the correct spot on the phone so I'm assuming this is a permissions issue. Currently it's set r/w for system (user) only. Can I assume that the errors are being caused because root needs access instead? Not really asking about this case so much, but whether this is the correct logic when troubleshooting these types of errors.

on which installer script? that is important
hroark13 is offline  
Reply With Quote
Old March 31st, 2012, 04:02 PM   #50 (permalink)
ROM Developer
Thread Author (OP)
 
hroark13's Avatar
 
Join Date: Jul 2011
Posts: 2,578
 
Device(s):
Carrier: Not Provided

Thanks: 366
Thanked 2,471 Times in 683 Posts
Default

Quote:
Originally Posted by downthemachine View Post
Nevermind


Let me google that for you
hroark13 is offline  
Reply With Quote
The Following User Says Thank You to hroark13 For This Useful Post:
jjohnbubby5 (March 31st, 2012)
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:45 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.