View Single Post
  #1682 (permalink)  
Old 03-11-2011, 08:24 PM
natemcnutty's Avatar
natemcnutty
VIP Member
Offline
Threadstarter
 
Join Date: Nov 2009
Posts: 845
Reputation: 3070
natemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: NAND Boot Testing - 03-08: Full NAND FRX05 Testing (Data not working for some)

Quote:
Originally Posted by Lmiller1708 View Post
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

Last edited by natemcnutty; 03-11-2011 at 08:36 PM.
Reply With Quote