|
||||
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!)
oh sh*t, I have to try that now.... nah no lock, ocean
__________________
Rockin' The Official TouchPro 2 aka "The dopest phone with keyboard still":
F**k windows mobile, NAND flash to droid.... Last edited by MassStash; 03-22-2011 at 06:51 PM. |
|
||||
Re: NAND Boot Testing - 03-11: FRX05 on NAND (data working again!)
ACL, you able to cat your recovery to a file that you can upload? I'm going to see if I can simply cat it onto the end of our existing payload before it creates the NB. I'm going to have to pad it to the right offset which could be a real pita to figure out, but this is the only method I can think of that might get this to work.
Figured out I can't use nbtools in any way because the OS.nb ends with the fatfs that we made 8 MB. If we wanted to include it in the NB, we would need to make it part of the imgfs or fatfs, but putting it in either might prevent us from being able to mount and update it. The fatfs was what was overwriting our partitions previously until we fixed that with the new payload. |
|
||||
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. |
|
||||
Re: NAND Boot Testing - 03-11: FRX05 on NAND (data working again!)
I just did a build without /tmp and noticed recovery tries to save a log there. Still waiting on the install at this point, so I'll let you know what else blows up
|
|
||||
Re: NAND Boot Testing - 03-11: FRX05 on NAND (data working again!)
Quote:
|
|
|
|