Guest malez Posted August 14, 2010 Report Posted August 14, 2010 (edited) Okay, problem found, unyaffs2 doesn't know how to keep proper uids, I'll have to fix it by myself. Also I'll ask malez for something to automate the conversion from nand to SD in recovery. I will have to modify the recovery. I have to modify it because I would like to add some features : - be able to use search and < to move in list in addition to volume keys - manage cache partition in nandroid - be able to resize partition (really not sure) - automate creation of the ext2 fs files based on current installed rom or on selected nandroid backup (a bit harder). Output directory will be LCR in a first time but maybe latest it could be a selection of a folder in sdcard root. (I must admit the file names disturb me a little because usually system.img and data.img are unyaffs not ext :D no matter) I also have to work on LCR-S (not a priority but i really would like to test new elements), LCR-E (i would like to fix issue 161) and LCR-F (priority) + develop an application for configuring LCR roms don't know will be my organization. Just a useless question to phh : why .7z and not .zip that is now managed out of box by many os ? edit : Oups, forgot something : thank you Edited August 14, 2010 by malez
Guest malez Posted August 14, 2010 Report Posted August 14, 2010 (edited) Yes, same for me. It says that there isn't an SD, but I can browse it with ES File Explorer It reminds me some fun (issues) i had on LCR-S and that were fixed. I will just have a look at you boot.img content to know if it could be the same reason. EDIT : mount vfat /dev/block/mmcblk0p1 /sdcard you mount sdcard in the ramdisk, so that explain with we have acces of it using esFileExplorer. But the problem is that system hopes vold to do the job. Vold is unable to do it because /dev/block/mmcblk0p1 is already mounted. We are facing a "dilemme" : you can't umount /sdcard because you have local mount point based on its content, and you can't use a second parition on sdcard like /dev/block/mmcblk0p2 to store img file because froyo does not support multiple partition (it a long time since i have not created a second partition on my sd, maybe it work in fact) Edited August 14, 2010 by malez
Guest phhusson Posted August 14, 2010 Report Posted August 14, 2010 - be able to resize partition (really not sure) Warning of the noobs everywhere that will more likely complain because something bad happened ;) - automate creation of the ext2 fs files based on current installed rom or on selected nandroid backup (a bit harder). Based on a selected nandroid backup, just use an unyaffs. I'll cross compile one with uid support. Output directory will be LCR in a first time but maybe latest it could be a selection of a folder in sdcard root. I'll have to think about that. I've some (really dirty) ideas available :D (I must admit the file names disturb me a little because usually system.img and data.img are unyaffs not ext :D no matter) Sorry about that ;) Just a useless question to phh : why .7z and not .zip that is now managed out of box by many os ? Something like a 12kB/s upload connection is something enough to convince me to go from zip to 7z :D Yes, same for me. It says that there isn't an SD, but I can browse it with ES File Explorer Errr, I didn't bother testing such a basic feature :D'
Guest malez Posted August 14, 2010 Report Posted August 14, 2010 Warning of the noobs everywhere that will more likely complain because something bad happened :D The is one of the reason why i am not really enthousistic on doing it (the second is that i am a bit affraid of break my own phone during dev/tests) Based on a selected nandroid backup, just use an unyaffs. I'll cross compile one with uid support. The one included in recovery already have uid support. If that was not the case nandroid would not work (specially on data.img) I'll have to think about that. I've some (really dirty) ideas available :D I have too but am too tired to start tonight Sorry about that :D Something like a 12kB/s upload connection is something enough to convince me to go from zip to 7z ;) oups , i understand ;) Errr, I didn't bother testing such a basic feature :D' I have edited my previous post with my opinion on sd mount issues.
Guest phhusson Posted August 14, 2010 Report Posted August 14, 2010 EDIT : mount vfat /dev/block/mmcblk0p1 /sdcard you mount sdcard in the ramdisk, so that explain with we have acces of it using esFileExplorer. But the problem is that system hopes vold to do the job. Vold is unable to do it because /dev/block/mmcblk0p1 is already mounted. We are facing a "dilemme" : you can't umount /sdcard because you have local mount point based on its content, and you can't use a second parition on sdcard like /dev/block/mmcblk0p2 to store img file because froyo does not support multiple partition (it a long time since i have not created a second partition on my sd, maybe it work in fact) Oh fine, it's easy to fix, you don't use /sdcard, but any other mount point, thanks :D
Guest malez Posted August 14, 2010 Report Posted August 14, 2010 Oh fine, it's easy to fix, you don't use /sdcard, but any other mount point, thanks :D hoping there will not be any conflict with /dev/block/mmcblk0p1 monted in 2 places on same time but if i remember that is /device/plateform that is used in vold
Guest phhusson Posted August 14, 2010 Report Posted August 14, 2010 hoping there will not be any conflict with /dev/block/mmcblk0p1 monted in 2 places on same time but if i remember that is /device/plateform that is used in vold No, linux is clever (and I've tested it just in case :D
Guest malez Posted August 14, 2010 Report Posted August 14, 2010 No, linux is clever (and I've tested it just in case :D I leave i am so tired that i fall asleep on my keyboard. Time to eat and sleep. Tomorrow i will try to work at early morning. Have a good night
Guest phhusson Posted August 14, 2010 Report Posted August 14, 2010 Fix added, replace the Boot-LCR-SD.zip
Guest hvlt Posted August 14, 2010 Report Posted August 14, 2010 First of all, thank you for your great work. I try it and it works. SD is recognized without problem : test on Gallery But download via Android Market fail.
Guest DanWilson Posted August 14, 2010 Report Posted August 14, 2010 Would it be possible for this to work on other phones? (Such as the T-Mobile Pulse?) We have stability problems in official 2.1! 1.5 worked better so having it on the SD card would be brilliant! 2.1 is good to have but 1.5 was better in some ways. 2 in 1 = ownage.
Guest phhusson Posted August 14, 2010 Report Posted August 14, 2010 Would it be possible for this to work on other phones? (Such as the T-Mobile Pulse?) We have stability problems in official 2.1! 1.5 worked better so having it on the SD card would be brilliant! 2.1 is good to have but 1.5 was better in some ways. 2 in 1 = ownage. If you can create+flash your own boot.img, yes. Basically, create ext2 FS like explained in OP, edit your init.rc config in initramfs, delete all references to mtd and where it mounts /system, add something like that: mount vfat /dev/block/mmcblk0p1 /sdcard2 mount ext2 loop@/sdcard2/LCR/system.img /system mount ext2 loop@/sdcard2/LCR/data.img /data Also add the proper mkdir /sdcard2 command, like /sdcard. Of course you can change the LCR name by a proper folder name :D
Guest pipajoja Posted August 15, 2010 Report Posted August 15, 2010 is it just me or it doesnt reboot back to froyo? anyway, LCR is laggy here, sorta expected since i have a crap sd card nice work :-)
Guest goodhanrry Posted August 17, 2010 Report Posted August 17, 2010 please.what's the dual_unsafe file ?
Guest pajn Posted August 17, 2010 Report Posted August 17, 2010 is it just me or it doesnt reboot back to froyo? Not for me either. I looked in the system and couldn't find the /sbin/flash_image. I don't know if it's only available at a very early stage of boot or if it's just missing, if so thats why.
Guest phhusson Posted August 17, 2010 Report Posted August 17, 2010 Not for me either. I looked in the system and couldn't find the /sbin/flash_image. I don't know if it's only available at a very early stage of boot or if it's just missing, if so thats why. It should be in the boot.img, and actually is there in the initrd.gz I've on my hard drive oO I'll send yet another one later.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now