[4.May] updated bootmenu 0.6.1, 2nd-init & clockworkmod via script - Defy Android Development

I've slightly re-purposed this thread since the other one seems to be dead
Bootmenu v0.6.0 test2
Bootmenu v0.6.1
http://forum.xda-developers.com/showpost.php?p=13474771&postcount=35
Installation:
http://forum.xda-developers.com/showpost.php?p=13527738&postcount=40
I'm not making new 2nd-init updaters (it's been integrated in full ROMs which I'm not releasing here), and I will not update 2nd-init alone anymore.
But I will update Bootmenu here instead when I can.
----------------------------------------------------------------------------------------------------------
so i've kind of integrated dexter's 2nd-init and the korean guy's bootmenu into one flashable zip file.
big thanks to all the devs for making this possible
NOTE:
it's based on dexter_nlb's method which uses only shell scripts, it should work on many other devices in principal, ms2/d2/dx etc. of course you need to modify the .rc and other defy specific files.
this method only relys on 2nd-init by @Skrilax_CZ, it's compatible but does not rely on bootmenu.
starting v2 you can actually remove bootmenu binary while still able to boot into bootstrap. in fact v3.2 contains nothing from the "bootmenu" method (otherwise identical to v3.1)
i do not seek to optimize your system, all parameters changed are to give you a clear evidence that all the parts are indeed functioning, so quit whinging and mod the scripts yourself
just for show casing purpose, it includes the following features
-extra cpufreq governors, smartass by default
-lowmemorykiller value changed
-init.d enabled, including a undervolting script @800/50, 600/40, 300/30
all *.rc taken from 3.4.2-164 release, so i suppose anything close to that will do
usage:
0. clean up any other hijacking other than logwrapper hijaking!! including the oringinal one by koreans
1. root & install clockwork mod recovery
2. flash the zip attached
3. remove clockwork recovery if you wish, DON'T use "install recovery" option, it will mess up 2nd-init.
4. 2nd-init will load automatically, press vol-down while blue led is on to enter bootmenu
NOTE: when applying zip patch, sometimes it will fail with "resource busy", enable adbd from bootmenu
before enter cmw will fix that.
v2
-updated to cmw 2.5.1.8
-remove prior installation by default
-normal "boot recovery" or rather "/data/.recovery_mode" should work now,
just don't use "install recovery"
-adbd will start shortly after 2nd-init, while starting either cmw or bootmenu
-300s delay for overclock script (compatible with any 2.2.x kernel sans chinese one)
v3
-replaced overclock with sysctl to be more compatible
-remove changes made by bootstrap
-included a special version of bootstrap which should overide the default one (kb7sqi's version)
-boot to bootstrap via a blank file named /sdcard/cwm_boot enabled
-boot to bootstrap will turn off the blue led now
v3 removed due to faulty cwm replacer
v4
-added windows installer, it's both installable via cwm or windows/adb (windows installer does not work on some setup)
-updated to newer bootmenu
-you can completely bypass bootmenu without losing 2ndinit by place a blank file called /sdcard/boot_bypass, boot into recovery changed to /sdcard/boot_cwm)
-2nd-init option (which is in fact 3rd boot) from bootmenu should work
-bootstrap cwm will be properly removed
v5
-updated bootmenu to 0.4.5
-removed windows installer
-removed most changes in *.rc,
now it only loads init.d and changes 1 pair of lowmemorykiller parameters
IT'S NOT QUITE FINISHED, BUT GOOD ENOUGH FOR NOW, USE AT YOUR OWN RISK

Nice. Even i'm not a dev will try this and report any problems =)
Thanks

Will it 2nd-init by default? Is it possible to set it to 2nd-init by default? Is it possible to enable adb from start with default.prop?

after flashing this zip i'was unable to boot.
At the point where the blue led should light up the phone turns off(it doesn't light up).
I had the "normal" custom bootmenu already installed. maybe that was the problem.

It would make more sense to have zip which can be installed with adb, since bootmenu already has recovery, and messing different hijacks can lead to bad consequences. Great effort still

ill test it with stock rom and stock bootloader.

astearon said:
ill test it with stock rom and stock bootloader.
Click to expand...
Click to collapse
are you testing the 2nd-init? Anyone is testing?

Simplestas said:
It would make more sense to have zip which can be installed with adb, since bootmenu already has recovery, and messing different hijacks can lead to bad consequences. Great effort still
Click to expand...
Click to collapse
i'm using logwrapper hijacking instead of mount_ext3. so yes they don't work together.

Simplestas said:
Will it 2nd-init by default? Is it possible to set it to 2nd-init by default? Is it possible to enable adb from start with default.prop?
Click to expand...
Click to collapse
i don't see why you can't, in fact i did enable 2nd-init and adbd by default, commands both
from init.rc (init.d) and init.mapphone_umts.rc (all other mods) are properly executed
Simplestas said:
It would make more sense to have zip which can be installed with adb, since bootmenu already has recovery, and messing different hijacks can lead to bad consequences. Great effort still
Click to expand...
Click to collapse
true, but it takes a lot more time to write and follow the instructions than this
and i suppose anyone who find it useful can turn it into adb commands in a few minutes.
plus i wasn't trying to explaining anything but merely showcasing the possibility

I've installed 2nd-init not as default (just copied 2nd-init, sysinit, busybox and /etc/rootfs) and i must say it works. However, despite having persist.service.adb.enable=1 adb does not start until gui (or usb service?) so it's not useful yet.
I think it's better to wait bootmenu enhanced to support settings for default init, etc. This zip is too quick&dirty and it has overclock.ko tailored to specific kernel address so it will bootloop for many.

Simplestas said:
I've installed 2nd-init not as default (just copied 2nd-init, sysinit, busybox and /etc/rootfs) and i must say it works. However, despite having persist.service.adb.enable=1 adb does not start until gui (or usb service?) so it's not useful yet.
I think it's better to wait bootmenu enhanced to support settings for default init, etc. This zip is too quick&dirty and it has overclock.ko tailored to specific kernel address so it will bootloop for many.
Click to expand...
Click to collapse
why exactly did you need adb enabled automatically? you can manually enable it in bootmenu.
and the overclock.ko address is tailored for ALL 2.2.x kernels as does setvsel with an exception of the chinese one, so why would you care? and any one with even slightest knowledge on this topic could rectify it by simply removing the script.
i did say this is just a showcase and it's not finished, didn't i?

Simplestas said:
I think it's better to wait bootmenu enhanced to support settings for default init, etc. This zip is too quick&dirty and it has overclock.ko tailored to specific kernel address so it will bootloop for many.
Click to expand...
Click to collapse
most of the draw backs fixed.
i still don't understand why would you wait for something close-sourced for the moment, untested, while we have a simple script which can already do the trick, rely on nothing but plain shell script and tested on dexter's mod for months now?

racca said:
most of the draw backs fixed.
i still don't understand why would you wait for something close-sourced for the moment, untested, while we have a simple script which can already do the trick, rely on nothing but plain shell script and tested on dexter's mod for months now?
Click to expand...
Click to collapse
I just need to test the 2nd-Init. If works, it is everything okay

2nd-init works fine, but if I choose Start ADB daemon, it writes something like - can't start 2nd-init, read only file system and continues booting normally with mismatched screen and after booting, the system works somehow weird, so restart is needed. I am using 3.4.2-145.

peetr_ said:
2nd-init works fine, but if I choose Start ADB daemon, it writes something like - can't start 2nd-init, read only file system and continues booting normally with mismatched screen and after booting, the system works somehow weird, so restart is needed. I am using 3.4.2-145.
Click to expand...
Click to collapse
both adb and 2nd-init are started by default, 2nd-init from bootmenu will NOT work properly. because that'll be actually 3rd-init

Ok. But ADB is not working for me and I am affraid to turn it on in settings, if it's needed. Because I had the boot loop with the Korean bootmenu. Do I have to turn on USB Debugging?

Working! awsome! Couldnt do it with the other thread because couldnt push files with adb to /root/bootmenu. But flashing this zip with cwm did the trick.
Sent from my MB525 using XDA App

peetr_ said:
Ok. But ADB is not working for me and I am affraid to turn it on in settings, if it's needed. Because I had the boot loop with the Korean bootmenu. Do I have to turn on USB Debugging?
Click to expand...
Click to collapse
adb works regardless of your system settings (well until 2nd init.rc kicks in at least), so i don't see why you need to turn off debugging.
i can't say for sure what went wrong with your system, but i assure you it will work on all clean 3.4.x systems

So....this means that we can have litle AOSP taste??

So now that 2nd init is working can I dream with Cyanogen Mod ported to Defy, just like the Milestone?

Related

[ROM][EBI1/32A] CyanogenMod EBI1/32A Port 4.2.4 [Nov 12]

This is a new thread for kernel ports of CyanogenMod 4.1.99 and greater versions only.
This kernel port will now work on any EBI1 kernel: this includes both the HTC Magic 32a and Rogers Dream.
If you wish to port earlier versions of CyanogenMod - please see Bcrook's thread. Bcrook has asked me to start a new thread for 4.1.99+ and ongoing versions as I've been doing the recent ports for it.
This is a kernel port from the 32b ION/HTC Magic/mytouch3g version of CyanogenMod that should work on any EBI1 (32a/rogers dream) device.
In most cases our hardware is identical, but we have twice the memory and so the kernel and wlan modules need to be rebuilt.
The steps for installing CyanogenMod on a 32a are much the same and are listed below for your convenience:
I have tested these steps personally, as have a number of people:
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
NEW INSTALL (ie. never installed CM 4.1.99 or greater before):
Download HTC ADP 1.6 DRC83
(http://www.androidspin.com/downloads...ooted_base.zip)
Download CyanogenMod 4.2.4
(http://n0rp.chemlab.org/android/update-cm-4.2.4-signed.zip)
Download the Kernel Port file (see below)
Copy all three .zip files to your SD and reboot in recovery mode (press Home+Power at the same time or fastboot into your recovery)
Do a "Wipe data/factory reset"
Do a "Wipe SD: ext partition" ** (see below)
(it is recommended to wipe your Apps2SD partition for this release)
Apply Zip: HTC_ADP_1.6_DRC83_rooted_base.zip
Apply Zip: update-cm-4.2.4-signed.zip
Apply Kernel Port Zip: rad-4.xxxx.zip or bc-4.xxxx.zip
Reboot
Either grab some popcorn and watch adb lolcat as it goes past, or go do something else.. this might take a while
UPGRADE INSTALL (ie. already installed 4.1.99 or greater):
Download latest CyanogenMod update (now 4.2.4)
(http://n0rp.chemlab.org/android/update-cm-4.2.4-signed.zip)
Download the associated Kernel Port file (see below)
Copy both .zip files to your SD and reboot in recovery mode (press Home+Power at the same time or fastboot into your recovery)
Apply Zip: update-cm-4.2.4-signed.zip
Apply Kernel Port Zip: rad-4.xxxx.zip or bc-4.xxxx.zip
Reboot
Either grab some popcorn and watch adb lolcat as it goes past, or go do something else.. this might take a while
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
The following Kernel Ports are available:
CyanogenMod 4.2.4 EBI1 kernel for 32a/Rogers Dream (recommended) (give thanks to bcrook for porting this one!)
Download: http://www.briancrook.ca/magic/bc-4.2.4-ebi1-signed.zip
md5: 174dd7403052f9173660b817232b47e6
Older kernel ports:
CyanogenMod 4.2.3.1 EBI1 kernel for 32a/Rogers Dream (now with USB tethering!)
http://fdsfiles.com/temp/rad-4.2.3.1-EBI1.zip
(md5sum: 0d52bc8986e11c0382b3f6336d6d71d4)
CyanogenMod 4.2.2 EBI1 kernel for 32a/Rogers Dream with no BFS
http://fdsfiles.com/temp/rad-4.2.2-EBI1.zip
(md5sum: 38c52bedceef516a03bd07e034ae9b13)
CyanogenMod 4.2.1 EBI1 kernel with no BFS
http://fdsfiles.com/temp/rad-4.2.1-EBI1.zip
(md5sum: 39c536b93425f8c1f94bc79cc97b9baf)
CyanogenMod 4.2 EBI1 kernel with BFS 304
http://fdsfiles.com/temp/rad-4.2-bfs-ebi1.zip
(md5sum: 8875e2e8a25d394455f2d4864d9c6c67)
CyanogenMod 4.1.9999 EBI1 kernel with BFS 304 (now with full EBI1 support and fixed ramdisk)
http://fdsfiles.com/temp/rad-cm4.1.9999-EBI1.zip
(md5sum: 48e4d30e81c0b531e00dde05d1108416)
CyanogenMod 4.1.9999 with BFS 304 (Hacked - doesn't work for Rogers Dream)
http://fdsfiles.com/temp/rad-4.1.9999-32a-bfs304.zip
(md5sum: 54c225da975a08ae8cf7e006e97caf41 )
CyanogenMod 4.1.99 and 4.1.999 with BFS 303 (N.B. this port file will work fine with both releases - Cyanogen's just catching up to me
http://fdsfiles.com/temp/rad-4.1.99-32a-bfs303.zip
(md5sum: ced37f39fd419a4b11fa3f64eb7f93e9 )
CyanogenMod 4.1.99 with BFS 302:
http://fdsfiles.com/temp/rad-4.1.99-32a-bfs302v3.zip
(md5sum: 2b33a2d57b1497c167e50dfbec23953f )
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Please Note: I have started including AudioPara4.csv in my package once more as it does seem to be needed.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
HTC IME: Hero Keyboard
For those who want the HTC IME back you need to download HTC_IME.apk and Clicker.apk from here:
http://n0rp.chemlab.org/android/apps
then either ADB install them or use an app like ASTRO to install them.
Do not use any other versions of HTC_IME - they will force-close.
Then go to Menu->Settings->Locale and Text->Touch Input and activate for it to appear, then long press on a text box to switch to it by default.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Special thanks go to Cyanogen, bcrook, TigerTael, Amon_RA, jerpelea, hakyuro, TheStrider, redglasses, and all the people who have contributed towards making these roms possible for us.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
** After a bit of inspection it looks like no 32a recovery rom has this option at present.
if your recovery rom doesn't have the option 'Wipe SD: ext' then you can duplicate it by doing (while in your recovery rom):
$ adb shell
# mount /system/sd
# rm -rf /system/sd/*
# unmount /system/sd
Click to expand...
Click to collapse
Basically this is done to make sure you have no previous apps, nothing to foul things up and you're truly starting from scratch.
[Reserved for future use]
Hello,I flashed my HTC Magic(32A) using signed-google_ion-ota-14721.zip, which I download here:http://developer.htc.com/google-io-device.html.
Then,My phone can't boot into normal mode and can't boot into recovery mode too.
Do you known how to repair it?
Thanks~support you~!
imake said:
Hello,I flashed my HTC Magic(32A) using signed-google_ion-ota-14721.zip, which I download here:http://developer.htc.com/google-io-device.html.
Then,My phone can't boot into normal mode and can't boot into recovery mode too.
Do you known how to repair it?
Click to expand...
Click to collapse
How did you try to reboot in recovery mode? Have you tried using fastboot? You don't have to write the recovery image to the phone, you can use fastboot.
Basically you turn off the phone, then press the Back+Turn on keys and you should be in fastboot.
Then at the computer cd into the directory where you have the recovery image then type:
fastboot boot <recovery.img>
(replace recovery.img with the actual recovery image name; make sure the phone is connected via usb to the computer and adb "sees" it, check with adb devices).
Then you should be able to follow the procedure as described in the first post.
If you didn't copy all the zips on the memory card first, you need to take out the memory card and use a card reader to copy them first.
Hope this helps!
S.
siancu said:
How did you try to reboot in recovery mode? Have you tried using fastboot? You don't have to write the recovery image to the phone, you can use fastboot.
Basically you turn off the phone, then press the Back+Turn on keys and you should be in fastboot.
Then at the computer cd into the directory where you have the recovery image then type:
fastboot boot <recovery.img>
(replace recovery.img with the actual recovery image name; make sure the phone is connected via usb to the computer and adb "sees" it, check with adb devices).
Then you should be able to follow the procedure as described in the first post.
If you didn't copy all the zips on the memory card first, you need to take out the memory card and use a card reader to copy them first.
Hope this helps!
S.
Click to expand...
Click to collapse
Hi,thanks.But when I press the Back+Turn on keys, my phone boot into a htc magic screen,not the fastboot mode.
Do we also need the two extra reboots?
9- Once at home screen.....Reboot 2 more times. This will mix everything together, just like making soup =) You will get the true speed of this rom.
Click to expand...
Click to collapse
Thank's Radix999....great work's !!!!
BUGabundo said:
Do we also need the two extra reboots?
Click to expand...
Click to collapse
I would say yes as this thread only adds the 32A kernel and I doubt the requirement of booting 2 more times has anything to do with the kernel.
On the other hand, I've rebooted actually more than 2 times (for other reasons) and it doesn't seem faster to me. Too bad cyanogen didn't say what exactly will/should be faster so that we can test.
so my journey is finally complete.
in the past 24 hours since the update came out, i have managed to :
1. brick my phone
2. sent it for warranty repairs
3. live (like an undead) for a bit without my beloved 32A magic
4. gotten back my 32A magic
5. figured out how to restore my old nandroid of 4.1.11.1 while still keeping the perfect SPL (i am still on .0010)
6. gotten 4.1.99 to work without wiping (still lost my my HTC_IME dictionary which is a minor thorn is the behind)
7. will live happily ever after.
so thanks for the people who figured out what to do. what are the steps.
mad mad props goes out to Radix999 for the porting files.
now for my lockscreen and black status bar
What about all the google programs, this might be a stupid question. Think i have read somewhere online that we who have google programs need to take a backup of those or else they want be "transfered" to the 4.1.99 ROM. Am i right or just me that haven't understood anything?
Per
str4vag said:
so my journey is finally complete.
in the past 24 hours since the update came out, i have managed to :
1. brick my phone
Click to expand...
Click to collapse
how the heck did u do that?
did u get that ION roms that applied a radio update?
perevers said:
What about all the google programs, this might be a stupid question. Think i have read somewhere online that we who have google programs need to take a backup of those or else they want be "transfered" to the 4.1.99 ROM. Am i right or just me that haven't understood anything?
Per
Click to expand...
Click to collapse
cyanogenmod installer extracts it from the oficial ROM, thats why you need to install that 1st!
BUGabundo said:
cyanogenmod installer extracts it from the oficial ROM, thats why you need to install that 1st!
Click to expand...
Click to collapse
Ahh, thanks alot
It's all done transparently by Cyanogen's install script.
BUGabundo said:
how the heck did u do that?
did u get that ION roms that applied a radio update?
Click to expand...
Click to collapse
yea..basically that..thank god it was covered by the warranty..
I'm just curious....is there a version of this rom that doesn't require apps2sd (and by extension, doesn't require a partitioned sd card) ?
The reason I ask is since it's for a 32A board, is it really necessary?
Thanks for any info.
Err, I don't think it requires apps2sd. You're right, most 32a users don't need it. It will install automatically should it find the ext partition on the card, but it's not required. I'd be interested to know if otherwise.
DT
Wipe SD and loose Apps?
Radix999 said:
[*]Do a "Wipe data/factory reset" and then a "Wipe SD: ext partition"
(it is recommended to wipe your Apps2SD partition for this release)
Click to expand...
Click to collapse
I understood everything about the instructions for the ROM update except this one.
I have cyanogen's recovery 1.4 and I can't find the Wipe SD: ext partition option. By this you mean that we have to manually wipe the partition on a linux OS or that there's a recovery ROM with this option? If we have to wipe it we will loose our installed apps that we had before, right?
Thanks for your work radix!
To be quite honest, I don't know how to wipe the ext2/3 partition for the Apps2SD users - I'm just using the instructions from the mytouch3g installs and they did recommend any partition you may have.
If you have an Apps2SD partition you'll need to figure it out (you'll probably find you can 'adb shell' in Amon_RA's recovery rom and there's a script for formatting your apps2sd partition somewhere, but you'll need to check with his recovery rom and what's included)
Personally I don't use Apps2SD and never will
And for the record I'm still using Amon_RA's 1.2.0 recovery - never bothered changing as it works fine for me

[ROM] Adlxmod F4D "Froyo for Defy" v2.03

[Patch] Adlxmod.F4D.2.03-patch
This patch includes previous Adlxmod.F4D.2.02 patch, plus:
- Semi-transparent pulldown bar
- Updated: Google Maps 5.2
- Updated: Market 2.3.4
- Latest Cyanogen APN list (February 06, 2011)
- Fixed notification texts not always white in the DarkBar version (only applies to Adlxmod.F4D.2.03-DarkBarOnly patch)
- Note 1: This patch will restore the white notification bar. Download the new DarkBar patch to switch again to a Black bar.
- Note 2: This patch will automatically wipe the Dalvik cache, so the first reboot will take some more time (can take >5 min depending if you have many apps installed) - Don't freak out.
New Notification bar patches:
- Dark Bar : Adlxmod.F4D.2.03-DarkBarOnly-signed.zip
- White Bar: Adlxmod.F4D.2.03-WhiteBarOnly-signed.zip
[Patch] Adlxmod.F4D.2.02-patch
This patch includes previous Adlxmod.F4D.2.01 patch, plus:
- BlurHome selectable: You can switch to BlurHome if you like it
- Added: Adobe Flash 10.1.106.16
- Updated: Market 2.3.2
- Updated TitaniumBackup 3.7.1
- Added: Copy to Clipboard
- Added: Shrinkpipe
- Removed BlurUpdater.apk
Base rom Adlxmod "Froyo for Defy" v2.0:
- Based off UK 3.4.2-117 Froyo leak
- Fully Deodexed by me -> Theme ready
- Optionally a dark notification bar patch can be installed, see below. White patch also provide to get back at it.
- Rooted, Recovery installed
- Phone can be used with no SIM
- Includes Motoblur, but it can be skipped
- Many language supported: Spanish, English, French, Portuguese,...
- Camera flash IS working and synced
Added:
- LG Optimus 2X ringtones (some literal in chinese)
- Adlxmod splash (installed on 1rst boot, will appear on 2nd boot)
- HTC_IME Keyboard para Froyo!
- Gingerbread Keyboard
- Android Terminal Emulator
- Wireless (Wifi & Bluetooth) Tethering
- Busybox fully installed
- AOSP Email App
- Titanium 3.6.7.1
- LauncherPro 0.8.3
- Tenfar Recovery
- 3D Gallery (my mod)
- Overclock support (phone won't be OCed by default)
- SetCPU (free from XDA, please donate on the Market)
- Milestone Overclock
- Added in /system/xbin: rwsystem/rosystem, wpa_cli, zipalign, strace, ssh, sqlite3, dexopt-wrapper, tcpdump, fix_permissions, iptables,...
- Extensive APNs list (Cyanogenmod)
- Ad-Blocking
- AOSP Eclair icons & lock screen sliders
Updated:
- Market 2.2.11 + Market Fix (Paypal shows up for example)
- Google Maps 5.1.0
- Adobe FlashPlayer 10.1
Download these files:
Chinese sbf : Defy_2_2_CN.zip
Rom's Nandroid: Adlxmod.F4D.2.00.zip
Boot+Devtree : Tmo_2.2.1-3.4.2-107-boot-devtree-ONLY.sbf
SuperOneClick : SuperOneClickFor2.1.zip
(this link included Tenfar Recovery with an installer) -> use this one.
Latest Adlxmod Froyo for Defy patch: Adlxmod.F4D.2.03-patch-signed.zip
Optional files you may need:
- Dark Bar : Adlxmod.F4D.2.03-DarkBarOnly-signed.zip
- White Bar: Adlxmod.F4D.2.03-WhiteBarOnly-signed.zip
- Patches for fixing signal/baseband, 2g/3g
- Alternative languages (like PortugueseBR,...) for Swype: see here
Instructions: Please READ-RELAX-READ-FOLLOW
First of all, check CAREFULLY in which case you are:
Case 1:
If you come from a US T-Mobile Defy with the 3.6.90 update
If you have already flashed a non-downgrabable sbf (2.51 or 3.4.2).
Case 2: If you are not in case 1.
Due to Motorola Defy having a locked bootloader at the time of doing this rom, the flashing process is quite complex, so READ AND FOLLOW it VERY CAREFULLY, or you will end with a non booting phone. If it is the case, you should restart again the whole procedure from the beginning.
I recommend you print the whole procedure, and check every step as you do them.
PLEASE READ EVERY SINGLE STEP BEFORE STARTING IT AND FOLLOW THE ORDER CAREFULLY.
If you don't respect the steps and order, the result can be unpredictable.
Only run the steps that apply for your case!
This Rom is a Nandroid backup of system to be restored over the phone:
Unzip the rom file, and place the 2011-02-03.11.17_Adlxmod.F4D.2.00-WhiteBar folder into the SD:/goapkrev/backup/ folder. If SD:/goapkrev/backup/ doesn't exist you have to create it. It should look as follow:
SD:/goapkrev/backup/2011-02-03.11.17_Adlxmod.F4D.2.00-WhiteBar/system.img
SD:/goapkrev/backup/2011-02-03.11.17_Adlxmod.F4D.2.00-WhiteBar/nandroid.md5
Start with FULL battery! (cases 1 & 2)
Be sure your phone's battery is charged 100% before starting.
Wipe all (case 2 ONLY)
Boot your Defy into Stock Recovery (Power + Volume Down button)
Tap in the bottom right corner of the screen to get into the menu
Select Wipe Data, then press OK
Reboot phone into USB Bootloader Init mode (Power + Volume Up button)
Flash Chinese sbf, root, install recovery (case 2 ONLY)
!! WARNING !! Be sure you are in case 2 before you follow! If you are in case 1, read instructions again!
Connect the phone via USB to your computer
Flash Chinese Froyo sbf using latest RSD Lite (4.9) & latest Motorola drivers (4.8)
After flashing the phone will reboot. As we have wiped, it should boot correctly into the Chinese rom.
At the Chinese Motoblur login screen:
Select English language
Press Menu -> Skip Motoblur setup
Root, Install recovery (case 2. also case 1 if you have never rooted & installed recovery)
Go to Settings, Applications, Development -> Enable USB Debugging Mode
Root the phone using the provided SuperOneClick
Don't reboot yet. Run the "Install Recovery.bat" in the same SuperOneClick folder.
This will copy Tenfar Custom bootstrap recovery to the phone and reboot it.
Power up the phone again & wait until it boots.
Go to Settings, Applications, Development -> DISABLE USB Debugging Mode
Open "System Recovery" App in the App Drawer
Press "Install Recovery System", when Asked for Superuser permissions, give them and wait until it says "Install Success!"
Reboot into Custom Recovery & Flash Rom (case 1 & 2)
Go to Settings, Applications, Development -> DISABLE USB Debugging Mode
Open "System Recovery" App in the App Drawer
Press "Recovery Boot"
In Recovery, Select Backup & Restore -> Restore > Select the rom Adlxmod F4D v2.00 folder
Here you can also flash the patches you want to install (Apply zip from sdcard)
Get back to the recovery main menu, and WIPE ALL
(case 1 ONLY) Reboot. End.
Flash boot&devtree (fixes cam flash) (case 1 & 2)
Reboot. /!\ While the phone powers off and on again, maintain the "Volume UP" button pressed!!
Phone should now boot into USB Bootloader Init mode again.
If your phone doesn't boot into USB Bootloader Init mode, and you start to see the (M) Moto logo, pull the battery, unplug the USB cable. wait 10 sec. Plug the battery again, maintain the "Volume UP" button pressed and press Power. maintain the "Volume UP" button pressed until it you get to USB Bootloader Init mode.
Connect the phone via USB to your computer (if it was unplugged)
Flash the boot+devtree sbf provided by me using latest RSD Lite (4.9) & latest Motorola drivers (4.8)
End. Enjoy your Adlxmod Froyo for Defy!
Once you have correctly done the process, you may want to flash some option patches. Just go into Recovery mode and flash the zip you need from the optional patches.
Phew what a detailed protocol. Thank you so much will try it tomorroow
Sent from my MB525 using XDA App
Thanks for this! So your ROM is downgradable if we follow these instructions? I don't want to lose downgradability.
Update0: You really need to add that if you don't remove the battery FAST enough and your phone DOES go into Tenfar recovery, it will brick your phone. Because that is where I'm at right now.
I'm trying to start over, but I can't get anywhere except Stock recovery (which doesn't respond to any commands on the OK Button - wierd) and the USB Bootloader, which doesn't help because if I go through the whole process without doing the factory reset, I can't get to Tenfar's recovery boot after flashing the devtree only sbf - I just get a blank screen.
So I'm pretty much effed.
Update1: no wait, the Stock recovery is working, it's just going ... really ... really .. slow. Hope my battery doesn't run out before I get the factory reset done.
Update2: Ok yeah, still not working. Tried three times now. Can't get to Tenfar Custom Recovery after flashing the devtree sbf no matter what I do. If I leave it plugged in after flashing devtree and allow RSD lite to reboot the phone, I get "please manually power up this phone" and a blank screen. If I reboot manually, I just get the motorola logo forever.
Update3: I am going to try a different ROM entirely and maybe I can get a working phone before work tomorrow...
Update4: Yeah, your instructions were backwards. I should have noticed that right away, but didn't notice until I tried Higgsy's 2.2.1 Froyo build. You need to flash the boot+devtree sbf AFTER you restore the Adlxmod F4D v2.00 folder image - i.e. follow these steps: http://forum.xda-developers.com/showthread.php?t=937319
If you do it in the right order, this ROM works fine and is actually pretty cool (first boot takes a long time of course so be patient.)
THX Adlxmud for you custom rom! your description is great...
But 1 question, the optional patch (Dark-Bar) is work on other ROMS for example Rom 3.4.2 UK?
Tomorrow maybe try it
Thank you!
will try it rite now, coming from chinese sbf, never flashed 2.51. will post feedback tomorrow.
Darkcaptain said:
THX Adlxmud for you custom rom! your description is great...
But 1 question, the optional patch (Dark-Bar) is work on other ROMS for example Rom 3.4.2 UK?
Tomorrow maybe try it
Thank you!
Click to expand...
Click to collapse
hmm good question dude dark bar would look awesome going to try it as im board let you know if it works
edit tried it, it works but imo doesn't suite stock rom
rob-t said:
Thanks for this! So your ROM is downgradable if we follow these instructions? I don't want to lose downgradability.
Click to expand...
Click to collapse
If you haven't flashed any UNdowngrabable rom, you should be able to flash this one. After flashing this rom using my procedure, you will NOT loose downgradability. In other words, yes, my rom is downgradable.
rob-t said:
You really need to add that if you don't remove the battery FAST enough and your phone DOES go into Tenfar recovery, it will brick your phone. Because that is where I'm at right now.
Click to expand...
Click to collapse
If you land in Tenfar recovery you haven't followed my instructions that say:
- Press "Recovery Boot". /!\ Phone should now reboot. While the phone powers off and on again, maintain the "Volume UP" button pressed!!
- Phone should now boot into USB Bootloader Init mode again.
If your phone doesn't boot into USB Bootloader Init mode, and you start to see the (M) Moto logo, pull the battery, unplug the USB cable. wait 10 sec. Plug the battery again, maintain the "Volume UP" button pressed and press Power. maintain the "Volume UP" button pressed until it you get to USB Bootloader Init mode.
Click to expand...
Click to collapse
That means that, anyway you land in Tenfar recovery, just reboot your phone into USB Bootloader Init mode again to flash the boot-devtree.sbf.
If you get a non-booting device at some step, try to just reboot your phone into USB Bootloader Init mode again to flash the boot-devtree.sbf at this step.
rob-t said:
Update1: no wait, the Stock recovery is working, it's just going ... really ... really .. slow. Hope my battery doesn't run out before I get the factory reset done.
Click to expand...
Click to collapse
Well, Stock Recovery is a bit tricky to use... In my particular case I use the vol up/down to select menu entry, and I tap on [ok] (I usually have to tap several time to have the [ok] actually do something. Once it starts, yes, the Wipe is very slow! Like 1-2 minutes.
rob-t said:
Update2: Ok yeah, still not working. Tried three times now. Can't get to Tenfar Custom Recovery after flashing the devtree sbf no matter what I do. If I leave it plugged in after flashing devtree and allow RSD lite to reboot the phone, I get "please manually power up this phone" and a blank screen. If I reboot manually, I just get the motorola logo forever.
Click to expand...
Click to collapse
That is weird... Anyway I'll double check later, but it's what I have written on my notes, and I've followed my notes a lot of times, so I guess this order worked for me at least.
rob-t said:
Update4: Yeah, your instructions are backwards. I should have noticed that right away, but didn't notice until I tried Higgsy's 2.2.1 Froyo build. You need to flash the boot+devtree sbf AFTER you restore the Adlxmod F4D v2.00 folder image - i.e. follow these steps: http://forum.xda-developers.com/showthread.php?t=937319
If you do it in the right order, this ROM works fine and is actually pretty cool (first boot takes a long time of course so be patient.) PM me when you fix your instructions and I'll remove this.
Click to expand...
Click to collapse
I guess there is nothing wrong in flashing the boot-devtree sbf at the end, it should work the same, so I have updated the instruccions here. Maybe it reduce the problems. Anyone here with the same issue? If so, from what rom do you come from?
Also, one more thing: if you come from another UK or US based froyo rom, you should be able to skip the whole procedure and just restore the nandroid backup.
adlxdum said:
Also, one more thing: if you come from another UK or US based froyo rom, you should be able to skip the whole procedure and just restore the nandroid backup.
Click to expand...
Click to collapse
ill give that ago running uk 2.2
Nice rom, will feedback you...
can confirm that if you already running 2.2 all you need to do is run the nadroid back up and all should be good btw dude nice rom
First of all thanks for this rom! I am expecting my Defy over the mail by monday or tuesday and up till now this rom is the most appealing.
I have one question. How do you prevent motoblur installation? Is that simply a matter of skipping at first boot? Do you have plans to make a deblurred version of your rom?
coming from a 2.2 Chinese rom, it stuck on motoblur animation and didnt boot, i followed each letter from the instructions , no luck on this yet.
that happened to me pulling the battery sorted it and it booted fine after that
i think native boot+devtree would be better, so here it is.
racca said:
i think native boot+devtree would be better, so here it is.
Click to expand...
Click to collapse
I also had this one, but as the US one was working correctly I sticked with it. I have posted what I have tested.
Boot loop in Motoblur Animation?
fabianowerner said:
coming from a 2.2 Chinese rom, it stuck on motoblur animation and didnt boot, i followed each letter from the instructions , no luck on this yet.
Click to expand...
Click to collapse
If you have Boot loop in Motoblur Animation, please try this:
- Boot your Defy into Stock Recovery (Power + Volume Down button)
- Tap in the bottom right corner of the screen to get into the menu
- Select Wipe Data, then press OK
- Reboot phone into USB Bootloader Init mode (Power + Volume Up button)
- Flash the boot+devtree sbf provided by me using latest RSD Lite (4.9) & latest Motorola drivers (4.8)
Then reboot. How does it go?
adlxdum said:
I guess there is nothing wrong in flashing the boot-devtree sbf at the end, it should work the same, so I have updated the instruccions here. Maybe it reduce the problems. Anyone here with the same issue? If so, from what rom do you come from?
Click to expand...
Click to collapse
Thanks, yeah I was coming from Eclair 2.34, so I should be downgradable. Can confirm that the camera works fine on this ROM.
Sadly, I have the dreaded "Unable to open connection to server" problem with Android 2.2 so no more exchange email.
Update: Ran a quadrant benchmark on my phone with this ROM, got 1299, so pretty good! I haven't removed any apps, and also added SetVsel and DroidWall. Overclocking in SetVsel was set to: 1000mhz/52 600mhz/36 300mhz/26. About the same speed as I had going in Eclair.
Missing WIpe!
There was a missing step (to Wipe all) in my instructions, sorry. It's fixed on the first post.
- In Recovery, Select Backup & Restore -> Restore > Select the rom Adlxmod F4D v2.00 folder
- Get back to the Recovery Menu, and WIPE ALL once more.
Click to expand...
Click to collapse
Hmmm, I'm not sure having both email apps installed is a good idea. Once you get past setup in either app (took about 20 tries but finally it connected to the server and completed setup), either app will both force-close as soon as they are launched. Were you actually set up an exchange account during testing of this rom?
Will give this a try, Is market working?
also can i flash the data.img from my backup to restore my apps and data?

[EXPERIMENTAL] MultiROM v19 (discontinued)

This project is now discontinued and will recieve no further updates nor support.
First of all, thanks petter (https://github.com/havlenapetr), Czech Samsung Galaxy developer, for idea and source codes.
What do I mean?
You have one ROM in internal memory as usual, and another one in folder on SD card ext partition. You can easily switch between them - just move rom from ext partition to some backup folder.
See guide in second post
How is it done?
Lets look on how android boots - its (roughly) like that:
1. Bootloader - forks between recovery, fastboot and normal boot
2. Linux kernel - Unpacks its initrd, loads drivers and many more things, not important now
3. Init - kernel runs this program, which mounts android partitions, sets correct permissions to files, starts services, and in the end, starts android itself
4. Android - Dunno much about it yet, anyway not important now​
So, what we need to do is mount something else than internal memory in init. Init parses & runs simple scripts, which makes it simpler to mount sdcard folders.
We need to add mknod and bind mounting to init binary. Unfortunately, we dont have sources of init modified by LG (that thing is three(!) times larger than init compiled from AOSP, what the hell is in there?!). That is solved by running modified init, which parses "preinit.rc" with mounts and then runs LG init.
Commit: https://github.com/Tasssadar/init/commit/aa3604ca90f5ef9b688fdc2e3cc865aa29a54809
preinit.rc: https://github.com/Tasssadar/init/blob/b4e701e8bc4831fadbefa64be48300139dcc2023/ramdisk/preinit.rc
This would be all, if original LG init would not remount /system and /data from internal memory. Also, nearly every ROM has different init.rc, and wont boot without it.
To solve this, I created "import_boot" command in init, which copies *.rc files and LG init from ramdisk(well, its only folder with these files extracted from ramdisk for now) on sdcard ext partition. This command also puts comments out every line with mount /data, /system or /cache in init.rc file, so LG init wont remount them.
Commit: https://github.com/Tasssadar/init/commit/dc3fa50d65d1221a4fb819d8ee616765ee043e83, https://github.com/Tasssadar/init/commit/f7bc141b1e4b7d214e49d4bb005c71237231436c and https://github.com/Tasssadar/init/commit/1cde6b6a093d4ac1f961e610c5229605bc517b52
Format of ROM on ext partition:
All files from paritions in internal memory copied to sd ext partition with preserved owners and permissions(!).
So, when I copy data, I do "cp -r -p /data/* /sd-ext/multirom/rom/data/" (I suggest to run this via adb shell while in recovery).
Currently, I mount /system, /data and /cache from sdcard. If one or more of these folders does not exist, its equivalent from internal memory is used.
It would be nice to have *.img files from nandroid backups instead of this, but as far as I know, they cant be just mounted.
As for *.rc files, I put them into /sd-ext/multirom/rom/boot folder. I would like to just copy boot.img and extract files in init, but I did not find way to extract it when I have hardly STL usable in init. I'd like to use kernel's internal decompressor, but I dont know how.
Limitations
- Both ROMs must be compatible with one kernel - kernel is already loaded in init
- ROMs must be for same baseband, obviously
- Kernel modules(wifi, for example) of both ROMs must be compatible with one kernel. That can be easily solved by copying modules from one ROM to another, though.
- It will be slower than internal memory.
Integration with recovery
Definitely possible & usefull. This is integration in my modified AmonRa recovery: https://github.com/Tasssadar/Amon-R...mmit/bd0232f7379993c296b0223973b81e8c55dc3ee2
Security risk
/system on sdcard can't be mounted read-only - I'd have to mount whole sdcard read-only. This is possible security hole, but you cant do much without root anyway, because of permissions. And if you have root, it does not matter if its read-only or not.
Conclusion
So, it is possible to have dual-boot. You can use it to develop ROMs(you can directly edit data in /data and /system), as backup ROM when you are testing something in internal memory which does not boot, and you need to call someone or when our devices will be so old that bad blocks in internal memory wont allow us to boot
But, as you can see, It is not something that average user could do, at least not yet. Maybe I could modify recovery to do everything for the user (copy data from /system, /data and /cache, extract *.rc files from boot) and create some flashable ZIPs which would modify the init.
But there are some problems - some ROMs may not be compatible with this and there are multiple recoveries out there, but theres not single one which is only for our phone - both AmonRa and ClockworkMod are developed for wide range of devices. Yes, both of them can be modified, but I doubt they creators would accept such inflexible and device-specific thing.
What do you think, is it worth it?
Tested ROMs (first one is in internal memory, second one is on SDcard)
Working:
Megatron and stock v10a ROM - stock rom is slow
Megatron and devoid #froyo-final - like ten times faster than stock xD
LightRom(2.2.2) and devoid #froyo-final (and vice versa)
Megatron and Megatron - both ROMs can have a2sd
Megatron and Mik's CM7 6.5.8 - since v2
Gingerbread 2.3.4 from Optimus Net and CM7 6.6.1 (thx eduardogouveia for testing)
Stock 2.2.2 and CM7 6.5.8 (thx eduardogouveia for testing) - if you have ext4 partition, you need custom kernel for stock ROM.
.void 2.3.4 and stock V20B (thx diazneoones for testing)
CM7 6.5.8 and .void 2.3.4 (thx diazneoones for testing)
CM7 nightlies and Lupohirp's СM9 (thx aquapp for testing)
Not working
None found yet, but when CM7 is on sdcard, it looses root. Trying to figure out why. - fixed in v10
PS: I hope I explained it correctly, not exactly good at this. Do not fear to ask, if you don't understand something.
OK, here goes guide for average user. This is still highly experimental feature, keep that in mind. Backup, backup backups and backup them to PC, read whole guide first, I am not responsible for your bricked phone etc.
GUIDE:​1. Requirements
Ext4/Ext2/Ext3 partition on SDcard big enough to hold all files from /system and /data, which is from 170mb to 400mb (depends on ROM and apps installed), so I think 512mb partition is minimum (if its 90% or so free).
Modified recovery. Only AmonRa and CWM version is available at this time, TeamWin is coming "soon". You can find flashable zip at the bottom of this post, flash it before you proceed to next move. If something goes wrong, you can restore your recovery with zips from here.
Kernel with ext2/3/4 support, which is basically every but stock
Both ROMs you wanna use must be compatible with same kernel. See Limitations in previous post
2. MultiROM instalation
- Via MultiROM Mgr application
I recommend you do nandroid backup before installing via this app.
Download MultiROM Manager (link at the bottom of this), tap to "Tap to install via this app" and wait. As simple as that. Mgr will also install recovery for you (It will ask you which one, you can select AmonRa, CWM and none). App can check & install update, too.​- Via recovery
Just download multirom.zip at the bottom of the post, make nandroid backup and flash it. Your current ROM will be the one in internal memory, we will setup the one on the SDCard in next move.
Now, try to reboot the phone (boot will take little longer, because it has to mount ext partition). If it boots up correctly, then its OK - your ROM is supported. If not, then restore your nandroid backup and post your ROM name here, maybe I'll try to make it working.​
3. Setup ROM on the sdcard
Make nandroid backup (I am not kidding, you will need this one), flash ROM which you wanna to have on SDcard, do the first boot (because it will create dalvik-cache, and you dont wanna do that when its already on sdcard) and reboot to recovery again.
Go to "MultiROM options" menu and select "Create from current ROM". It will do everything for you (it takes time, though). ROM on the sdcard is placed in /sd-ext/multirom/rom/, backups are in /sd-ext/multirom/backup/.
Restore nandroid backup from beggining of this step and reboot. Wait until Boot manager shows up, and select SDcard as boot location. ROM from sdcard should boot. If your ROM from internal memory boots or if its stuck, something got wrong and you should restore from backup.
4. MultiROM recovery menu description
Active/deactive state is for recovery only, you can boot ROMs from backup in boot manager - that means its N-times boot rather than dual-boot.
When not active(boot from internal memory):
Activate (move from backup) - when you already have backup, this will move it to active folder (fast).
Activate (copy from backup) - same as above, but it copies it instead of moving
Create from current ROM - pretty self-explanatory
Create from ZIP file - see http://forum.xda-developers.com/showthread.php?p=22194117#post22194117
When active(boot from sdcard):
Deactivate (move to backup) - Moves current ROM to backup folder, so next boot will be from internal memory
Backup - Creates backup of current ROM
Erase current ROM - Deletes current rom, next boot will be from internal memory
Copy modules from int mem - Copies modules from ROM in internal memory to SDcard. Try this if WiFi does not work in SDcard ROM.
Flash ZIP - flash ZIP file to ROM on SD card, for example gapps.
5. Config file:
It is recommended to use Multirom Manager(see bottom of this post) to change config file.
File itself is placed on sdcard and its name is multirom.txt. Description of its contents is in this post(post is updated if something changes): http://forum.xda-developers.com/showthread.php?p=20045183#post20045183
6. Key bindings:
Since v11, you also can control MultiROM via touchscreen.
Anywhere: Hold Power button to shut down the phone
While on main screen:
VolUp/Down - list between actions
Menu - Confirm action
Back - Reboot to recovery
Power button - Sleep mode
While playing tetris
VolUp - return to main screen
VolDown - pause
Menu - move the piece to left
Home - hard-drop
Back - rotate piece
Search - move the piece to right
FAQ:​Q: It is slow!
A: Its sdcard. It just is slower than nand memory.
Q: It does not work with my ROM
A: Post your ROM combination here, maybe I'll see to it.
Q: When do I need to reflash?
A: When you flash new ROM or do something which rewrites boot partition. Most (if not all) kernels are using Koush's AnyKernel, so they should not cause any problems.
Changelog & Download:​(Always flash newest version)
Uninstaller: http://www.mediafire.com/?3eco51f2t0at77o (info here)
Changelog AND DOWNLOAD LINKS have moved to github: http://tasssadar.github.com/multirom/
Recoveries
AmonRa - based on 3.06: http://www.mediafire.com/?ld9g81igvze7na0 (9th March 2012 21:57)
AmonRa - based on 2.2.1: http://www.multiupload.com/7Y5HHNEPOT (20th October 2011 22:29)
CWM: http://www.mediafire.com/?6rfw0qbrddzq5d8 (9th March 2012 21:57)
TWRP: http://www.mediafire.com/download.php?o8kphxmfk9l01tl (21st October 2012 23:49)
MultiROM Manager app
http://forum.xda-developers.com/showthread.php?p=20610052#post20610052
(Always use newest version)
v24 - http://www.mediafire.com/download.php?1xy52tamzepibrx (TWRP support)
v21 - http://www.mediafire.com/?u9c3bmfbtf57dtm (Add charger settings)
v18 - http://www.mediafire.com/?g1lpsp66jc1cb1b (Add boot location settings)
v17 - http://www.mediafire.com/?l1li51sseaisz5j (Add brightness setting)
v15 - http://www.multiupload.com/B65WPFMFXP (Show & reset tetris high score)
v14 - http://www.multiupload.com/FWB5UBSMO1 (Updater now also check for app update, some minor fixes)
v13 - http://www.multiupload.com/NYYBX9CAFD (Update translations, add support for optimus V - http://forum.xda-developers.com/showthread.php?p=20657898#post20657898)
v11 - http://www.multiupload.com/1L3294ZAU7 (Fix mount issues on some roms, add menu to main screen, add link to xda)
v10 - http://www.multiupload.com/B3AVSFKDOW (Create /sd-ext/multirom folder on install)
v9 - http://www.multiupload.com/WW7TUNP7RY (read http://forum.xda-developers.com/showthread.php?p=20624306#post20624306)
v8 - http://www.multiupload.com/6OD7RQ74OE
v7 - http://www.multiupload.com/DJKMUGIVJ0
Something like this have the Xperia series. Maybe u find something u can use there.
Sent from my LG-P500 using XDA App
so this means we can test roms without replace current ??
Yes. Is my english so bad or you just don't read what I wrote?
Tasssadar said:
Yes. Is my english so bad or you just don't read what I wrote?
Click to expand...
Click to collapse
For the last time,you're speaking english perfectly p)
how to install your zip of amonra recovery i try but the recovery says that the zip dont have updatescript so it gives error....
i dont understand how to do this but ii´m searching this for a long time,if you can make a more frindley all user guide it will be very cool thankyou and hope you could doot....
*sigh* once again, this is [dev] thread, this is not something you can flash, at least not yet. You would know that, if you'd read whole post.
eduardogouveia said:
how to install your zip of amonra recovery i try but the recovery says that the zip dont have updatescript so it gives error....
i dont understand how to do this but ii´m searching this for a long time,if you can make a more frindley all user guide it will be very cool thankyou and hope you could doot....
Click to expand...
Click to collapse
[dev] means this is not something ordinary. Don't know what it is, don't mess with it.
Tasssadar said:
*sigh* once again, this is [dev] thread, this is not something you can flash, at least not yet. You would know that, if you'd read whole post.
Click to expand...
Click to collapse
Don't worry, you'll get more "hao cán i flush this into ma phones?" questions, good luck.
sounds like fun
thanks for bringing it for optimus one
but i have one question for you
I think in future kernel changing will also possible
because if we can flash kernel then we can make it to change
right?
Tasssadar said:
Yes. Is my english so bad or you just don't read what I wrote?
Click to expand...
Click to collapse
Maybe you just helped us with boot manager app
Sent from my LG-P500 using xda premium
I read the post but since the download you have is of a amonra recovery modified by you,i thougt that was a regular zip and only then make by abd the tutorial,thats why hi also ask a more friendly use because i now its not for averager use no need to get obset however im still happy hi was searching for that so hi dont mind waiting you make it more simple... sorry if that ofend you or franco lol we have to learn and its very hard now how to develop without having the proper nowledge like you all devs have and hi respect every dev even of he just make a simple app,by the way just dont send me to school lol where could i learn the bases to umderstand how to program java and then develop im asking this because all books hi find rekire previous nowleged of some progaming could some dev. Pointing me somewhere where i could learn and please dont be rude im just asking because i just dont love i want and hi will learn...
And baking to the thread what you find for me is one of the best and most important for our phones thanks a lot now just wainting a day everybody could use your work thank you
Sent from my LG-P500 using XDA Premium App
So your main question is: "Is it worth it?"
I would say, "Hell yeah it is!" but then again I do not have the know-how to pull something like this off.
If you decide to go ahead with it, I wish you the best of luck =P
I just modified Koush's AnyKernel so that it can modify ramdisk's content, so it is possible to install it with .zip file via recovery. I will add some modified version of CWM & AmonRA, create some walkthrough video and write some guide soon(c).
By the way, that kernel which is in devoid #froyo-final cant mount ext4 partition in init, dunno why, I'll look into it after raid.
EDIT: wtf, it just works now, and I did nothing Oo
EDIT2: Changes commited, now It can installed/controlled only by flashable ZIPs and recovery(well, only my modified AmonRa recovery for now). I'll do the rest soon, but I dont know when - maybe tomorrow (oh my, it is today actually already), maybe next month.
Flashable zips and guide added, see first and second post.
keep going I wanted something like this waiting when it can boot stock<froyo> and cm7....
thanx
gingerbread test
well i try with V20C,2.3.4 port(both with a2sd)and didnt woork after flash multiromv1.zip,when reobooting always return to recovery,so in recovery i go to multirom options and says no multirom folder so i start to think a2sd imcompatibelity,so i grab 2.3.3 V20G without changes oficial as lg give us but the results where the same no a2sd problem....
well later i will flash oldbaseband and try one of your combinations but i think its not compatible with gingerbread.....
I think I found it - on GB, there is "on fs" trigger in init.rc, which has only mounts in there, but I need to comment them out - all of them, so "on fs" trigger is empty, and init parser cant handle that. Will update soon.
Ok i will remain in new baseband to try when you update your exclente work...
Sent from my LG-P500 using XDA Premium App
v2 released, I have tested it with CM7 6.5.8, problem with stock GB should be the same as with CM7.

[DEV][2012/08/29] Multiboot v0.8

So I created a new thread for this so I can edit the first post for release-info.
This is the old thread:
http://forum.xda-developers.com/showthread.php?t=1133866
Please note that the multiboot-feature will be removed if you update your real system.
The virtual systems will stay on the sdcard so just reinstall the mod and you can boot your virtual systems again
Changelog:
Code:
[B]v0.8:[/B]
- addon.d (Multiboot will be kept on ROM-Update)
- working reboot recovery inside multiboot-rom(will boot directly into the recovery for that rom)
- working reboot into bootmenu inside multiboot-rom
- security-fixes
- TLS-support
- fixed sdcard-problems for NAND-system
[B]v0.7:[/B]
- added integration in touchbootmenu. This is no compatibility-patch - since now multiboot can only be used in combination with touchbootmenu
[B]v0.6.1:[/B]
- fixed some memory-leaks in kernel-module
- fixed stupid bug which prevented creating backups on first start
[B]v0.6:[/B]
- new hook-method with kernel-side code which should be the solution to most rom-problems
- fixed a bug which prevented mounting cache-partition inside recovery
- fixed installer-bug when TouchBootmenu is used on NAND
- reboot to recovery/bootmenu does not work for now. will be fixed in future
[B]v0.5.5:[/B]
- support for Stock-roms with Greenbreadmod
- added version-file(for updater which comes soon)
[B]v0.5.4:[/B]
- fixed problem with install-script
[B]v0.5.3:[/B]
- support for TWRP recovery
- fixed problem with virtual systems with names longer than 9 chars
- don't change 2ndBoot-script for bootmenus with 2ndSystem-support
- show graphical error-message when error was detected and copy log to "/cache/multiboot/error.log"
- experimental support for booting stock-roms
[B]v0.5.2:[/B]
- more configurable(via config-file)
- fixed error-detection. On early errors you will get back to bootmenu
- fix boot-problems for some roms
[B]v0.5.1:[/B]
- fixed crash of GUI when choosing recovery
- fixed bug which prevented creating important images on first boot
- virtual systems now are using nand-backups with real data so you could install backups of virtual systems on NAND
- installer sets default bootmode to 2nd-boot
- added recovery-option for NAND
- patch background-image of virtual recovery so you see if you are flashing real or virtual system
- reboot system if you click "Go Back" in virtual recovery(until I found a solution for going back to multiboot-GUI)
[B]v0.5:[/B]
- better protection against unwanted changes on real partitions(thanks wizwin)
- fix Phone for for GB-kernel(thanks quarx)
- set props so apps can detect if phone started with multiboot or not(for future versions of multiboot-manager)
- reboot into bootmenu/recovery now works
ATTENTION: reboot into recovery will open recovery for REAL system!!!
- added GUI for choosing which (virtual) system you want to boot
[B]v0.4:[/B]
- replacing all references to real system with stub-image(will be automatically created at /sdcard/fsimage/stub.img).
Now the recovery for the virtual system should be completely abstracted and it shouldn't make any changes to the real system
- a PDS-backup will be created and injected because it's needed by android-system and above change removes the reference
[B]v0.3/v0.3.1:[/B]
- moving original system-partition to another location instead of lazy unmount so she will be accessible in 2ndBoot-system and will not be busy
- fixed recovery to improve installer-zip compatibility. MIUI works now
- internal script-changes
[B]v0.2:[/B]
- "Install zip from SDcard" works now
- changed hook-method so it works with more ROM's(including ICS)
[B]v0.1:[/B]
First release
Source:
https://github.com/M1cha/DefyMultiboot
Download:
http://forum.xda-developers.com/attachment.php?attachmentid=1289953&d=1346244428
Installation:
1. Download zip-file and copy to sdcard
2. create 3 filesystem-images in ext3-format and copy them to /sdcard/multiboot/NAME with the names system.img, data.img and cache.img.
Please replace NAME with the folder-name of your virtual system(you have to create this)
You can download ready-to-use images from here:
http://www.multiupload.com/VY3U4IXRO1
2. install zip-file in CWM
Some info:
- The menu-entry "Lastest Recovery" is no longer supported and will affect your real system!
- boot the System-Chooser with the 2ndBoot-option in bootmenu
Bugs:
- Data-Wipe deletes android_secure
Donate:
Developing Multiboot makes much fun and I really like the results but takes much time, so feel free to donate a beer.
Hey,
i have no "Lastest Recovery" but a "Custom Recovery"
Can i install your script or does it not work with this version of the Bootmenu?
Which rom do you have installed?
I will check if it's compatible.
Thanks for the fast answer
i installed the CM7.2 Nightly "cm72-111125.0850-NIGHTLY-Defy"
The nightlys should always have the newest version of bootmenu.
Where you downloaded the nightly? I only could find "cm72-111123.1710-NIGHTLY-Defy.zip".
But generally it would work if you install but the problem is that you will never be able to change your real system because recovery will only make changes to the virtual one.
That bootmenu has 2 recovery-entrys is a lucky thing which I use as trick so I don't need to modify bootmenu
But when bootmenu-integration is done and you have an old version you will have to update bootmenu.
updated to v0.4
See first post for more info
Gonna try this now. I downloaded your empty .img files but how do I create my own img's on Win7? And what do you think is the smallest size I can make them safely to use with MIUI or ICS?
I don't know how you can create the images on windows, sry.
Maybe I can write a little App which does this directly on Android.
I have to admit that the images I uploaded are a little bit oversized.
system needs max 200MB
cache and data depends on your usage.
I would choose a minimum of 100MB for data and cache. If you plan to install many Apps you should make the data-partition over 300-500MB
Doesn't matter, instructions for Linux would do too
Hmm..oversized but no prob downloading because they were empty, only transferring via USB takes time. 200 MB for system and data and 100 for cache sounds good I'll make them myself if you can give me the instructions, I have Ubuntu.
App to do this on the phone itself sounds good, makes it even faster, no transferring from PC Thanks for your work
The Problem is that I can't find a mkfs.ext3-binary for Android
Maybe I'll extract it from another phone which contains this.
But as of now, here are the instructions:
Code:
dd if=/dev/zero of=./system.img bs=1000000 count=200
mkfs.ext3 ./system.img
The number 200 specifies the size in MegaBytes. I hope this will help you so far
Sure does
But like the poster above said, CM7 latest nightiles contain Custom Recovery, Stable Recovery, and Stock Recovery in the Bootmenu option for recovery. So Custom Recovery = Latest Recovery for your tool? I remember it used to say Latest recovery a few months back, dunno when that changed.
Oh, now I unsterstand what he wants to say.
I thought there is ONLY "custom recovery".
But if there are two recovery's it's ok to install. So you can use "Custom Recovery" for your virtual filesystem.
I'm downloading the CM7-source so I can extend and compile bootmenu and everything will be easier.
But with a download-speed of 170KiB/s this will take a long time
How fast is the virtual system? Could it be laggy because it is loaded from the sd-card?
the time from bootmenu to the boot-process itself takes a little bit time sometimes if I'm debugging.
But normally the booted system is in normal speed for me.
I think this depends on the speed of your sd-card and the usage of your apps.
m11kkaa said:
But normally the booted system is in normal speed for me.
I think this depends on the speed of your sd-card and the usage of your apps.
Click to expand...
Click to collapse
What class brand capacity card do you use?
I'll be trying with miui and ics tonight
Sent from my MB525 using XDA App
I don't know which class my card is because there is no label. It's completely black
But I don't think I have the best one(maybe class 2 or something else?)
An APP for windows to create ext-3 partitions http://forum.xda-developers.com/showthread.php?t=824154
download link: http://www.multiupload.com/SV7SOY33MQ
I have a 8GB class 4 card. Will test it in a few minutes with CM7 as real system and ICS as virtual system. Do you know what happen if I restore a backup in the real system? As far as I know a backup will override the bootmenu, too. Or am I wrong?
Yes, that will override the bootmenu.
But your virtual system stays on the sdcard.
You just need to patch again bootmenu with the downloaded "defy_multiboot_vX".
I'm on CM7 latest nightly and got boot loop when i tried to install Galnet MIUI ICS on virtual system. Could you fix it?

[How-To] Turn off - Softkey light - keeps off after reboot - [17/3]

I wrote a little Script to turn off the Softkeylight for our O3D because the Apps i could find doing so don't keep the settings after a reboot.
I'm not responsible for any damage on your Phone using this Script.
Just copy the file inside the .zip("softkeylight") with a file manager, eg. Root Explorer,..., to "system/etc/init.d" reboot and enjoy.
If you wanna get back the Softkeylight, then simply remove the file("softkeylight") from "system/etc/init.d" and reboot.
For everyone who uses a stock Kernel then follow this Thread for enabling init.d support.(You'll need at least the device rootet and busybox being installed).
what exactly does this Script do does it turn of the Led buttons ? and does it work on CM10.1
sioxz said:
what exactly does this Script do does it turn of the Led buttons ? and does it work on CM10.1
Click to expand...
Click to collapse
Yes, it simply turns off the Backlight of the Softkeyleduttons on boot. Yes it works on CM10.1
(It actually pushes the value 0 to the file "/sys/devices/platform/keypad_led/leds/button-backlight/brightness" gives permissions to it, because when you change the value inside manually, it will not stay after reboot. The Script does this on every boot.)
Re: [How-To] Turn off - Softkey light - keeps off after reboot
This won't work on any ROM without init.d enabled or custom kernel with init.d enabled .
Init.d scripts (as yours) is just a Unix commands that will be exaused on every reboot .
You can make it as a flashable zip with the needed files for init.d (you can find them for any android) .
However , Thanks , will be useful .
Sent From My LG-P880 (O4X) .
By Pressing "THANKS" You Will Help Me .
OS_Hacking said:
This won't work on any ROM without init.d enabled or custom kernel with init.d enabled .
Init.d scripts (as yours) is just a Unix commands that will be exaused on every reboot .
You can make it as a flashable zip with the needed files for init.d (you can find them for any android) .
However , Thanks , will be useful .
.
Click to expand...
Click to collapse
Thanks for the suggestion, but i put a link inside post#1 to a good Thread for enabling init.d support instead because you'll need the device rooted and busybox installed and there're too many threads here on xda for this. Am not gonna make another one. I just wanted to share what i've found out and couldn't find anywhere. It's not that difficcult to move a file manually.

Categories

Resources