yashsingh1/xdaforums huggingface dataset:
[Motorola Droid RAZR] lukas77:
My Idea how to improve BM

It happened twice during a lot of play with boot manu, testing stock, second, kexec etc. when I accidently format Data on my first system insted of second. I know, I should be more careful but it just happened and I know it's my fault.

So I have an idea how to improve it, how about make boot menu 1st system letters red color and for 2nd system make it green? If it not cost you a big effort whirleyes, please consider it.

Another idea is to "Lock 1st system modification" as an option in Boot Menu.

Thanks for you work Whirleys, you rocks!
[Motorola Droid RAZR] whirleyes:
It happen to me few times too... especially when I'm sleepy.

maybe change the background/text color is more visual & easy to differentiate

Now is green on black. Any other color suggestion??

Maybe someone have tired with the green
[Motorola Droid RAZR] whirleyes:
purposely did that.
[Motorola Droid RAZR] whirleyes:
I lazy to design it for horizontal mode.. save me times for other thing
[Motorola Droid RAZR] tarster:
I would be Huge fan of moving the first system so you dont wipe it.

From my Droid RAZR Maxx rooted with bootmenu
[Motorola Droid RAZR] HSD-Pilot:
Moving is no good idea, i need it ;)

And i always got an Nandroid of my actual main, so an restore is easy to handle, in case of wipe :thumbup:

Sent from my RazR
[Motorola Droid RAZR] tarster:
Ug stupid auto correct.. i ment locking the first system that way you still have it just have to unlock it before wiping out changing it.

From my Droid RAZR Maxx rooted with bootmenu and droid hd
[Motorola Droid RAZR] brucar:
cumps
[Motorola Droid RAZR] tarster:
Did you fully UN install everything bootmenu. The hijack and the packages and then the app and try to re install it?

From my Droid RAZR Maxx rooted with bootmenu and droid hd
[Motorola Droid RAZR] HSD-Pilot:
Try to delete the stuff in the preinstal folder completely.

Sent from my RazR
[Motorola Droid RAZR] brucar:
yes i did, but i ll pass rsd lite again

thanks

---------- Post added at 10:39 PM ---------- Previous post was at 10:18 PM ----------

after passing through rsd lite again and placed on ics, installed bootmenu again and the same thing happened to me ... I can not get into the custom recovery

i can only enter the recovery of motorola

someone can tell me how to clean Partition / preinstall?

not even know what could be ...:crying:
[Motorola Droid RAZR] sullytrny:
And you re routed again?

Motorola RAZR MAXX - XT912 - SimplexROM 1.3 - LinuxInstaller - Ubuntu - SafeStrap 2.11 - ROM Toolbox
[Motorola Droid RAZR] brucar:
yes i did, i think i need clean Partition / preinstall, but i do not know how to do it....someone can help me??

cumps
[Motorola Droid RAZR] theZest:
Use RootExplorer or smth like this to delete the content of /preinstall.

---------- Post added at 11:38 AM ---------- Previous post was at 11:23 AM ----------

LOL

We all are sleepy with these ROMs etc, aren't we? :D

Green is AWESOME, pls leave it for the 2nd system at least.

I think red colour is the best choice for the 1st system cause reddish most likely means smth like "Warning!" (ACHTUNG!!!)
[Motorola Droid RAZR] raziel23x:
Now that you have this to work on both stock and the other with both systems it seem that safestrap is trying to one up you by adding support for 4 roms instead of you're second system.
[Motorola Droid RAZR] whirleyes:
I think your preinstall partition is corrupted. Try this
[Motorola Droid RAZR] whirleyes:
It's not about competition. Safestrap simply don't suit my need.

Because my Razr is quite unique, there's no fastboot (factory image) got leaked for it.

It's harder to do a full recovery once you bricked it.

The simple way maybe to sell the phone & get something else... but that's not fun.

The least things I can do is to dump the entire phone partition, save it somewhere safe, pray & do android hacking the safest way I can.

That's where BootMenu idea came out.

My "new" razr is 6 months old now, I never had any brick/need to use fastboot to recover it.

I think that's a quite impressive number, given how hard I'm using it.

I'm still waiting for the days I have to erase the CID, flash other region ROM & enjoy bp-tools booting days.

HSD-Pilot seems to got used to it.

The final target/mission for BootMenu development is to support multi ROM booting (maybe similar to Boot Manager??) & phone other than Motorola.

I try not to buy Motorola next time I feel like upgrading phone.
[Motorola Droid RAZR] lukas77:
+1 for Green for 1st and Red text for 2nd.
[Motorola Droid RAZR] AndroidOL:
I prefer red_for_1st&&green_for_2nd to green_for_1st&&red_for_2nd.

Maybe that's becuase the 1st is more importance:p

(How about use blue instead of green?:D)
[Motorola Droid RAZR] theZest:
Oh yeah, I mean the same as AndroidOL, because 1st system is the most important one and all operations with it should be highlighted with red colour and maybe ACHTUNG alerts :D
[Motorola Droid RAZR] Jack'O:
+1 for red@first and green@ second
[Motorola Droid RAZR] brucar:
I think your preinstall partition is corrupted. Try this

Quote:

Originally Posted by whirleyes View Post

preinstall partition has no security. You can try reformat it to ext3 using mkfs

Code:

umount /preinstall

mke2fs -j /dev/block/preinstall

e2fsck /dev/block/preinstall

I apologize, but I'm not understand how to do this.:eek:

thanks for your help
[Motorola Droid RAZR] sevenup30:
use adb

open a terminal go to your adb folder.

then

adb shell
su
umount /preinstall
mke2fs -j /dev/block/preinstall
e2fsck /dev/block/preinstall
[Motorola Droid RAZR] brucar:
thank you!!

then I'll try to do that.

cumps
[Motorola Droid RAZR] whirleyes:
Beta 3 uploaded here

Changes :

- CWM6 (use dedupe as default backup format)

- replace ROM ZIP update-binary with Motorola version

- Change UI color of 1st/2nd recovry

- Move 2nd-init "on fs" section from /system/etc/rootfs*/init.fs.rc to /preinstall/bootmenu/config/

TODO :

Add Change boot settings option (before boot)

Clean unused CWM code

Yesterday I read about unionfs & aufs. Maybe I can try to compile the filesystem module for kernel 3.0.8 & used it with BootMenu.

If it's a success, I'm going to combine preinstall, userdata & webtop as one large partition. Hopefully it will solve free space problem for 2nd-system

Please uninstall BootMenu packages, BootMenu app before install new version
[Motorola Droid RAZR] Jack'O:
You're huge dude! Thanks a lot.

Same procedure to upgrade?
[Motorola Droid RAZR] theZest:
Setting custom init on/off for both systems right in custom recovery could be very good option!
[Motorola Droid RAZR] AndroidOL:
I used 0.2.8 flash Flick in 1st system, I feel no problem(Thanks for HSD-Pilot), But need mount /System manual.

I install Hijack/Package success, BootMenu still tips /Preinstall no free...(Before install, I already clean the Bootstrap file...)

Not affecting the normal usage.
[Motorola Droid RAZR] brucar:
already solved the problem with the bootmenu!!

thanks to all who helped me

cumps

:)
[Motorola Droid RAZR] HSD-Pilot:
I got a lil bug on Beta 3. Another user in Germany got got it, too.

I converted the Simplex again with Beta 3 to flash it (again) on Main System. Problem now is the System Keeper. After installing Hijack it still told me that Hijack is bad.

No big Deal, backed up my Rom before. Just an info ;)

Sent from my RazR
[Motorola Droid RAZR] AndroidOL:
Yesterday I use beta 2 flash Flick install Hijack is no problem.:p
[Motorola Droid RAZR] HSD-Pilot:
I know, i flashed SimpleX before with V0.2.8 and it works flawless. Today an User asked me, what he's doing wrong. So i start from Scratch by using Beta 3 and got the same error.

Sent from my RazR
[Motorola Droid RAZR] raziel23x:
This RAZR us my last Motorola upgrade I an going HTC or Google GS3 or what ever new phone name it is when 2013 upgrade date
[Motorola Droid RAZR] whirleyes:
Just false alarm.

Maybe preinstall partition is unmounted before recovery exit.

Just want to know, does it happen every time you go to recovery or just after install something?
[Motorola Droid RAZR] lazer9:
Sadly I've had to switch from this back to just SafeStrap 2.11 and running with 1 mod :crying:

I miss being able to have a "Dual boot" type setup - IE: Run another JB based ROM in 2nd system.

My problem causing me to give up was the lack of "Data" space on 2nd system and I couldn't understand properly even as per the OP instructions on how to increase it by moving to ExtSD or whatever. So I always ran into "Low Data" warning when trying to restore/include my 300+ apps I run with via TIBU.

-Has anything been changed or improved to rectify this situation? :fingers-crossed:

Thanks.
[Motorola Droid RAZR] Jack'O:
Due to all those changes, can you also provide a safe way back to stock configurations and a link to a webtop image to restore?

Also I would like to try to translate BM in Italian but really don't know how, pm me about this to keep the thread clean. Thanks.
[Motorola Droid RAZR] whirleyes:
I'm working on finding free usable space/combine them as one. I plan to make an automation on this but it's not a priority for now.

Do you have an unused space on sdcard? I hope you can understand what I'm trying to say here.

It's not straight forward & requires some knowledge.

First make at least two primary partition on your external-sd using fdisk/gparted & etc.

In android kernel, it will be seen as /dev/block/mmcblk0p1 & /dev/block/mmcblk0p2.

format /dev/block/mmcblk0p1 as fat32, android os will use this as external sd.

format /dev/block/mmcblk0p2 ext3 or ext4.

then change these 2 config file (Example for 2nd-system, 2nd-init ROM)

/preinstall/bootmenu/config/second.recovery.fstab

# Copyright (C) 2012 Project Lense (@whirleyes)
#
# Razr second recovery mount option.
#(keep /dev/block/system & /dev/block/webtop fstype as auto, cwm won't format them, but rm -r * instead)
#
# mount point fstype device	second device or options
#
/sdcard vfat /dev/block/mmcblk0p1	/dev/block/mmcblk0
/emmc vfat /dev/block/emstorage
/webtop auto /dev/block/webtop
/system auto /webtop/system	fs_options=bind
/data auto /dev/block/mmcblk0p2
/cache auto /dev/block/cache
/preinstall auto	/dev/block/preinstall
/pds auto /dev/block/pds

/preinstall/bootmenu/config/2nd.init.fs.rc

on fs
#we don't know stranger's /preinstall partition type (try with ext3,ext4)
mount ext3 mmc@preinstall /preinstall noatime nodiratime barrier=0,nobh
mount ext4 mmc@preinstall /preinstall noatime nodiratime barrier=0,nobh

#Let buysbox mount decide partition type(slow)
#partition is mount directly (Skip disk checking)
#If partition is corrupted/not clean, boot to 1st-system & let it repair/check those partition.
mkdir /webtop 0775 system system
exec /preinstall/bootmenu/binary/busybox mount -o noatime,nodiratime,barrier=0,nobh /dev/block/pds /pds
exec /preinstall/bootmenu/binary/busybox mount -o noatime,nodiratime,barrier=0,nobh /dev/block/webtop /webtop
mkdir /webtop/system 0775 system system
exec /preinstall/bootmenu/binary/busybox mount -o bind /webtop/system /system
exec /preinstall/bootmenu/binary/busybox mount -o noatime,nodiratime,barrier=0,nobh /dev/block/mmcblk0p2 /data
exec /preinstall/bootmenu/binary/busybox mount -o noatime,nodiratime,barrier=0,nobh /dev/block/cache /cache

This example is only for 2nd-init ROM.

Kexec rom use a compress ramdisk, it requires few more step. I'm not going to explain it now.
[Motorola Droid RAZR] lazer9:
Thanks for acknowledging my request/? . Sorry to say, what you described is a bit over my head though so I will await to see if you can address this when your time permits :fingers-crossed:
[Motorola Droid RAZR] raziel23x:
Sent yea a small donation I hope it helps
[Motorola Droid RAZR] whirleyes:
Here's another solution. (Only for cdma device)

Example mount point for 2nd system

/system -> /preinstall/system (cdma phone got 600MB here)

/data -> /webtop/data (1.3 GB for your data)

1.Install bootmenu 02.8 beta 3.

2.Use root file explorer.

Backup & remove all folder (except bootmenu) in /preinstall

3.Convert your rom (No kexec)

4.Boot to 2nd-system recovery

5.Install data@webtop-system@preinstall.zip via recovery

6.Goto Mount&Format -> Format webtop

7.Reboot

8.Select recovery again & go to 2nd-system mode

9.Install converted zip

Enjoy
[Motorola Droid RAZR] tarster:
I know i would be A huge fan of saving the roms to the sd card. I have a 32gb sd so plenty of space. I do believe if you wanted you could also do the multi Rom if you saved them to the sd card.. basically would just do a nandroid of the Rom and save it then push the nandroid back when you wanted to switch.

Would be pretty bad ass.

From my Droid RAZR Maxx rooted with bootmenu and droid hd
[Motorola Droid RAZR] lazer9:
Yes, I'm on CDMA. Is this post about (in response to) another solution for my increase data space on 2nd system?

And if so, what is the best method for me coming away (removing) SafeStrap 2.11 and retaining my current ROM and installing your latest bootmenu if you could help me out with that?

OR should I be making a Nandroid and proceed from there?
[Motorola Droid RAZR] whirleyes:
Do backup current rom (Data & System is enough).

Having a fastboot ready is a plus

I've repair previous post & make a installable zip for recovery.
[Motorola Droid RAZR] HSD-Pilot:
Nope, no false alarm :eek:

No Hijack and the Rom won't boot. Hit the RSD Start Button now ;)
[Motorola Droid RAZR] lazer9:
I have gone into /preinstall via rootexplorer and there are no files in there at all! I get an error when trying to run "BootMenu" that:

"Not enough free space Please clean /preinstall partition. ??? :confused:

PS: And I have already uninstalled both SafeStrap "Recovery" AND SafeStrap under /Settings/Apps

I'm stuck

EDIT: And now I'm really stuck. Tried to reboot and I'm stuck in a "BootLoop".... Arghhhhhhhhhhhhhhhhh

---------- Post added at 03:32 PM ---------- Previous post was at 02:51 PM ----------

How long should I let this thing spin on the boot logo before reverting to a SBF?

---------- Post added at 03:36 PM ---------- Previous post was at 03:32 PM ----------

Since no answers rolling in, I'm in the process of SBF and starting all over with this :p:crying::(:mad:
[Motorola Droid RAZR] HSD-Pilot:
Remember the different timezones. And we're running an Beta Test. So always get ready to RSD back to start ;)
[Motorola Droid RAZR] lazer9:
Gotcha! :p:highfive: "Learning for me is breaking ****, unfortunately"....

---------- Post added at 03:56 PM ---------- Previous post was at 03:41 PM ----------

If I do ever get this thing back up and running from stock and rooted, Is it then "safe" to follow whirleye's last post to get me to Bootmenu and proceed from there. Assuming I did move the backups from the "SafeStrap" directory on my external card to Clockwork/Backup, can I then restore my previous MOD as per listed in my sig to System 1 somehow and go from there?

Thanks for the help.
[Motorola Droid RAZR] HSD-Pilot:
For me it sounds pretty easy, i would give it an try. But it's for cdma only, so no way for me.

For the Beta 3 i would not recommend to flash on Main System, that's all i learned today.

Next Lesson has to wait till tomorrow :D

About the Safestrap Backup: If it's an CM9/AOKP Backup i would not recommend it, to restore on Main. They usualy doesn't contain the BM Files to boot 2nd init. So your Main System probably won't boot.
[Motorola Droid RAZR] underface:
version beta 3 need new convertion rom packed?

i try install rom conversion by beta1 but after instalation its only black screen
[Motorola Droid RAZR] lazer9:
It's the Simplex-V1.3 | Ics4.04 |10/1/2012 | The Revival! I want to restore as Main system.
[Motorola Droid RAZR] HSD-Pilot:
Simplex usualy runs flawess without 2nd init, as every blur based Rom.

But charge your battery, backup your Main System and use the system keeper for the hijack, after the restore.

I guess always convert new, with every new release. For useful feedback i do that.
[Motorola Droid RAZR] whirleyes:
Yesterday I brag about 6 month without brick.. & today I finally did it. :crying:

while trying to install flick as main system. (I accidentally hit reboot, before repair)

I'll explain my founding here.

Flick use it own script to symlink logwrapper binary.

After convert & install flick, this is the status of hijack & logwrapper binary

/system/bin/logwrapper -> /system/bin/hijack
/system/bin/logwrapper.bin -> /system/bin/hijack

This is wrong because, logwrapper.bin should be the original logwrapper binary from ICS rom & not a symlink. The problem here my script check_hijack.sh fail to detect this.

Despite my effort to do thing safely as possible.. there a some limitation in ROM conversion.

The is still some unknown(s) things in the ROM we're trying to install.

But the important thing is,

So is it safe to use BMM 0.28??

I would say it depends on you. Just make sure hijack,logwrapper & logwrapper.bin are installed correctly before hitting reboot. (using adb)

Then you'll be safe

Now I have to postpone/halt the development of 0.2.8 until I can recover my phone.

It may take a very long time... Someone, please leak the fastboot for me
[Motorola Droid RAZR] HSD-Pilot:
That's bad to hear. But as i sad, Beta 2 works flawless, but on Beta 3 there's an problem with flashing on Main System.

I used V0.27 to flash the SimpleX after RSD and all is running as it should.

I guess the easiest way for you is the CID-Kick off. I'll bet you got more than one Backup of it ;)
[Motorola Droid RAZR] whirleyes:
Not yet. that is the last resort. I'll try to experiment with other things.

So far restoring dd backup of own system partition via moto-fastboot doesn't work.

xt909 cdt 4, cid 4

xt912 cdt 3, cid 2 (I wish xt912 cdt upgraded to 4)

xt910 cdt 4, cid 3/4/5/7

My posibble recovery solution maybe china xt910 fastboot, which mean i'll lose cdma radio functionality

Sending to service center is not an option. It would cost more than buying a used phone.

I hope this is not the time to say good bye to Moto.
[Motorola Droid RAZR] raziel23x:
What Are you trying to do

you can restore try to restore your system back to factory specs using a restore script called Droid RAZR Utility
[Motorola Droid RAZR] AndroidOL:
:(He's phone seems no fastboot mode....
[Motorola Droid RAZR] HSD-Pilot:
For his phone there is no Fastboot File out. That's the Problem.
[Motorola Droid RAZR] raziel23x:
That sticks because the tool I use when i brick requires power off hold all buttons
[Motorola Droid RAZR] HSD-Pilot:
Yeah, but the utility contains an Fastboot File for the XT912. But for his RazR there's no Fastboot File leaked. So no Fastboot > no return to stock in case of brick.

I hope he get it fixed. It would be bad to lose one of the best Devs on the RazR.
[Motorola Droid RAZR] Jack'O:
So i'm wondering, is it best way to use 2.7 or 2.8b?
[Motorola Droid RAZR] whirleyes:
0.2.8 is safe for ROM other than flick 1.3 (Atm)
[Motorola Droid RAZR] leisures:
If theres a ota update for your phone u can flash system of gb and then use ota update(if u got the kernel of that ota then it will only check system and patch system to ics and u done back)

Thats what i did when i didnt have ics fastboot for my phone to recover it, but that will work if at least u have the gb system.

moto-fastboot flash system system_signed(gb system)

Then go to recovery and use ota update.

Enviado desde mi XT910 usando Tapatalk 2
[Motorola Droid RAZR] An1mA:
When I press on "Install hijack" nothing happends, because of it I cant boot MIUI as 2nd system. Someone know why?

*EDIT* after reinstalling it, hijack works but wont boot the MIUI rom. Can someone give his updater-script? So I can verfiy if my script is not wrong, thx.
[Motorola Droid RAZR] evonc:
Having trouble getting this to install on the latest ICS leak. Downloaded the app from the market and installed it. It downloads the bootmenu package. Then it installs the hijack but doesn't do anything after that. Clicking Install package does nothing and the bootmenu package installed never gets checked off. Am I doing something wrong?
[Motorola Droid RAZR] fikri95:
Can anybody direct me to the webtop partition?? I've search in /tmp but there's nothing
[Motorola Droid RAZR] whirleyes:
build 0.2.1 or 0.2 beta ??

Try uninstall & reinstall from google play
[Motorola Droid RAZR] Ramdanih:
same here..

i'm using ICS china..

not found web partition..

both.. but not found..
[Motorola Droid RAZR] whirleyes:
you need to mount it first

adb shell mkdir /tmp/webtop
adb shell mount -t ext3 /dev/block/webtop /tmp/webtop

Now webtop is mounted on /tmp/webtop
[Motorola Droid RAZR] evonc:
0.21 from the market. Removed cwm on boot as well and tried installing about 5 times now. Still no luck. I checked /preinstall with root explorer and there is a bootmenu folder with the scripts inside but the app still shows the enough space in preinstall and bootmenu package options as unchecked
[Motorola Droid RAZR] Ramdanih:
can't remove '/tmp/webtop' : Devices or resource busy

:confused:
[Motorola Droid RAZR] evonc:
Nvm found a fix. Somehow a gameloft apk was sitting in /preinstall/app so i deleted it and bam, it went through perfectly
[Motorola Droid RAZR] lucidvtec:
installed from market

worked like a charm!!!!

this thing is sweet!!!!!!

anything i need to know......x912 verizon on the new ICS leak .211
[Motorola Droid RAZR] ShensMobile:
I used this to install MIUI but the problem is that I never deleted webtop, so I only have 8gb of storage space. Is there any way that I can go back and format all the useless space and add it to my MIUI partition? Or do I have to reflash MIUI at this point?
[Motorola Droid RAZR] whirleyes:
I need to modify the "check free space" stuff. Obviously it failed to do its job properly.
[Motorola Droid RAZR] whirleyes:
I can't understand what you're trying to say.

Most RAZR is 16GB, half of it is allocated for userstorage

the other half is for OS, data,webtop & etc...
[Motorola Droid RAZR] ShensMobile:
Sorry, yeah I was wondering if it was possible for me to delete webtop and use it as usable space, I thought that was the case with the stock ICS build, but I was wrong. Nevermind!
[Motorola Droid RAZR] whirleyes:
If updates 2.0.1 breaks your 2nd system

Remove /sbin/adbd & line from /preinstall/bootmenu/script/boot_second.sh

I made mistake :(

Update : Upgrade to 2.0.2
[Motorola Droid RAZR] SoulGraphicsBrand:
How do I format/clean the partition webtop?

With this:

adb shell mkdir /tmp/webtop
adb shell mount -t ext3 /dev/block/webtop /tmp/webtop
adb shell rm -r /tmp/webtop/*

Thanks
[Motorola Droid RAZR] SoulGraphicsBrand:
if I do a wipe data / factory from stock recovery i lose the bootmenu ??

Enviado desde mi XT910 usando Tapatalk 2
[Motorola Droid RAZR] An1mA:
It says operation not permitted when I enter the following line:

adb shell mount -t ext3 /dev/block/webtop /tmp/webtop
[Motorola Droid RAZR] SoulGraphicsBrand:
dont open another shell again in the second and third lines

Enviado desde mi XT910 usando Tapatalk 2
[Motorola Droid RAZR] blisslove:
adb shell (from PC)

su

mount -t ext3 /dev/block/webtop /tmp/webtop

:)
[Motorola Droid RAZR] lukas77:
His problem is he has XT909 which is CDMA released for Japan market, there's no leaked fastboot files for this model, no ICS nor GB. Thats the problem :(

---------- Post added at 10:02 AM ---------- Previous post was at 09:56 AM ----------

I was thinking yesterday what gonna happen when Whirleyes buy a new phone and we will lose him and today this **** happened.

I hope he get fixed too.
[Motorola Droid RAZR] leisures:
Im worry and sad now.....

I will try to search for it on motorola...

Enviado desde mi XT910 usando Tapatalk 2