Quote:
Originally Posted by Lmiller1708
Nate. Look at the install-seq.sh now.
The reason why Wifi didn't work was because it was not getting past the #echo "Installing...Recovery" section. We will just need to leave that out until we can get the recovery part working.
|
You must have had an old install-seq.sh file if it was breaking there. I did a commit a couple days ago to fix that issue. I put it up on git so we would all use the same one for easier troubleshooting.
That being said, I think I may have the modules thing ironed out for multiple kernel versions. Here's the code that I'm testing right now in install-seq.sh:
Code:
if [ ! -d /data/modules/`uname -r` ] ; then
mkdir /data/modules/`uname -r`
cp -a /data/modules /data/modules/`uname -r`
cp -R /system/etc/wifi/* /data/modules/`uname -r`
rm /system/lib/modules/`uname -r`
ln -s /data/modules/`uname -r` /system/lib/modules/`uname -r`
elif [ ! -e /system/lib/modules/`uname -r` ] ; then
cp -R /system/etc/wifi/* /data/modules/`uname -r`
ln -s /data/modules/`uname -r` /system/lib/modules/`uname -r`
fi
Also, if we make this change, we need to fix up init, so I did this:
Code:
if [ ! -d /data/modules/`uname -r` ] ; then
echo "Modules are not installed. Download the matching"
fail "androidupdate.tgz and put it in your andboot folder"
elif [ ! -e /system/lib/modules/`uname -r` ] ; then
cp -R /system/etc/wifi/* /data/modules/`uname -r`
ln -s /data/modules/`uname -r` /system/lib/modules/`uname -r`
fi
If this works the way I'm expecting, I'll attach the install-seq.sh, NBH, and androidupdate.tgz to a post for people to test with. Assuming it works properly for them too, then I'll commit it. I guess on ln, the last folder listed in the command is finnicky. If that folder exists, it will create an additional folder under it named the last folder in the target directory name. If it doesn't exist, it will simply create it there. Finally got that all figured out since I was a little confused