D
Deleted User
Guest
One of the few things I leave my house for is va appointments. That's where I'm at. As soon as I get home I'll be back on the job.
Stay groovy yall
Stay groovy yall
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Okay, I believe it should be good to go now. Try seeing if that will get it to at least make it to the CM boot animation.
You can find my (current) replacement device tree here: https://github.com/ikarosdev/android_device_zte_elden/archive/master.zip
Make sure to clean out the whole source (make clobber), and run the extract-files script again. Any leftover stuff from previous builds will definitely cause booting to fail if not stop the build process.
If the thing won't build, post the error here, and I'll correct it and update my device tree. If you get a semi-booting build (or fully booting), I'll go ahead and send up a pull request.![]()
After fixing a couple typos, the build completed. Was left without the init.rc, it was left off the device.mk. So put in kitchen and added it. Then it didn't get past the splash screen. So I put it back in kitchen and replaced the init with the one from stock and it got past the splash and the android guy then a black screen again. Changed the ueventd.qcom.rc to ueventd.rc and got same result.
TARGET_PROVIDES_INIT_RC := true
Okay, thanks. Can you post the typos, so I can correct them?
I purposefully left out init.rc and the prebuilt init binary. Both of shouldn't be necessary. It didn't build with a init.rc because I forgot to remove this line in BoardConfig.mk:
Remove that line, and it will build and put a init.rc in the generated boot image. It's not going to work with the stock ROMs init.rc because you're not trying to boot the stock ROM. It needs to be the init.rc from CM (which gets auto included in the build after removing the line I suggested above).Code:TARGET_PROVIDES_INIT_RC := true
I think you already found that one at /system/core/rootdir/init.rc
That's what will get CM booting, not the stock ROM init.rc. If you look at that file, you can see it will import the init for your particular hardware. That's why I named everything init.qcom.rc and ueventd.qcom.rc.
Also the qcomadreno that in our phone is 225 does that matter that the gpu is configured on board as 200
TARGET_BOARD_PLATFORM_GPU := qcom-adreno225
The defines in BoardConfig trigger other makefiles in the rest of the CM source. I couldn't find
Code:TARGET_BOARD_PLATFORM_GPU := qcom-adreno225
anywhere. All the other MSM8960 devices use qcom-adreno200 (my device included), so that's what I went with.
I made some changes, and hopefully fixed the typos. You can see that here: https://github.com/ikarosdev/androi...mmit/84998783d191dbae198bd1fae2a098e46f14cf2c
I'm just asking to learn. I wasn't questioning your edits. I appreciate your help and input.
Oh, no worries! It good to ask because I've been out of the game so long. The last version of Android I was porting over was when ICS literally came out. That was well over a year ago.
I'm actually having to go back and try and catch up with all the changes that's happened so far. Concerning qcom-adreno200, I was trying to say that it's a conditional found in makefiles of source. It's an all encompassing term kinda. Even if you had a qcom-adreno205, you'd still use qcom-adreno200. Funny thing is, I combed through the source, and I can't find it anywhere anymore. I think it's actually useless now, but don't quote me on that.I still see a lot of other MSM8960 devices using it, so I just followed along.
The -DLGE_MS8960 flag, I believe, is for LGE MSM8960 devices. I'm still trying to track down what exactly it does (in source), so I removed it for now. I figured since you guys have a ZTE device, it doesn't help to trigger a flag for LG devices.
It's my understanding that any changes to BoardConfig require a clean of the source. I've always done it that way, but it may have changed recently. Thanks for specifying the typo, I've fixed it now.
My guess is that you're pretty close to booting. If you getting to the splash screen, and then hit a black screen, at that point it's trying to boot the ROM. That should mean that your boot image is solid, minus a screwup somewhere in the inits. The Avid doesn't have a locked bootloader does it?
I'm wondering if an additional init.xxx.rc doesn't need to be made to include things that's not on the one in build system. Any suggestions anyone?
You guys making any progress?
Had to go back into the code cuz I was at a loss. But I did find a couple changes that needed to be made. So to answer your question, yes. How this build comes out will determine how much.
Stay groovy.
Everyone ok? Got quiet in here FAST.
Don't let totlth fool you. Everybody was busy facepalming because of my bad unintended joke that I left up.