|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
|
||||
|
Re: NAND Boot Testing - 03-11: FRX05 on NAND (data working again!)
hey nate.. i didnt test this at all but i did implement the sdcard loop wait for the recovery. pain in the ass to restore and lose the modules .. so im still trying to master mind a way around that.
__________________
|
|
||||
|
Re: NAND Boot Testing - 03-11: FRX05 on NAND (data working again!)
Quote:
tar -cvzf /cache/modules.tgz /data/modules/ /bin/flash_eraseall /dev/mtd/mtd3 > /dev/null /bin/mount -t yaffs2 /dev/block/mtdblock3 /data > /dev/null tar -xzf /cache/modules.tgz -C /data |
|
||||
|
Re: NAND Boot Testing - 03-11: FRX05 on NAND (data working again!)
Quote:
Also because the recovery is only 8mb, we will only have room for 1 extra kernel in there.. ohh well.. better than nothing |
|
||||
|
Re: NAND Boot Testing - 03-11: FRX05 on NAND (data working again!)
Quote:
For modules, I think very very few people will be wanting to hold onto their old kernel once they upgrade, but if they do, we could require a sd card for that. Just move them into a tgz on the sd card using the old uname as the name so that the kernel can grab its appropriate modules |
|
||||
|
Re: NAND Boot Testing - 03-11: FRX05 on NAND (data working again!)
Quote:
Edit: I changed the sdcard partition thing to be more efficient, removed some unnecessary stuff like the install-seq.sh portion, moved /tmp to /cache instead of /data/tmpcache, and removed the auto-mount sections for the mtdparts since we specify them in Tinboot. Last edited by natemcnutty; 03-22-2011 at 04:49 PM. |
|
||||
|
Re: NAND Boot Testing - 03-11: FRX05 on NAND (data working again!)
Quote:
Code:
-mkdir -p -m 0777 /data/tmpcache -mkdir -p -m 0771 /data/shared_prefs +if [ ! -d /data/shared_prefs ] ; then + mkdir -p -m 0771 /data/shared_prefs +fi chmod 0771 /data/shared_prefs chown 1000:1000 /data/shared_prefs ln -s /data/shared_prefs /shared_prefs -ln -s /data/tmpcache /tmp +mount /cache /tmp Also what is stored on /tmp? ifs its true tmp i wonder if we can scrap it Keep in mind that recovery needs some of this so we need to make sure we arent getting in the way. recovery uses cache lot for its logs and stuff. I see this on the rc mkdir /data/local/tmp 0771 shell shell . so how many tempts do we really need ..lol edit: all the other changes are really good. good house keeping . Lets figure this part out "+mount /cache /tmp" before commiting. Everything else will be fine. Did you test it yet? Last edited by [ACL]; 03-22-2011 at 05:42 PM. |
|
||||
|
Re: NAND Boot Testing - 03-11: FRX05 on NAND (data working again!)
Quote:
shared_prefs is for sharing preferences between standard user and root user in some applications. Not sure if this is some legacy backwards compatibility thing or what. The ln -s will create a link at /shared_prefs and it doesn't have to exist like a mount does. The /tmp was already being stored on /data, and I just moved it over to /cache. I have a feeling that /tmp is used by programs that don't support or may not be aware of /cache. In any case, I figured we could leave that one alone but move it to /cache to clean up our /data partition. No point in backing that up when we backup the data partition. Edit: Well, I just read that /data/local/tmp is what things like the market use to download APK's to. I'm beginning to think maybe /tmp is something we did on XDAndroid... Last edited by natemcnutty; 03-22-2011 at 05:48 PM. |
|
||||
|
Re: NAND Boot Testing - 03-11: FRX05 on NAND (data working again!)
Quote:
|
|
||||
|
Re: NAND Boot Testing - 03-11: FRX05 on NAND (data working again!)
Quote:
Edit: Weird, I had to download busybox to get Titanium Backup working, but then ES File Explorer won't let me root explore... Guess I need to start fresh again. Last edited by natemcnutty; 03-22-2011 at 07:38 PM. |
![]() |
|
|
|