I think you should replace all the executing line by 'sh' instead of using './' in all the scripts in your tool.It's causing the permission issues throughout the scripts.
[MOD] [SCRIPT] Multiboot via loop file [19/12]
#82
Posted 01 September 2012 - 12:17 PM
stanoo, on 01 September 2012 - 03:49 AM, said:
That usually happens when the system name you gave isnt the same as the system file you created or you didnt move the entire contents of the multiboot folder to /sdcard/multiboot on your phone.
CWM-6.0.1.1 Touch Stable
CWM-6.0.1.5 Touch Testing
Multiboot via loop, no partitioning needed
#83
Posted 01 September 2012 - 12:27 PM
android@sam, on 01 September 2012 - 12:15 PM, said:
I think you should replace all the executing line by 'sh' instead of using './' in all the scripts in your tool.It's causing the permission issues throughout the scripts.
No. Those are calls for programs, not shell scripts. You can't sh a program. Try it and see what it says.
There is no longer a problem with pernissions, it's fixed in the latest version.
Edited by Snap.IT, 01 September 2012 - 12:30 PM.
CWM-6.0.1.1 Touch Stable
CWM-6.0.1.5 Touch Testing
Multiboot via loop, no partitioning needed
#84
Posted 01 September 2012 - 12:35 PM
Sony Ericsson UI On your ZTE BLADE
"CYANSCAPE"
#85
Posted 01 September 2012 - 12:38 PM
#87
Posted 01 September 2012 - 12:54 PM
android@sam, on 01 September 2012 - 12:35 PM, said:
De@n, on 01 September 2012 - 12:38 PM, said:
android@sam, on 01 September 2012 - 12:43 PM, said:
First download the new version (MakeLoopROM-Android-V4.tar), unpack it and then re-read this part of the op:
3c. On Android, open up a terminal session, type su and hit enter, type cd /sdcard/MakeLoopROM and hit enter and then sh makelooprom-startup and hit enter.
CWM-6.0.1.1 Touch Stable
CWM-6.0.1.5 Touch Testing
Multiboot via loop, no partitioning needed
#88
Posted 01 September 2012 - 12:57 PM
Thank you sir, absolutely amazing. Really can't believe it, works like charm. Gen2 Blade.
Once again thanks for this wonderful gift.
#89
Posted 01 September 2012 - 01:03 PM
android@sam, on 01 September 2012 - 12:43 PM, said:
You cant run that without the startup, the startup moves it to an ext2 loop and executes it from there.
Of course, you have to be su to run losetup so i should include that un the instructions.
CWM-6.0.1.1 Touch Stable
CWM-6.0.1.5 Touch Testing
Multiboot via loop, no partitioning needed
#90
Posted 01 September 2012 - 01:07 PM
De@n, on 01 September 2012 - 12:38 PM, said:
Are you su? What rom are you running this script on?
CWM-6.0.1.1 Touch Stable
CWM-6.0.1.5 Touch Testing
Multiboot via loop, no partitioning needed
#91
Posted 01 September 2012 - 01:13 PM
#92
Posted 01 September 2012 - 01:14 PM
n1729, on 01 September 2012 - 12:57 PM, said:
Thank you sir, absolutely amazing. Really can't believe it, works like charm. Gen2 Blade.
Once again thanks for this wonderful gift.
You're welcome.
CWM-6.0.1.1 Touch Stable
CWM-6.0.1.5 Touch Testing
Multiboot via loop, no partitioning needed
#93
Posted 01 September 2012 - 01:16 PM
CWM-6.0.1.1 Touch Stable
CWM-6.0.1.5 Touch Testing
Multiboot via loop, no partitioning needed
#94
Posted 01 September 2012 - 01:18 PM
#95
Posted 01 September 2012 - 01:38 PM
#96
Posted 01 September 2012 - 01:43 PM
#97
Posted 01 September 2012 - 01:48 PM
tilal6991, on 01 September 2012 - 01:43 PM, said:
Sony Ericsson UI On your ZTE BLADE
"CYANSCAPE"
#98
Posted 01 September 2012 - 01:50 PM
Snap.IT, on 01 September 2012 - 01:03 PM, said:
You cant run that without the startup, the startup moves it to an ext2 loop and executes it from there.
Of course, you have to be su to run losetup so i should include that un the instructions.
Sony Ericsson UI On your ZTE BLADE
"CYANSCAPE"
#99
Posted 01 September 2012 - 02:20 PM
De@n, on 01 September 2012 - 01:13 PM, said:
It works for me on CM-10-KonstaKANG from 29/8, i'm running the loop script it to upgrade to 01/09 version right now.
My exact procedure:
1. Downloaded the MakeLoopROM-Android-V4.tar from the link in my OP to the root of the sdcard (/sdcard)
2. start terminal session
3. su
4. cd /sdcard
5. tar -xvf MakeloopROM-Android-V4.tar
6. cd MakeLoopROM
7. sh makelooprom-startup
It runs and completes, all files are in /sdcard/multiboot as they are supposed to, i'll install them in a bit to make sure that works too.
One question, did you change your SU on your rom (if you installed the wraithdu su per the V6-start me up script that may be the problem)
CWM-6.0.1.1 Touch Stable
CWM-6.0.1.5 Touch Testing
Multiboot via loop, no partitioning needed
#100
Posted 01 September 2012 - 02:37 PM
This is the procedure i use to upgrade the previous ROM which i gave the example for in my earlier post.
Rather than create new loop files i choose to reuse the ones i made previously, i also don't want to format the data loop file since this is an upgrade and since i am running a loop rom i don't want to pull the boot.img from the currently running rom.
Since i am using the same partition i don't have to remake the gapps and GEN3 files i made in the earlier post, they already have the correct loop file in their updater-script so i can reuse them and they are still in my /sdcard/multiboot/loop-roms/cm-10-konstat-system directory.
Quote
n
Do you want to make an image file to hold the data for this ROM? (not neccessary if it's an upgrade from a previous ROM or you want to share a data image with another ROM) Y for yes any other key for no.
n
Type the name of the ROM you copied to this directory without the file ending. For example if your ROM file name is cm-7.2.0-blade.zip you type cm-7.2.0-blade
cm-10-20120901-KonstaKANG-blade
unzipping your ROM
Saving base and cmdline of boot.img from current ROM (cm-10-20120901-KonstaKANG-blade) for future use
Extracting the boot.img of current ROM (cm-10-20120901-KonstaKANG-blade)
Page size: 2048 (0x00000800)
Kernel size: 3511324 (0x0035941c)
Ramdisk size: 173245 (0x0002a4bd)
Second size: 0 (0x00000000)
Board name:
Command line: androidboot.hardware=blade console=null
Writing boot.img-kernel ... complete.
Writing boot.img-ramdisk.gz ... complete.
30000+0 records in
30000+0 records out
30720000 bytes transferred in 10.429 secs (2945632 bytes/sec)
mke2fs 1.41.11 (14-Mar-2010)
Filesystem label=
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
Stride=0 blocks, Stripe width=0 blocks
7520 inodes, 30000 blocks
1500 blocks (5.00%) reserved for the super user
First data block=1
Maximum filesystem blocks=30932992
4 block groups
8192 blocks per group, 8192 fragments per group
1880 inodes per group
Superblock backups stored on blocks:
8193, 24577
Writing inode tables: done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 21 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
30000+0 records in
30000+0 records out
30720000 bytes transferred in 9.521 secs (3226551 bytes/sec)
mke2fs 1.41.11 (14-Mar-2010)
Filesystem label=
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
Stride=0 blocks, Stripe width=0 blocks
7520 inodes, 30000 blocks
1500 blocks (5.00%) reserved for the super user
First data block=1
Maximum filesystem blocks=30932992
4 block groups
8192 blocks per group, 8192 fragments per group
1880 inodes per group
Superblock backups stored on blocks:
8193, 24577
Writing inode tables: done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 38 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
30000+0 records in
30000+0 records out
30720000 bytes transferred in 6.917 secs (4441231 bytes/sec)
mke2fs 1.41.11 (14-Mar-2010)
Filesystem label=
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
Stride=0 blocks, Stripe width=0 blocks
7520 inodes, 30000 blocks
1500 blocks (5.00%) reserved for the super user
First data block=1
Maximum filesystem blocks=30932992
4 block groups
8192 blocks per group, 8192 fragments per group
1880 inodes per group
Superblock backups stored on blocks:
8193, 24577
Writing inode tables: done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 32 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
570 blocks
What is the name of the system image you'll be using for this ROM? If you made a system image before for this ROM then use that name () and if you want to reuse a system image file you've created before, use that name. Typos will result in a non booting installation
cm-10-konstat-system
What is the name of the data image you'll be using for this ROM? If you made a data image before for this ROM then use that name () and if you want to reuse a data image file you've created before, use that name. Typos will result in a non working installation
cm-10-konstat-data
If this is a Jelly Bean (CM10) ROM type y for yes, if it's not, type n for no.
y
Creating ramdisk cpio archive ...
Find compiled boot.img inside output folder as cm-10-20120901-KonstaKANG-bladeboot.img
Now fixing your updater-script so you can install this ROM into your loop image
format("yaffs2", "MTD", "system", "0", "/system");
Do you want this installation to format the data image used with this ROM?
Answer Y for yes if it's a new installation and N for no if you are upgrading
and want to keep the data on the data image. (Say yes if you would run wipe
data/factory reset in recovery if this was a normal install)
n
The data image used with this ROM will NOT be formatted during installation
All done, time to pack your ROM up again, it will be called cm-10-20120901-KonstaKANG-blade-loopinstall.zip and will be in multiboot/cm-10-konstat-system/loop-roms
If you are running this script on your NAND(internal) ROM you will want to save the boot image you're currently running so you can reboot back into the NAND ROM.
I can make you a copy of the boot img you are currently running, if you want me to do that then hit Y, otherwise (if you're running on a loop install or already have a copy of boot.img in multiboot that you want to keep) hit any other key.
n
Moving all files to your /sdcard/multiboot directory
Everything worked, cm-10-20120901-KonstaKANG-blade is ready for loop installation.
Happy multibooting
Snap.IT aka Jinxxed
Edited by Snap.IT, 01 September 2012 - 02:49 PM.
CWM-6.0.1.1 Touch Stable
CWM-6.0.1.5 Touch Testing
Multiboot via loop, no partitioning needed
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users







Sign In
Create Account


Back to top









