[Encrypt] [Update 13/7/11] Encrypt yout personal data via CWM! - Sony Ericsson XPERIA X10 Mini

Introduction
This thread describes an experimental mod that allows you to encrypt your personal data (/data partition) on your phone.
This can make sure that no 'unauthorized' user can take your phone and view your data. It is NOT an anti-theft mechanism, but will protect your personal information in case you lose your phone (provided that the password is not easily recoverable).
This mod should work for X10mini / X10minipro / X8
WARNING:
This mod is experimental, for advanced users and security paranoics only. Use it at your own risk
Requirements:
- CWM recovery pre-installed
- Custom MiniCM7 ROM (should work on any custom ROM - I have not tested others). Will NOT work on stock ROMs.
- At least 200MB of free space in your sdcard
Encryption mod Installation
- Flash the attached CWM multiboot zip via CWM
Encrypting your /data
This mod allows for easily migrating your existing /data contents to the encrypted partition. To do so boot into CWM recovery:
- backup and restore -> backup
- encrypt -> Encrypt - migrate /data -> Yes
- Use the keypad to enter your password. To navigate, use the Vol up/down buttons for up/down, the menu/back buttons for left/right, the home button to select a letter, the camera button for backspace and the power button to verify that you are done.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
This process will take 5 - 10 minutes, be patient.
Once finished, to verify that the migration was successful, select:
- encrypt -> Mount encrypted /data
This should ask you for the password you used and if successful, it should mount the encrypted partition under /data-enc.
$ adb shell mount
should give you this line among others:
/dev/mapper/data-enc on /data-enc type ext2 (rw,noatime,nodiratime,errors=continue)
which means that your private files can now be accessed under /data-enc.
When done, use:
- encrypt -> Umount encrypted /data to unmount
To update your password, use:
- encrypt -> Change encryption password
This will prompt for a password three times: the first one is for the existing password. The second and third should match and this is the new password.
Booting your phone
When booting your phone you are prompted with the keypad to insert your password. Unless the correct one is provided, you cannot continue booting.
Uninstall
- Boot into CWM and format your /data partition.
- mount the /system partition via CWM and use the following command to avoid getting asked for a password at boot:
- adb shell mv /system/bin/ramdisk.tar.bak /system/bin/ramdisk.tar
Thanks to:
- DaRk_dOg for his testing and theming ideas
- sigkill1337 for his keypad ui implementation for the Wildfire
Disclaimer:
I can't be held responsible if this mod bricks your device / trashes your phone or makes it explode in your hands! Use it at your own risk!
​

Changelog:
(13/7/11) CWM-encrypt-r1.zip
Initial version for encrypting /data partition

where is the Google's [+1] button? great tool

WARNING:
This mod is experimental, for advanced users and security paranoics only. Use it at your own risk
Dude seems like you are first paranoid one . Nice work!
p.s.
what if i forget password?

aZuZu said:
WARNING:
This mod is experimental, for advanced users and security paranoics only. Use it at your own risk
Dude seems like you are first pranoid one . Nice work!
p.s.
what if i forget password?
Click to expand...
Click to collapse
In terms of security, yes I am
If you forget your password you are doomed.

nobodyAtall said:
In terms of security, yes I am
If you forget your password you are doomed.
Click to expand...
Click to collapse
Flash tool will not work?
Sent from my X8 using XDA Premium App

Let me rephrase : if you forget your password you can't expect to be able to get your data back. That's the whole point of encrypting them. Sure you can get in recovery and format, as already described in the first post.
Sent from my Nexus One using XDA App

nobodyAtall, thank you for another great addition!
First multiboot, now data encryption. X10 mini is such a geeky device after all!
Thank again, D_d

What encryption algorithm is used?
P.S. I tried to encrypt MiniCM6-1.0.2, phone is much slower to work.

Camogyp said:
What encryption algorithm is used?
P.S. I tried to encrypt MiniCM6-1.0.2, phone is much slower to work.
Click to expand...
Click to collapse
It's using aes-plain encryption. Practically you need a weak password if you wanna crack this
I'm using it on MiniCM7 without any noticeable performance degradation.

it on MiniCM7 without any noticeable performance degradation.
Click to expand...
Click to collapse
Maybe I was wrong... I tried test speed at the application SemcCamera (gallery) - it did not work correctly after installing encryption. Deinstal apk... =)
The overall rate of the entire system is good. Sorry for previous post!

This mod use internal memory or ext2.
Sorry for stupid quastion.
Sent from my X8 using XDA Premium App

as-mario said:
This mod use internal memory or ext2.
Sorry for stupid quastion.
Sent from my X8 using XDA Premium App
Click to expand...
Click to collapse
It uses a encrypted loop device formatted as ext2 which is stored in the phone's [email protected] partition.

Hmm, intresting. Do you think this would work on the x10 mini pro? - If possible with the HW keyboard?

Great work nobodyAtall!!
just a question, can you do to work on x8? this and multiboot too?
thanks..

LuisDias said:
Great work nobodyAtall!!
just a question, can you do to work on x8? this and multiboot too?
thanks..
Click to expand...
Click to collapse
It works i test that.
Sent from X8 using XDA Premium app and running Kuyadroid

thnx!!!
Great job thnx!!!!

Need help restoring encrypted partition..
Hmm, I might've done something stupid and thought I'd ask for help.
I used MiniCM7 2.0.5 w/ encryption, then I chose to update to 2.0.6.. and when I reboot it seems I lost everything stored on /data/ (i.e. I'm not asked to decrypt anything and when I boot into CM7 nothing is there). I assume the encrypted data is still somewhere, but how can I tell CWM/miniCM7 2.0.6 to decrypt this into /data/ before boot?

Hi there.
You should copy your ramdisk from your MiniCM7-2.0.5 backup to your current installation. To do this, restore to your previous version, copy the /system/bin/ramdisk.tar file to your sdcard and once you upgrade to the latest version copy it back again. If all goes well, in next reboot you should be prompted with the password input screen.
DehDehDeh said:
Hmm, I might've done something stupid and thought I'd ask for help.
I used MiniCM7 2.0.5 w/ encryption, then I chose to update to 2.0.6.. and when I reboot it seems I lost everything stored on /data/ (i.e. I'm not asked to decrypt anything and when I boot into CM7 nothing is there). I assume the encrypted data is still somewhere, but how can I tell CWM/miniCM7 2.0.6 to decrypt this into /data/ before boot?
Click to expand...
Click to collapse
Sent from my Nexus One using XDA App

Hmm, I can't seem to get this to work;
I tried to update to MiniCM2.0.7 (from 2.0.6) by the method below, but it just reboots without my settings (and w/o asking for password).
I also tried mounting the encrypted /data in CWM (encrypt submenu) before flashing the update.
Can you tell me the proper way to update an encrypted MiniCM? I fail miserably
Also, I can't seem to uninstall Encrypt as per the guide in the first post, at least not while keeping my apps and settings. Is this not possible? (Since the first step is to format /data I'm thinking it isn't?)
Thanks for the help and your great development!
/DDD
nobodyAtall said:
Hi there.
You should copy your ramdisk from your MiniCM7-2.0.5 backup to your current installation. To do this, restore to your previous version, copy the /system/bin/ramdisk.tar file to your sdcard and once you upgrade to the latest version copy it back again. If all goes well, in next reboot you should be prompted with the password input screen.
Sent from my Nexus One using XDA App
Click to expand...
Click to collapse

Related

[RECOVERY][5/6/11] ClockworkMod Recovery for X10mini / X8 - 3.2.0.0-r3

This is ClockworkMod Recovery (v.3.2.0.0) ported to work on X10mini / X10mini pro / X8
Introduction
ClockworkMod Recovery is the default recovery option by the CyanogenMod, it has several additional features over plain old xRecovery and uses Edify exclusively:
CyanogenMod said:
Amend scripting (update-script) is no longer supported
Amend scripting was deprecated by Google in Android 1.5.
It was necessary to remove it when upgrading to the ClockworkMod 3.0 Gingerbread based recovery.
Please switch to Edify scripting (updater-script and update-binary) to create working update zip packages.
Click to expand...
Click to collapse
Despite the non-support for Amend scripts, it's the future of Recoveries and cooks should get used to this kind of scripting when making their zips.
Update:
CWM 3.2.0.0-r3 introduces two new features that validate and restore the currently installed recovery and it's deps before reboot / shutdown. If the current recovery doesn't appear to be correct, it will prompt for a recovery restore option that at least guarantees that the phone can boot into recovery. This is NOT:
- a way to make any ROM that you installed boot
- an idiot proof mechanism (e.g. if you are prompted and omit restoring, you are on your own)
Features
ADB root shell
reboot system now
apply update from sdcard
wipe data / factory reset
wipe cache partition
install zip from sdcard
backup and restore
backup (also backs up ext partition and installed apps to sdcard)
restore (also restores ext partition and installed apps to sdcard)
restore from xRecovery (Use this in case you want to restore backups done with xRecovery)
advanced restore
mounts and storage
mount / unmount /cache
mount / unmount /data
mount / unmount /sdcard
mount / unmount /system
mount / unmount /sd-ext
mount / unmount /cache
format /cache
format /data
format /sdcard
format /system
format /sd-ext
mount USB storage
advanced
reboot recovery
wipe Dalvik Cache
wipe Battery Stats
report Error
key Test
partition SD Card
Ext Size (formatting as ext4)
Swap Size (Set this to 0)
Rest Size is for vfat
fix permissions
validate recovery
restore recovery
power off
Usage
When booting your phone and when the 'Sony Ericsson' letters appear, press and release continuously the 'back' button.
Once you are in the CW recovery, use the volume keys to navigate upwards / downwards, the 'home' or camera button key to select, the 'back' key to go back.
Requirements
Stock 2.1 ROM
Busybox from the market
Root
Installation
EITHER:
If you have xRecovery: Flash the CWM recovery Amend zip
OR:
If you have a previous version of CWM Recovery: Flash the CWM recovery Edify zip
OR:
If you don't have a recovery installed, using Root explorer: manually extract any of the above CWM recovery zips and copy the contents of the system folder (system/bin and system/xbin) to /system, then give 755 permissions to those files, especially to /system/bin/chargemon, or you'll get bootloop.
Notes to everyone
Do NOT use this recovery if you are not in Stock 2.1 firmware. If you have a custom ROM, your cook should incorporate this to his ROM first
Notes to Devs/Cooks
To incorporate this to your ROM, extend the chargemon file to contain the needed part required in order to boot your ROM, the rest of the files need no changes.
Switch to Edify when giving updates for your ROMs. Search xda and google for that, there are plenty of resources out there. E.g: http://forum.xda-developers.com/showthread.php?t=936175
Also use the attached update-binary which is modified and tested to work correctly with this recovery.
Credits:
DaRk_dOg for his testing / support
koushd for writing the piece of software the first place
zdzihu for his rm -rf tip
Cyanogen for the obvious reasons...
Disclaimer:
I can't be held responsible if this Mod bricks your device or makes it explode in your hands! Use it at your own risk!
​
Changelog:
ClockworkMod Recovery v.3.2.0.0-r2:
- Added restore from xRecovery option
- Fixed letters cutoff at the bottom of the screen
ClockworkMod Recovery v.3.2.0.0-r1 for x10mini
- Ported default CM7 Recovery option
Thank you mate! Another great addition!
very cool but does this mean i cant install it when i am using your miniCM7 ??
freebordjunky said:
very cool but does this mean i cant install it when i am using your miniCM7 ??
Click to expand...
Click to collapse
That means you should bother the dev of your ROM.
....
And also check the MiniCM7 thread
Thanks a million! Will try on MiniCM6-1.0.1!
Sent from my X10mini using XDA Premium App
Great work. Thanks
o2gulo said:
Thanks a million! Will try on MiniCM6-1.0.1!
Sent from my X10mini using XDA Premium App
Click to expand...
Click to collapse
Uhm, you shouldn't.....
nobodyAtall said:
Notes to everyone
Do NOT use this recovery if you are not in Stock 2.1 firmware. If you have a custom ROM, your cook should incorporate this to his ROM first
Click to expand...
Click to collapse
Nobody.... I have one question. Though my phone gets stuck up in SE screen the CWM recovery works fine and shows up on repeated pressing of back button. Now once you upload the rectified ".zip" file can I not reflash it with CWM recovery and boot my device normally instead of going through the entire process of updating through SEUS?
This seems great as with all your work. May I bother you enough to make it work with MiniCM6, as the one you posted effed up my cellphone?
Keep up the great work, nAa
parthabhatta said:
Nobody.... I have one question. Though my phone gets stuck up in SE screen the CWM recovery works fine and shows up on repeated pressing of back button. Now once you upload the rectified ".zip" file can I not reflash it with CWM recovery and boot my device normally instead of going through the entire process of updating through SEUS?
Click to expand...
Click to collapse
Hi,
This thread is for Stock 2.1 ROMs only.
At the state you are, you need to reflash with SEUS and restore with xrecovery.
Good Thing I reverted Back to 2.1 ..
One question, If we use xRec and Flash it, will xRec be removed?
Is backward compatible with xRecovery? I mean themes updates and Backups made for xRecovery will work?
Sent from my X10mini using XDA App
It replaced xRecovery.. No problems at all... Works great... Thanks dude..
When want to replace my recovery i get:
E:Can't chown/mod /system/bin/charger
(No such file or directory)
E:Failure at line 4:
set_perm 0 0 0755 SYSTEM:bin/charger
Edit: well it seemed like it worked, well recovery is orange now
Now it is stuck on SE screen, i dit revert back to stock 2.1
nobodyAtall please help
a couple of questions,
1. i did a backup with the new cwm so the old backups from xrecovery wont work so can i delete them?
and
what is key test?
X10mini miniCM7 2.0.1 using XDA Premium App
This is really awesome, porting to mini pro right now! Thanks nAa, you're the man
cheers, d4.
EDIT:
@nAa Still some wrong on sizes, hope you can fix it, or upload sources, but awesome work, ported to mini pro, ofc all crdtis for you
EDIT2:
Can you please upload a modded version that says Mini pro? Thanks
I flashed the file zip, but the phone forces close..it doesn't work..i repaired the software with SE
Sent from my X10mini using XDA Premium App
the last line when making backup or something others is half cutted by backup is this : Backing up System
the words shows me like this (example from PC) :
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
seams it isnt fixed on right resolution
*edit*
Great Port thx to all for make this happen
bitmovel said:
also, "fix permissions" does not work. the phone stops working. only battery off can make it run again
Click to expand...
Click to collapse
DJxSpeedy said:
the last line when making backup or something others is half cutted by backup is this : Backing up System
the words shows me like this (example from PC) :
seams it isnt fixed on right resolution
*edit*
Great Port thx to all for make this happen
Click to expand...
Click to collapse
Yeah, same here, btw, tried to make a edify script for flashing old xRecovery, and it gives me error ?, I used chumby's amend2edify tool

[RECOVERY] ClockworkMod Recovery for X10 Mini Pro - 3.2.0.0-r3

First, I need to say that this was not made by me!, all credits go to nobodyAtall, I just changed chargemon to make it work on mini pro, all roms, Please read original post here for more info
This is the latest ClockworkMod Recovery (v.3.2.0.0) ported to work on X10 mini pro
Introduction
ClockworkMod Recovery is the default recovery option by the CyanogenMod, it has several additional features over plain old xRecovery and uses Edify exclusively:
CyanogenMod said:
Amend scripting (update-script) is no longer supported
Amend scripting was deprecated by Google in Android 1.5.
It was necessary to remove it when upgrading to the ClockworkMod 3.0 Gingerbread based recovery.
Please switch to Edify scripting (updater-script and update-binary) to create working update zip packages.
Click to expand...
Click to collapse
Despite the non-support for Amend scripts, it's the future of Recoveries and cooks should get used to this kind of scripting when making their zips.
Update:
CWM 3.2.0.0-r3 introduces two new features that validate and restore the currently installed recovery and it's deps before reboot / shutdown. If the current recovery doesn't appear to be correct, it will prompt for a recovery restore option that at least guarantees that the phone can boot into recovery. This is NOT:
- a way to make any ROM that you installed boot
- an idiot proof mechanism (e.g. if you are prompted and omit restoring, you are on your own)
Features
ADB root shell
reboot system now
apply update from sdcard
wipe data / factory reset
wipe cache partition
install zip from sdcard
backup and restore
backup (also backs up ext partition and installed apps to sdcard)
restore (also restores ext partition and installed apps to sdcard)
restore from xRecovery (Use this in case you want to restore backups done with xRecovery)
advanced restore
mounts and storage
mount / unmount /cache
mount / unmount /data
mount / unmount /sdcard
mount / unmount /system
mount / unmount /sd-ext
mount / unmount /cache
format /cache
format /data
format /sdcard
format /system
format /sd-ext
mount USB storage
advanced
reboot recovery
wipe Dalvik Cache
wipe Battery Stats
report Error
key Test
partition SD Card
Ext Size (formatting as ext4)
Swap Size (Set this to 0)
Rest Size is for vfat
fix permissions
validate recovery
restore recovery
power off
Usage
When booting your phone and when the 'Sony Ericsson' letters appear, press and release continuously the 'back' button.
Once you are in the CW recovery, use the volume keys to navigate upwards / downwards, the 'home' or camera button key to select, the 'back' key to go back.
Requirements
Working on any ROM .. Unified chargemon (For stock last version supported it's 2.1.1.A.0.6!, if you have newer, downgrade, don't working for stock 1.6)
Busybox from the market
Root
Installation
Install through CWM recovery (sorry no more support for xRecovery)
Credits:
nobodyAtall for porting this amazing software to mini, thumbs up to him PLEASE
All credits on original post
Fast Disclaimer: I'm not responsible if this brick your lovely device
Installing right now
Sent from my U20i using XDA Premium App
Just installed it on my mini pro, works fine. Much appriciated.
Thx to nobodyAtall too
Hey, awesome, I've been waiting for this on our Mini Pro's Thanks to you and nobodyatall! just a question - does this mean, we can use ROM Manager?
Ravencz said:
Hey, awesome, I've been waiting for this on our Mini Pro's Thanks to you and nobodyatall! just a question - does this mean, we can use ROM Manager?
Click to expand...
Click to collapse
I think it still need some changes, but we're close to get CWM recovery 100% functional
Ravencz said:
Hey, awesome, I've been waiting for this on our Mini Pro's Thanks to you and nobodyatall! just a question - does this mean, we can use ROM Manager?
Click to expand...
Click to collapse
This is the goal actually (or some other easy way to install updates), at least for MiniCM
Glad it works for you guys too
the last line when making backup or something others is half cutted by backup is this : Backing up System
the words shows me like this (example from PC) :
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
seams it isnt fixed on right resolution
*edit*
Great Port thx to all for make this happen
With the ClockworkMod it's possible recorevy backup of the xrecovery??
Download now, hehe
DJxSpeedy said:
the last line when making backup or something others is half cutted by backup is this : Backing up System
the words shows me like this (example from PC) :
seams it isnt fixed on right resolution
*edit*
Great Port thx to all for make this happen
Click to expand...
Click to collapse
same error here.
also, "fix permissions" does not work. the phone stops working. only battery off can make it run again
Andreson01 said:
With the ClockworkMod it's possible recorevy backup of the xrecovery??
Download now, hehe
Click to expand...
Click to collapse
Testing as we speak. Please remember you cannot use xrecovery folder anymore. you must move it to new clockworkmod foler
bitmovel said:
same error here.
also, "fix permissions" does not work. the phone stops working. only battery off can make it run again
Testing as we speak. Please remember you cannot use xrecovery folder anymore. you must move it to new clockworkmod foler
Click to expand...
Click to collapse
Please make this reports on X10 mini thread, nAa sure will give us a answer
Just tested:
Yes! It can restore xrecovery backups. Just move them to the new directory
Thank you!!
D4rKn3sSyS said:
Please make this reports on X10 mini thread, nAa sure will give us a answer
Click to expand...
Click to collapse
ive quoted my post here with bitmovel's post to mini thread
thanks
bitmovel said:
thanks
Click to expand...
Click to collapse
no problem
31 download and 4 thanks ... Some of you guys dont really appreciate the dev's work, same with nAa post, i dont care thanks on me, but at least thank to nAa, he's a awesome dev
D4rKn3sSyS said:
31 views and 4 thanks ... You guys dont really appreciate the dev's work, same with nAa post
Click to expand...
Click to collapse
Hey mate i love your work! I'm on mobile i give you a thanks tomorrow! Use the force dev and never say die! You are great! ;-)
Inviato dal mio U20i usando Tapatalk
Just tested it on my mini pro and seems to work just fine. Only the last line in the "loogging" part is sligtly under the screen and therefore cut-off but that's not a big issue as the text is still very readable
Testing report: fix permissions IS working, as normal it take a while, exactly equal that on xRecovery, so test it again people who are having problems, will take about 2 mins, seems to be that clean battery status it's not working.. im doing tests
EDIT: Confirmed working on r2, nicely working, only 1 bug left, sd-ext mount, already reported to nAa
D4rKn3sSyS said:
Testing report: fix permissions IS working, as normal it take a while, exactly equal that on xRecovery, so test it again people who are having problems, will take about 2 mins, seems to be that clean battery status it's not working.. im doing tests
Click to expand...
Click to collapse
thanks.
looks like I didnt wait enough time.
I miss your xrecovery backgrounds... hehe

[Multiboot] [Update 14/6/11] Create, manage and boot your ROM options via CWM!

Introduction
This thread describes an experimental mod that allows you to boot into other boot images stored in your sdcard. It's a good reason for users to upgrade to CWM recovery since it allows for much more extended functionality. It's also another good reason for devs to support CWM recovery.
Our 'petit' X10mini does not have enough internal memory to store more than one android image, thus we have to use the sdcard for this.
WARNING:
This mod is experimental, and for advanced users only. Use it at your own risk
Requirements (READ THEM CAREFULLY):
- CWM recovery pre-installed
- You need a FAST enough sdcard. I'd suggest not using this mod if your sdcard is less than Class 6
- Your sdcard should have enough free space. Each 'boot option' that you create reserves 400MB of space in your sdcard
- In order to create a new boot option, you need a flashable zip of the ROM you wish to boot to, as well as a patch for it's ramdisk.tar (if this is a custom ROM, stock ROMs don't need this). The flashable zip of the ROM is the same that is used for usual ROM installation. The patch should be provided by the ROM's cook.
Instructions for devs only
To create a bootable image, you have two options:
- Make use of CWM recovery (which can create boot images from update.zip) and provide a patch for your ROM that makes sure: app2sd is disabled, ramdisk.tar does not mount mtd* partitions under /system, /data, or /cache. This patch is also flashable via the new multiboot menu of CWM. If you need more info, see the attached MiniCM7-multiboot.zip
OR
- Manually create ext2 system.img, data.img and cache.img for users to push under /sdcard/clockworkmod/multiboot/<name>/
Multiboot mod Installation
- Flash the attached CWM multiboot zip via CWM
Multiboot ROM Installation
The following scenario is provided as a proof of concept in order to install MiniCM7 as a boot from sdcard option
- Reboot into the new recovery and navigate to the new 'multiboot' menu. There you'll see the following options:
Select default boot option
Unset default boot option
Create boot option from zip
Delete existing boot option
Flash zip to boot option
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
- Select multiboot->Create boot option from zip and then pick the MiniCM7 flashable zip (which you can find in the MiniCM7 thread). Be patient, this step reserves the space and flashes the selected zip to the system.img in the sdcard
- Select multiboot->Flash zip to boot option, pick your newly created boot option and then pick the MiniCM7-multiboot.zip. This will flash the patch needed for MiniCM7 in order to make it run from sdcard. You can use this option in order to flash any zip you want to any of the boot options you have already created
- Select multiboot->Select default boot option and pick your newly created boot option
- Reboot (first boot will take some time depending on your sdcard speed).
To verify you have booted to your newly created boot option, check 'adb shell mount', it should say that /system /data and /cache is mounted from /loop* devices and not from mtd*
Uninstall
- Practically, if you flash a ROM image it will revert CWM / chargemon to its original state. There is not problem in keeping this CWM / chargemon version though.
- To revert booting from your phone's memory instead of the sdcard, navigate to multiboot->Unset default boot option
- To remove installed boot options, navigate to multiboot->Delete existing boot option and pick you choice. Alternatively remove the boot option you want from /sdcard/clockworkmod/multiboot/
Disclaimer:
I can't be held responsible if this mod bricks your device / trashes your sdcard or makes it explode in your hands! Use it at your own risk!
​
wao great experiment NAA,
perfect time to install stock 2.1 and miniCM7
Damn, Great job nAa! My sdcard is lower than Class 6 (I am still using the stock 2GB sdcard!!) so I can't try this one. Waiting for other people's opinion about this.
Great work! =)
A class 4 sd is good?
Enviado desde mi X10mini usando Tapatalk
twins.7 said:
wao great experiment NAA,
perfect time to install stock 2.1 and miniCM7
Click to expand...
Click to collapse
IMHO, stock 2.1 should be installed as a 'multiboot option' and MiniCM7 in the internal phone's memory - not the other way round.
I'm hoping some dev could chip in with an update.zip for a stock 2.1 ROM that can be installed as a multiboot option
Damn, where the f**k is the "Thanks" button in tapatalk!?
Another great addition mate! Thank you for giving us, mods that other devices hadn't even dreamed of!
Regards,D_d
Sent from my Desire HD using Tapatalk
nobodyAtall said:
IMHO, stock 2.1 should be installed as a 'multiboot option' and MiniCM7 in the internal phone's memory - not the other way round.
I'm hoping some dev could chip in with an update.zip for a stock 2.1 ROM that can be installed as a multiboot option
Click to expand...
Click to collapse
why?
can I use this step below?
- backup my stock in recovery
- copy the backup file to multiboot folder
twins.7 said:
why?
can I use this step below?
- backup my stock in recovery
- copy the backup file to multiboot folder
Click to expand...
Click to collapse
No you can't do that.
You need to install the boot option from an update.zip.
Already created backups have a different fs type that can't be mounted seperately.
Does it works with miniCM6?
Hello nobodyAtall, can we install CM7 and CM6 in this multiboot? if yes how to do that? ( I have cm7 2.0.2 installed ) Thanks
gatobadio said:
Hello nobodyAtall, can we install CM7 and CM6 in this multiboot? if yes how to do that? ( I have cm7 2.0.2 installed ) Thanks
Click to expand...
Click to collapse
We need to 'edify' MiniCM6 first for that
nobodyAtall said:
We need to 'edify' MiniCM6 first for that
Click to expand...
Click to collapse
10Q !!! We'll be waiting for it
Going to try to boot CM7 on my CM6. Going to post results a bit later.
Thank you nobodyAtAll for another magnificent tool!
edit: Well, no harm for my device but no CM7 either. Tool created IMG's to my sdcard but doesn't boot from there.
Speechless with just a big smile in my face!!!
Thanks nobotyatall for this it's all you mate!!
My regards,
Ribben
just shifted to optimus 2x as my main device but decided to keep my Mini for my daughter and guess what (for nAa's absolute marvels) to keep my tweaking going on.
Great achievement nAa for that. you have made this small device a great value. addition. Thanks to you for that.
parthabhatta said:
just shifted to optimus 2x as my main device but decided to keep my Mini for my daughter and guess what (for nAa's absolute marvels) to keep my tweaking going on.
Great achievement nAa for that. you have made this small device a great value. addition. Thanks to you for that.
Click to expand...
Click to collapse
It's cause of SE having crippled it so badly that it's interesting to work on this stuff
Successfully boot cm7 from cm6 using my class 2 8gb sd card. But how can I boot back to my original cm6?
Send from my x10 mini using XDA premium app
@nobodyAtall
dude awesome work!!!
we need to talk!!!
i need ur help for this:
http://forum.xda-developers.com/showthread.php?t=1114544
does fix_permissions fix ownership/permissions on /system & /data ????
Is this method works with app2sd ( /data mounted on sd ext partition ) ?
And can I use this method to boot CM7 from SE 2.1.1.A.0.6 firmware ?

need help regarding CWM functionality

hi all,
i juz wana know bout the functionality of all the programs in CWM 4.0.0.9.i had it installed but dun know much bout the stuff inside.juz knw bout back up n storage and applying updates from zip..and what is dalvik cache means...
Need info on dalvik cache? www.google.com will help u.
Sent from Galaxy Ace GT-S5830 using Grif's Cyanogenmod & allinone script.
Dont jus say thanks, use d 'THANKS' button. [XDA RULE]
Yes, just google everything. This factual stuff can easily be found through search.
There you go.... not from v4.0.0.9 but its of a old version but will give you and idea or to anyone else .. will not post a link to some other site so just posting the explaination here
Options explained
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
1.reboot system now
This one is self-explanatory.
2.apply update from sdcard
This can be used for installation of any official or unofficial update, ROM, kernel, theme etc. that is in a zip format installable from recovery, as long as the file is named update.zip and it has been placed on the root of your SD card (i.e. not in any sub-folder). Selecting this option (and most of the options featured below) will bring up a rather annoying confirmation prompt but this has saved us on multiple occasions from a lot of trouble we would have been into due to accidental key presses.
3.wipe data/factory reset
This option wipes all user data on the device as well as cache. Doing this will leave your phone in the state it was in when you bought it or when any custom ROM was first installed. It will also wipe any sd-ext partition that you might have setup
4.wipe cache partition
Wipes the cache partition of the device to clear all the data accumulated there over use. This is often used before installing a new ROM, app, kernel or any similar mod via recovery.
5. install zip from sdcard
This option brings up the following sub-menu:
A. apply /sdcard/update.zip
This one is essentially the same as the ‘apply update from sdcard’ option of the main menu.
B. choose zip from sdcard
Lets you install any zip file (with any name) from any location on your SD card. The file can be for a ROM, a kernel, an application, a theme or any mod as long as it is in recovery-flashable zip format. This is the most widely used option for installing a ROM that you have downloaded and copied to your SD card. Entering this option will bring up a screen that will allow you to browse your SD card for the zip file and select it for installation
C.toggle signature verification
Turns the signature verification on and off. When signature verification is on, you will not be able to install any custom ROMs that haven’t been signed by the developers (most custom ROMs aren’t signed). Switching it off skips the signature verification check and proceeds with the installation.
D. toggle script asserts
Seldom-used option for a vast majority of users. It simply turns script asserts on or off. If you don’t know about these (i don’t), it’s best not to change this option.
E. +++++Go Back+++++
Takes you back to the main recovery menu, obviously!
6.backup and restore
Undoubtedly one of the most important features provided by a custom recovery, the backup and restore feature – also known as Nandroid backup – allows you to take a snapshot of your phone’s entire internal memory including all partitions, and save it on the SD card.
A.Backup
Takes a Nandroid backup, as explained above.
B.Restore
Lets you restore a previously taken backup. Entering this option presents you with a list of existing backups from the SD card that you can choose from for restoration.
C.Advanced Restore
This option is similar to the Restore option but once a backup has been selected to be restored, this option allows you to choose what parts of it to restore. You can choose to restore the boot, system, data, cache and sd-ext partitions
7.mounts and storage
Allows you to perform maintenance tasks on all the internal and external partitions of your android device
A. mount/unmount /system, /data, /cache, /sdcard or /sd-ext
These options let you toggle between mounting or unmounting these respective partitions. Most users don’t need to change these options.
B.format boot, system, data, cache, sdcard or sd-ext
These let you directly format any of these partitions. Take extreme care with this option as formatting any of these partitions will result in losing all data on them, especially the boot and system partitions. Formatting the system partition will remove your ROM and leave your phone without an operating system while wiping the boot partition may brick your phone unless you restore or flash another one before rebooting your device. To learn more about the contents of all these partitions, see our guide to Android partitions.
C.mount USB storage
Lets you enable USB mass storage mode for your SD card right from recovery so that you can connect it to your computer via USB and transfer any files to/from it without having to leave recovery.
8.advanced
This section contains a few options most users will not require, though these can come handy quite often, especially wiping Dalvik cache, which is required before most ROM installations. Here are the options from this section:
A.Reboot Recovery
Lets you directly and very conveniently reboot from recovery right back into recovery. This is useful option for certain back-to-back installations that require the device to at least boot once between them.
B.Wipe Dalvik Cache
Allows you to wipe the cache for the Dalvik virtual machine (the custom-built Java virtual machine for Android).This is required before most ROM installations and at other occasions too, for fixing some problems.
C.Wipe Battery Stats
Wipes the saved battery usage statistics and effectively recalibrates the battery. Useful in various scenarios when Android isn’t showing correct battery levels.
D.Report Error
In case of errors, this feature can be used to save a log of recent ClockworkMod recovery operations on the SD card that you can later report from Android using ROM Manager.
E.Key Test
Lets you press any of the hardware keys to see if they are properly functioning, and to see their key codes.
F.Partition SD Card
This option gives you a no-frills way to partition your SD card properly for use with ROMs that support data2ext (a very handy hack for low internal memory devices that enables an /sd-ext partition on the SD card to be used as the internal user data storage i.e. as the /data partition). Once this option is selected, you will be given options to choose the sizes for the /sd-ext partition as well as an optional /swap partition on the SD card, and will then automatically format it for you, leaving the remaining space for normal SD card usage. This option will wipe all data from your SD card so use it with caution!
G.Fix Permissions
Fixes the file permissions for the internal memory partitions back to default. This is very useful as a fix for several errors and Force-Closes that start appearing after you or an application you installed and provided root access end up messing up the permissions of important files.
Hope it helps :d
@devilcode , permission to add into the newbie guide please
Sent from my GT-S5830 using XDA App
EmoBoiix3 said:
@devilcode , permission to add into the newbie guide please
Sent from my GT-S5830 using XDA App
Click to expand...
Click to collapse
Yea sure bro if you want i can insert screenshots also...before every point
EmoBoiix3 said:
@devilcode , permission to add into the newbie guide please
Sent from my GT-S5830 using XDA App
Click to expand...
Click to collapse
Just quoted one of the sentence there to google and it shows that THIS is the actual source. Dont know if the poster is the author though.
QNBT said:
Just quoted one of the sentence there to google and it shows that THIS is the actual source. Dont know if the poster is the author though.
Click to expand...
Click to collapse
yea i mentioned ill not post an outside link in the begging so just pasted it here i dont have permission to post links yet
devilcode said:
yea i mentioned ill not post an outside link in the begging so just pasted it here i dont have permission to post links yet
Click to expand...
Click to collapse
ah, sorry. My bad.
devilcode said:
Yea sure bro if you want i can insert screenshots also...before every point
Click to expand...
Click to collapse
Do it .
I'd be grateful
devilcode- ur explanation is much appreciated..thank you...
all your guidance are very useful..especially devilcode..thanks man...now i can know the functions well....
EmoBoiix3 said:
Do it .
I'd be grateful
Click to expand...
Click to collapse
Their Edited My post With screen shots ...You can post in Newbie Guide now
ravin_jr said:
all your guidance are very useful..especially devilcode..thanks man...now i can know the functions well....
Click to expand...
Click to collapse
Ur welcome Glad to help ... N Click Thanks if you are really thankfull

[TOOL] XDA ROM Hub v0.9.9 - August 22

XDA ROM Hub​
Features:​
Download and install stock firmwares - Not all firmwares are online.
Flash kernels.
Flash system image
Erase system.
Erase boot.
Erase Data and Cache.
Install update.zip (Not ROM zip).
Install ROM addons.
Install Boot animations.
Unlock bootloader.
Relock bootloader.
Driver installer.
Make a Nandroid backup when the device is on.
Backup and restore system, data and cache partitions.
Boot a kernel without flashing it.
Install APKs.
Reboot button, reboot to fastboot and reboot to safe mod/recovery.
Mobile app -- Use XDA ROM Hub without a PC!
Screenshots:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
XDA ROM Hub Mobile​
Features​
Perform a Nandroid backup when the system is on.
Backup user apps to the SD Card.
Backup user apps + data with ability to restore from CWM.
Screenshot:
Install using XDA ROM Hub
GOOD NEWS!
I'm moving to Amsterdam in a week and I will have a better internet connection, so I think that ALL of the firmwares will be online in two weeks!
Please note that firmwares for i (International) are different from firmwares for a (America)
USE AT YOUR OWN RISK!
CREDITS:
gandhar for uploading the firmwares.
Someguyfromhell for ALL FIRMWARES.
Androxyde for Flashtool.
DooMLorD for rooting and Unrooting.
NaA for CWM.
iONEx for ROM indexing, bug reporting, ideas and kernel indexing.
ameer1234567890 for onandroid script.
Download and change log - Moved to Source Forge
Please press the Thanks:good: button if you like my work.​
--FAQ--​
Q. XRH Nandroid Backup doesn't work!
A. You need root, cwm and usb debugging enabled! Also make sure your sdcard is UNmounted
Q. How do i restore a backup?
A. Enter CWM and restore it
Beta v0.35 on testing...
I'll include this tool in my guide
Great work, very useful
Sent from my Xperia Mini
Nice!
A bug?:
When I go to do "something else", click on whatever e.g. ICS keyboard, but then I click cancel and I get "This addon could not be found, please contact the developer"
Why do I get the message "No device is set" when I click on install the stock ROM? How do I set it?
Is this still work in progress or?
Regarding bootloader unlocking, maybe you could work together with quangnhut123 and his program?
It would be nice to have everything automated...
otherwise, keep up the good work! You still have some way to go, but you're getting there
iONEx said:
A bug?:
When I go to do "something else", click on whatever e.g. ICS keyboard, but then I click cancel and I get "This addon could not be found, please contact the developer"
Why do I get the message "No device is set" when I click on install the stock ROM? How do I set it?
Is this still work in progress or?
Regarding bootloader unlocking, maybe you could work together with quangnhut123 and his program?
It would be nice to have everything automated...
otherwise, keep up the good work! You still have some way to go, but you're getting there
Click to expand...
Click to collapse
1. ignore it for now
2. Maybe if your using a custom rom the build.prop is different then stock, i'll improve it (A good build.prop will contain "ro.product.device=WT19a" for example)
3. i already pm'd him, no respond
tnx
Beta v0.35 released!
Please rate and review
Bugs fixed:
When I go to do "something else", click on whatever e.g. ICS keyboard, but then I click cancel and I get "This addon could not be found, please contact the developer"
Why do I get the message "No device is set" when I click on install the stock ROM? How do I set it?
Is this still work in progress or?
download link is not available :-
mclaudio said:
download link is not available :-
Click to expand...
Click to collapse
Look at my signature, codeplex link
Sent from my Xperia Live using xda premium
You're fast. Good work
Now when I click do something else, then cancel it will still download whatever it was I cancelled. No error msg though
And there's a GUI bug if you look at the pic?
A small typo in tweaks: "erase data and cach" hehe
Suggestions:
You might wanna consider writing a quick guide on what every option does?
Or you can make some info appear on mouse hover.
erase boot?
And maybe you could add bootloader RE-lock...
iONEx said:
You're fast. Good work
Now when I click do something else, then cancel it will still download whatever it was I cancelled. No error msg though
And there's a GUI bug if you look at the pic?
A small typo in tweaks: "erase data and cach" hehe
Suggestions:
You might wanna consider writing a quick guide on what every option does?
Or you can make some info appear on mouse hover.
erase boot?
And maybe you could add bootloader RE-lock...
Click to expand...
Click to collapse
Last letter deleted
Erase boot means format the boot partition
GUI is not a bug, its how I made it
Sure, I'll make a guide tomorrow, I need to get up early for my witch teacher
Sent from my Xperia Live using xda premium
What is This
Orochixxx said:
What is This
Click to expand...
Click to collapse
I donno: p
BUT DON'T WORRY!!
I won't put viruses, I promise
I think its because of the adb and fastboot commands...
Sent from my Xperia Live using xda premium
yeah, I figured "erase boot" would actually erase it
Just wondering why would one do that?
Isn't re-flashing enough?
iONEx said:
yeah, I figured "erase boot" would actually erase it
Just wondering why would one do that?
Isn't re-flashing enough?
Click to expand...
Click to collapse
My dad once said to me that if you format a drive 7 times all the data will be erased...
So if one messed up...
Sent from my Xperia Live using xda premium
v0.36 released.
change log :
Fixed typo's
Added simple guide.
wait... does anyone use this program, should i keep developing it?
Sent from my WT19i using xda premium
Please hit the thanks button if I helped
I included this in my guide. And keeping it regardless.So I guess ppl will be using it. I don't know why it isn't recognized on XDA though...
Sent from my Xperia Mini
iONEx said:
I included this in my guide. And keeping it regardless.So I guess ppl will be using it. I don't know why it isn't recognized on XDA though...
Sent from my Xperia Mini
Click to expand...
Click to collapse
vote for this to be on the portal. that will definitely increase the no. of users

Categories

Resources