[ODEX] on Any ROM | Now support AOSP ICS - XPERIA X8 Android Development

I have made 2 method to do create odex on any ROM.
1. Using ADB script (need PC/Laptop)
2. Flash zip using CWM Recovery
I have tested this on
- Stock ROM with JiT enabled
- FroyoBread v23b
- GingerDX v13
Benefit of odex :
- Slightly faster boot
- APP startup faster
- Save space on /data/dalvik-cache
This script will only create odex from /system/framework and /system/app
in odex process it will take some space on /system make sure you have minimal 30MB free space on /system
WARNING : MAKE NANDROID BACKUP BEFORE PROCEED
Step by step using ADB script
a. Reboot into recovery
b. mount /system and /data from Recovery menu
c. tick usb debug and plugin usb cable (make sure you have installed ADB driver)
d. double click odex.cmd
CWM Recovery : flash odex-edify-x8.zip
download link :
odex-ADB
odex-edify-x8
Notice :
There is noway to make update.zip for xRecovery,because xRecovery using amend script,and amend script does not support run program in update script.
UPDATE odex for AOSP ICS is here
WARNING : THIS ZIP ONLY FOR AOSP ICS BOOTCLASSPATH AND IT WILL REMOVE ALL LIB FROM SYSTEM APP AND SAVE IT TO /SYSTEM/LIB
This zip tested on my ST17i and should be compatible with any CM9 build that use AOSP BOOTCLASSPATH
Download :
odex-lib2sys-ICS-cwm.zip
Tested with FXP CM9 122
FXP CM9 will create dalvik-cache for system framework and system app on /cache/dalvik-cache
check this out :
Code:
~ # df -h
df -h
Filesystem Size Used Available Use% Mounted on
tmpfs 173.8M 60.0K 173.8M 0% /dev
tmpfs 173.8M 0 173.8M 0% /mnt/asec
tmpfs 173.8M 0 173.8M 0% /mnt/obb
/dev/block/mtdblock0 400.0M 196.4M 203.6M 49% /system
/dev/block/mtdblock3 420.0M 9.9M 410.1M 2% /data
/dev/block/mtdblock2 101.5M 2.3M 99.2M 2% /cache
/dev/block/vold/179:1
13.8G 11.3G 2.5G 82% /mnt/sdcard
/dev/block/vold/179:1
13.8G 11.3G 2.5G 82% /mnt/secure/asec
~ #

Nice. Thanks..keep it up bro...
Sent from my X8 using XDA Premium App

Once more this guy bringing useful stuff to the community
One question, will the ROM ODEXed, increase the use of nand Flash memory?

biscoitu said:
Once more this guy bringing useful stuff to the community
One question, will the ROM ODEXed, increase the use of nand Flash memory?
Click to expand...
Click to collapse
Thank you biscoitu,i just want to share with every one here.
it will increase usage on /system partition but slightly reduce usage on /data partition.look at this comparasion :
Code:
before odex
/system: 210944K total, 154236K used, 56708K available (block size 4096)
/data: 216832K total, 64100K used, 152732K available (block size 4096)
odex system framework
/system: 210944K total, 163544K used, 47400K available (block size 4096)
/data: 216832K total, 48088K used, 168744K available (block size 4096)
/system : + 9308K
/data : -16012K
dif : - 6704K
odex system app
/system: 210944K total, 171360K used, 39584K available (block size 4096)
/data: 216832K total, 34764K used, 182068K available (block size 4096)
/system : + 7816K
/data : -13324K
dif : - 5508K
dif total
/system : +17124K
/data : -29336K
dif : -12212K

Whats an odex? It really improves that stuff?
Goodbye!

after odex, we can use theme chooser to change our them????
we can do any work as before on our ROM or it prepares a limitations???

molimo said:
after odex, we can use theme chooser to change our them????
we can do any work as before on our ROM or it prepares a limitations???
Click to expand...
Click to collapse
Yes you can, GingerCruzt is ODEXED and everything works normally, as a DEODEXED rom

really shorten my boot time,from about 40 seconds to 26-34

Im gonna try the CWM method. I'll let you know if it bricks my phone or not =P
EDIT: Ok it worked on GingerDX 0.13. It appeared to hang for about 5-10 mins but it did work. I haven't seen any improvement in actual boot time. But once im past the boot loader things seem a fair bit more responsive quicker than usual after a boot

mastermikeywwt said:
Im gonna try the CWM method. I'll let you know if it bricks my phone or not =P
EDIT: Ok it worked on GingerDX 0.13. It appeared to hang for about 5-10 mins but it did work. I haven't seen any improvement in actual boot time. But once im past the boot loader things seem a fair bit more responsive quicker than usual after a boot
Click to expand...
Click to collapse
how about the performance...
have a different or not??
(sorry for my english, i am indonesian)

Odex speeds up only first few boots in comparison to de-odexed apks. Android generates automatically the equivalent of odex after approx 2 boots after it has profiled apks, Google for odex vs deodex
Sent from my X10mini using XDA App

DAXGr said:
Odex speeds up only first few boots in comparison to de-odexed apks. Android generates automatically the equivalent of odex after approx 2 boots after it has profiled apks, Google for odex vs deodex
Sent from my X10mini using XDA App
Click to expand...
Click to collapse
Can you give me the link that you're mentioning?

Sure, here http://www.addictivetips.com/mobile/what-is-odex-and-deodex-in-android-complete-guide/
Sent from my X10mini using XDA App

great
thank you for a great job, again.
I tried the cwm version, on my 2.1.1. C.0.0.
benefits:
- slightly faster reboot
- more free ram : about 30 Mb - I have lots of apps installed, so my max value is not really relevant, but I have 95 Mb free now. (previously max. 60).
- gaming seems faster. games like ninja panda now can be played with no lag.
- linpack and quadrant not changed
Thank you,
Cheers,

elderduke said:
thank you for a great job, again.
I tried the cwm version, on my 2.1.1. C.0.0.
benefits:
- slightly faster reboot
- more free ram : about 30 Mb - I have lots of apps installed, so my max value is not really relevant, but I have 95 Mb free now. (previously max. 60).
- gaming seems faster. games like ninja panda now can be played with no lag.
- linpack and quadrant not changed
Thank you,
Cheers,
Click to expand...
Click to collapse
But the op says it odex only /system not /data, so user apps don't benefit.
Sent from my X10mini using XDA App

using GC 7.4 n free more ram twice. nom i have 60mb after using almost all apps. thank you bro

Tested on X10 Official GB ROM

Pls tell me how to remove odex, I have installed it with cwm...
Sent from my X8 using XDA App

Why do you want to remove it?
Sent from my X8 using XDA Premium App

Cause for me, it hasn't improved anything, it actually made my phone work slower and now I have these tiny lags...
Can anyone tell me how to remove it...?
Sent from my X8 using XDA App

Related

[PRJ] [DATA2SD] Flashable zips for converting any Rom to Data2SD, For N1

Updated April 7th, 2011
All credit to sibere and droidzone and other devs who've developed the Data2SD codes.
Before you do anything with your phone, Pls nanodroid fisrt!!! And flash your phone at YOUR OWN RISK
It's been a while since this post last updated.
In fact, developers of HTC Desire have already create a stable method to implement Data2sd or whatever you call it, which gives you full use of EXT space to install APPs while improving I/O speed at the same time.
The theory is explained here, in case you want to take a further look at it
[DEV][DATA2SD] More space (and more I/O) for your Desire (Updated/EXT4/Flashable ZIP)
And thanks to sibere and droidzone 's great work, now we could make any ROM we like run with Data2sd. here they provide us Flashable ZIP files to make it done
[DATA2SD] Flashable zips for converting any Rom to Data2SD
Updated Instructions and Zips (14/Mar/2011)
I've streamlined the installation procedure so as to make it more generic and compatible with the newer StarBurst zips.
Basic Installation Steps for Data2SD
1. Install your ROM
2. Install the A2SD Killer (specific for your ROM)
3. Next step differs depending on whether you're reflashing your Rom on an existing install, or whether you are installing for the first time.
If you're installing the ROM for the first time:
· Reboot once after running the A2SD Killer
· Setup the timezone, language etc (But not your Google Account/Market)
·Reboot to recovery once again and install the Data2SD Installer
If you're reflashing the ROM (after having installed Data2SD once previously)
·Do not reboot after running the A2SD Killer
·Install the Data2SD Re-Installer right away
·Now reboot.
Click to expand...
Click to collapse
Download Link:
http://hotfile.com/dl/110226722/85a18a8/Data2SDv11.zip.html
http://www.easy-share.com/1914241904/Data2SDv11.zip
Important Notes from droidzone
Fully supports Cyanogen
Fully supports Clockworkmod3.0+ (Edified)
I wanted to consolidate all the flashable zips for Data2SD into one place, so that I will find it easy to update the links as I modify the scripts, and to also help Sibere to point his link to this post from OP, so that he doesnt need to reupload each file as they are modified.
Once again, I must assert that Data2SD is totally Sibere's work with other devs who've developed Data2SD code of their own. In my opinion, however, this is the best!
My contribution is conversion of his excellent code into flashable scripts which may be installed via Recovery. So you dont have to type out the code.
The flashable zip is packed as a package of zip files. Each zip file within the package is seperate flashable zip
There are the following files:
Killer, Installer and Reinstaller files for Sense Roms
A2SDKillerV11_Sense.zip
Data2SDInstallerv1.3_Sense.zip
Data2SDReInstallerv1.3_Sense.zip
Installer and Reinstaller files for AOSP Gingerbread Roms and CM7 nightlies (excluding Cyanogen 6 and MIUI 2.2 , but including Cyanogen 7 nightlies and MIUI 2.3.3 )
A2SDKillerV11_GB.zip
Data2SDInstallerv1.3_GB.zip
Data2SDReInstaller1.3_GB.zip
Installer and Reinstaller files for Cyanogen 6 and MIUI 2.2 (Not for CM7 nightlies or MIUI 2.3.3), which are Older Version
A2SDKillerV9.zip
Data2SDInstaller_cyanogen.zip
data2sd-Reinstall_cyanogen.zip
Whether you are trying this method for Sense or AOSP Roms, the installation procedure is same. Only the file is different.
Click to expand...
Click to collapse
Following droidzone's instruction, I tried these flashable ZIPs with MIUI 1.4.1(Gingerbread 2.3.3)
A2SDKillerV11_GB.zip
Data2SDInstallerv1.3_GB.zip
And it's working just fine. No random reboots, no data or APP lost or system crash after reboot. It's stable and fast!
One more note, you can ignore the previous information below...
————————————————————————————————————————————————————————————————————
updata from
melethron's post, and his update package data2whatever.zip included.
you can buy melethron a beer if you want. All credits to melethron!
I test the script with new install MIUI N1 12.24,
so far no reboot issues, or data corruption.
[DATA2whatever] Flashable All-in-one-Solution for Data2sd (HUGE update (dec 23th))
data2whatever v0.2
Features:
- Supports: Ext2, Ext3, Ext4 (and if kernel supports it: ) btrfs, ReiserFS
- Supports loop device as optional addon (as siberes data2sd)
- Flashable zip for many app2sd ROMs (no long setup required)
- It does a e2fsck (disk check) on every boot and creates a logfile on the sdcard (/sdcard/e2fscklog.txt)
- looks nice if you do a logcat on boot
- no "settings lost on reboot" bug like in my old or siberes script
- changes the scheduler for the sd-card and internal to noop for better performance on sd.
- Nandroid Backup of EXT2/3/4 external with AmonRa 2.0.0.1 or any clockwork recovery.
- Removes the common app2sd scripts on its own
Requirements
- A second partition (same as app2sd - Min 512 mb - 1024mb is highly recommended - max 2048 MB or there will be issues with market) in any format (as long as the kernel supports - ext2/3/4 support is default in most kernels - Ext4 or ReiserFS is recommended).
- An app2sd or non app2sd ROM (data2sd versions wont work) (this SHOULD work with most or at least many ROMs . Roms that are confirmed to work can be found in the post below. Please report to me it it works or not so i can update this thread. If it doesn't work i try to make it compatible asap. )
Installation
1.) Full wipe (at least needed on first installation)
2.) Flash the app2sd Version of the ROM of your choice
3.) DONT REBOOT
4.) If you rebooted then start over at 1.)
5.) flash the attached "data2whatever.zip"
6.) now reboot
ADDITIONAL INFO: Even without "life on the edge" you should watch the first 4 "don't"s of "life on the edge". The normal script use the same disk safety methods as NTFS on Windows or EXT4 on linux. But as you know you shouldnt just switch off the computer because there can still be issues in very rare cases. Reboots with tools like "snqs power menu" is the same as a batterypull (or pulling the ac plug on PC) and this isn't good in general (and this also applies for using it with app2sd). If you want to go to recovery just make a normal shutdown and switch the phone on with "volume down" button pressed.
Optional life-on-the-edge add on
you can find this add on in melethron's original post, and try it on your own risk
This patch has the same effect as sibere's and ownhere's script (loop device - the way ownhere does in v4 doesnt work though). Other than those scripts it this addon doesnt need any repartitioning or other setup (like FAT or a third partition) and can simply be installed or removed with a flashable zip. All you need for this is a normal ext 2/3/4 partition (as above ^^). Ext4 is recommended for this (as above) since it is the fastest of those 3. This patch is more risky than normal ext3/4 considering the possibility of data loss. If you want to use this add-on you should watch the following (this also applys to ownheres and sibere script and is NOT more risky than their scripts):
- DON'T use the reboot of snq's powermenu (or any other reboot app)
- DON'T use anything in the "ROM Manager" that makes it reboot.
- DON'T do adb reboot / abd reboot recovery / adb reboot bootloader
- DON'T pull the battery while the phone is on (this should be obvious)
- DON'T remove the "sync" mount options for the Quadrant "boost" (this is a fake boost anyway)
All of this is like a powerloss for the sd-card and has a high change of data corruption.
From my test with this i give you an estimate what can happen if a powerloss occurs or any of the 5 points above happen:
- 50% general chance of corruption that will be autofixed on boot (not a problem)
- 10% chance of forcecloses after reboot of some apps (this can be fixed by deleting the app data or restoring it with titanium (or other) backup)
- REALLY tiny chance (didnt happen for me in over 40 "simulated" powerlosses) that partition gets corrupted (needs complete repartitioning of the microSD so all data on it will be gone then)
As long as you watch the 5 points above and as long as you don't drop the phone and the battery jumps out this will be safe.
Installation of the addon:
- Flash the "life-on-the-edge.zip" any time after you installed "data2whatever".
Installation of the addon:
- Flash the "life-on-the-edge-UNPATCH.zip" any time after you installed "data2whatever" and the addon. (this will revert back to the normal script)
Personal remark: While this is a improvement over normal ext4 it is not the "holy-grale" of a data2sd lag fix. I'm not using this myself and use a ReiserFS as second partition instead which is more safe and completly feels the same as a "loop" device considering performance.
--------------------------------------------------------------------------------
__________________________________________________________________________________
Dec14 info update:
I uploaded A mod script for CM6.1 stable by Carrol
Carrol changes the script to create a ext4 loop device on EXT4 partition.
Code:
$BUSYBOX mkdir /mnt/asec/extdata
if [ ! -e /data/data2sd.ext.finish ];
then
echo "+++Need create ext4 loopback device for data, please wait... this is 1/5 size of your ext partition"
extsize=`$BUSYBOX df /dev/block/mmcblk0p2|$BUSYBOX grep mmcblk0p2|$BUSYBOX awk '{print $2}'`
datasize=`$BUSYBOX expr $extsize / 5 / 1024`
$BUSYBOX dd if=/dev/zero of=/data/ext4 bs=1048576 count=$datasize
/system/xbin/mkfs.ext4 -b 4096 -m 0 -F -L userdata /data/ext4
/system/bin/tune2fs -o journal_data_writeback /data/ext4
/system/bin/e2fsck /data/ext4
#/system/bin/tune2fs -O ^has_journal /data/ext4
#$BUSYBOX mount -o loop,errors=continue,noatime,nodiratime,nosuid,nodev /data/ext4 /mnt/asec/extdata
$BUSYBOX mount -o loop,barrier=0,nobh,nouser_xattr,errors=continue,noatime,nodiratime,nosuid,nodev /data/ext4 /mnt/asec/extdata
$BUSYBOX chown 1000.1000 /mnt/asec/extdata
$BUSYBOX chmod 771 /mnt/asec/extdata
$BUSYBOX cp -a /data/data /mnt/asec/extdata/
sleep 1
$BUSYBOX umount /mnt/asec/extdata
sleep 1
$BUSYBOX touch /data/data2sd.ext.finish
fi
/system/bin/e2fsck -y -v -f /data/ext4
#$BUSYBOX mount -o loop,sync,errors=continue,noatime,nodiratime,nosuid,nodev /data/ext4 /mnt/asec/extdata
#$BUSYBOX mount -o loop,errors=continue,noatime,nodiratime,nosuid,nodev /data/ext4 /mnt/asec/extdata
$BUSYBOX mount -o loop,barrier=0,nobh,nouser_xattr,errors=continue,noatime,nodiratime,nosuid,nodev /data/ext4 /mnt/asec/extdata
$BUSYBOX chown 1000.1000 /mnt/asec/extdata
$BUSYBOX chmod 771 /mnt/asec/extdata
Note that this script is for CM6.1 stable only, only ONE EXT partition needed on your SDCard, and it will be formated into EXT4, do nanodroid before you try
Also a CM6.1 ROM with Data2Ext by Carrol can be found here
CM6.1 ROM with Data2Ext by Carrol
download: http://rom.anshouji.com/htc/N1/bbs.anshouji.com-N1-data2sd-20101213.zip
________________________________________________________
ownhere Data2Ext script V4
Data2ExtV4
2010/12/12 update V4 script:
/data/:ext4, disable journaling
/data/data:ext4 loopfile on ext4 device, enable journaling on ext4 device, disable journaling on ext4 loopfile, for fast and stable sqlite3 access.
really smooth this time
Click to expand...
Click to collapse
There's a version for Desire, which is here [DATA2EXT] [11/Dec] FULL BENCHMARK, V4, Improve the efficiency of IO
While improving IO efficiency, it moves all userdata to EXT so to avoid insufficient ROM space, cos the whole EXT is recognized as the internal ROM.
with ownhere's v4 script, I got my miui rom working, no data lost or crash after reboot/battery-removed:
1. miui rom 12.03 clean installation(a2sd+ script removed), then flash update.zip of v4 script. working. applying 12.03 to 12.10 and 12.10 to 12.11 ota packages, working.
2. miui rom 12.11 clean installation, flash v4 update.zip, working.
3. miui rom 12.11 with a2sd+ running, 38 apps installed and /data/data moved to ext. The v4 update.zip can still do the job.
However, one problem is that Root explorer couldnot display Chinese filenames of APK , showing only ???. and if install those apks via root explorer, it just reports errors...
Another thing i am not sure of is not knowing how much v4 script could improve when there is only 1 ext partition. According to ownhere, 2 ext partitions are needed to make the best out of his v4 script...
I attached the v4 updtae.zip - Data2ext_update.zip ,in case you might wanna try:
1. BEFORE you try this package, you need to remove the app2ext script(file like 04apps2sd or 01 apps2sd) from /system/etc/init.d, or you would only get bootloop going on and on
2. And of course, Nanodroid...
3. disable signature checking in recovery...
______________________________________________________________________________________________
I tried merging those files into MIUI N1 ROM.
When N1 boots for the 1st time, everything's working just fine.
Now we know the previous script is faking the Quadrant score...
Quadrant bechmark really rocks with I/O scoring 8000+ and a total score @ 3000+
But after reboot, there came some issues:
System config could not be saved;
Home button wouldn't work;
Flight mode and Quiet mode missing in the reboot menu...
Could someone pls help to rewrite the script to fit in N1 ROM?
I think people using N1 would interested in such a script or rom that brings N1 more I/O performance and more space for Apps.
But I have no knowledge of coding, don't know how to fix the issues above.
So I add download link of the script CREATED by ownhere, not by me, hoping someone could make a N1 MOD...
data2ext.zip
data2ext.zip is not a flashable package
Thanks!
mattrb said:
This goes in Q and A.
Also the answer is darktremor. A simple search of the the Nexus One Android Development gets that answer.
Click to expand...
Click to collapse
Sorry, but I don't think Darktremor Apps2SD script could do the job.
Since there is difference between Apps2SD and Data2Ext:
Apps2SD moves
/data/app, /data/app-private and /data/dalvik-cache to EXT
And with some commands /data/data could also be moved to EXT
But Data2Ext moves
/data/app to EXT4
/data/data to a virtual EXT2 device on EXT4, which is the trick to improve IO efficiency working at peak level...
SO I don't know if there is a answer fort this in Q&A...
this comes up after searching
G1 data2sd instruction works for the N1 i suppose ?
http://forum.xda-developers.com/showthread.php?t=527636&highlight=app2sd
**There is NO booting into recovery and wiping of the phone!**
My bad for not being clear on the wipe instructions!
1) (optional) If you are to wipe it (your choice it is not required), then press menu->settings->SD card & phone storage->scroll to bottom of screen and select "Factory data reset". This will wipe the /data partition only removing all apps and settings. BACKUP YOUR /data dir to sd, First or you will need to down load all your apps again to include paid apps!!
2) place data2sd.img in root of SDcard (fat32)
3) terminal in or adb shell in.
4) cp /sdcard/data2sd.sh to /data/local/bin - to copy the script to your user-space
5) chmod 0750 /data/local/bin/data2sd.sh - to make it executable
6) /data/local/bin/data2sd.sh or data2sd.sh may work to run the script
7) once the install is done it should tell you to reboot. If you had the ddms debugger running, you can observer the log as it is working.
8) done. It may boot a little longer if you clean-slate installed and then restored your apps by copying them back into /data/app and /data/app-private which has the affect of reinstalling everything, and thus the boot will take a while if you have alot of apps like I do. Again you can observe this as the Android boots if you have the debugger running.
Click to expand...
Click to collapse
I'm also confused, how does darktremor move all of that to ext? Please explain. I thought darktremor moves apps to ext. If you fail, then you sir are an idiot and gtfo.
A "simple" reread (If that's even enough, maybe 100x more for you) would've told you want he wanted.
Sorry for invading your post jayfallen!!
I for one, am glad you posted this and would like to try it once you get it going.
Try this: http://forum.xda-developers.com/showthread.php?t=853001
I recommend only moving the data of non-essential apps and those apps which DO NOT contain security sensitive data (games, Google Earth, etc. should be fine).
I edited the thread title, and added download link of the script created by ownhere.
someone might wanna take a look, if you're interested in bring your N1 more I/O performance and more space for Apps.
Thanks for everyone replying this thread. I will try your suggestions.
eVil's hd rom~
it's not work on the evil's hd sense?i try that last night~ but it's very hard!!!
i m abt to try this
http://www.miui.com/thread-10723-1-1.html?extra=page=1
wish me luck
the thread @ miui.com was posted by me earlier...
that rom is just experimental, if you don't reboot, everything works fine.
once rebooted, config lost and homebutton lost...
I don't know how to fix, that's why I start this thread @ xda, hoping someone could make it work for N1...
Wow this I want
Not sure if this can help..
Found a post on HiAPK (a Chinese Android discussion forum)
here's the link to the post:
http://www.hiapk.com/bbs/viewthread.php?tid=717815&extra=page=1&filter=type&typeid=211
And here's the link to the ROM:
http://rom.anshouji.com/htc/N1/bbs.anshouji.com-N1-data2sd-20101208.zip
The rom is said to be based on Cyanogen Mod 6.1 Stable, with data2EXT enabled by default.
The attached screenshot comes from a user of the data2Ext rom, note that the internal storage has 0.9GB left.
luciefer said:
it's not work on the evil's hd sense?i try that last night~ but it's very hard!!!
Click to expand...
Click to collapse
That because the current script will only move system/app to ext. There is nothing else in there to tell it to move any other folder, thus failing.
there's been new development...
as houzuoguo mentioned, a CM6.1stable+data2ext mod ROM is out, but there're still some issues
ownhere update his script to V3
http://forum.xda-developers.com/showthread.php?t=859419
1.change loopback device to real partition for powersave and better write performance.
2.disable second partition's journaling.
3.You need 3rd partition for /data/data. But even without the third partition of this script can also work(not stable). My partition settings:second partition:1.5G, thrid partition:0.5G
meanwhile, another new approach is coming out:
http://forum.xda-developers.com/showthread.php?t=868102
NILFS2 - data2nilf2 will be much faster then data2ext and won't have Lags.
whoa
i m glad there are so many new development out everyday
feel so good knowing the n1 is not being left behind
speaking of this is pretty freaking awesome
houzuoguo said:
Not sure if this can help..
Found a post on HiAPK (a Chinese Android discussion forum)
here's the link to the post:
http://www.hiapk.com/bbs/viewthread.php?tid=717815&extra=page=1&filter=type&typeid=211
And here's the link to the ROM:
http://rom.anshouji.com/htc/N1/bbs.anshouji.com-N1-data2sd-20101208.zip
The rom is said to be based on Cyanogen Mod 6.1 Stable, with data2EXT enabled by default.
The attached screenshot comes from a user of the data2Ext rom, note that the internal storage has 0.9GB left.
Click to expand...
Click to collapse
...
That is a huge improvement in IO!
Lets hope this reaches a stable state soon
I wonder why quadrant weighs so much on disk IO for the total score.
Would this be possible on other devices? lets say the g2?
Would someone mind explaining what tangible improvements this makes? Obviously there is an impressive boost in Quadrant scores, but I'm unsure what difference it makes to the actual operation of the device.
bcpk said:
Would someone mind explaining what tangible improvements this makes? Obviously there is an impressive boost in Quadrant scores, but I'm unsure what difference it makes to the actual operation of the device.
Click to expand...
Click to collapse
App2sd u get 512mb for ext3.
Data2ext u get at least 2gb for apps and stuff
Lol. Are u serious. For io scores it cheats. See the script. Fake ext2 for quadrant
truth to be told,they say TTL 2000+ and IO 3000 is the actual scroe...

[HowTo] Archos gen8 firmware 2.3.81-2.4.83+rw iptables and 1GB ext4 data

I just wanted my Archos Gen8 to have the latest stock firmware, root access, iptables support (for Droidwall) and a 1GB ext4 data partition. I will show you how to create this setup yourself. This howto describes all steps for a Linux PC with a working adb connection to the Archos Gen8. I am sure all steps can be done from a Windows PC too, but I cannot help you there: I only speak linux. [edit: Harfainx has written a thread on http://forum.archosfans.com/viewtopic.php?f=76&t=54637 that explains how to do these steps on windows; if you to do this from windows and have iptables and ext4, use my attached kernel and ext4 modifications instead of Harfainx' suggested chulri kernel]
[Archos] = do on tablet
[Linux] = do on PC
[Shell] = do in a terminal on PC
[ADB] = do in a adb shell from PC
[GParted] = do in gparted in PC
[Editor] = do in your favorite text editor on PC
All credits for this procedure go to other people (see end of this post); my only contribution is this write up, and the compilation of the new kernel.
1. Use chulri's root method to obtain root+rw with the latest Archos firmware on your Archos Gen8 (download the proper firmware version, and take care to rename the downloaded firmware file to firmware_archos_android_gen8.aos).
2. Install the matching version of my kernel + initramfs (see links below)
reboot Archos device and hold down "Vol-" button after screen went black
Go to "Recovery Menu" and then "Developer Edition Menu"
choose "Flash Kernel and Initramfs"
connect your Archos device by USB to your computer
upload zImage and initramfs.cpio.gz to your device
safely disconnect the USB connection
press ok on Archos device
reboot
3. Repartition your internal SD card
reboot Archos device and hold down "Vol-" button after screen went black
Go to "Recovery Menu" and then "Repair system” ->"Start USB MSC"
Connect tablet to your linux pc
Resize interal SD card and add an ext4 partition:
[Shell] sudo gparted
[GParted] find Archos device. For me it is found on /dev/sdc
[GParted] select the Archos partition and resize to have 1024MiB at the end left
[GParted] create a new primary partion using all the space you just created, filesystem ext4 and align to MiB
[GParted] apply all selected actions, let it finish and quit gparted.
unplug and reconnect your device so Linux finds it again.
Format the ext4 partition with some nice settings (if your device was on /dev/sdb replace /dev/sdc2 with /dev/sdb2 below):
[Shell] sudo mkfs.ext4 -b 4096 -E stride=64,stripe-width=64 -O extent,^huge_file -m 0 -L data /dev/sdc2
[Shell] sudo tune2fs -c -1 -i 0 -m 1 -O ^huge_file -o journal_data_writeback /dev/sdc2
[Shell] sudo e2fsck /dev/sdc2
press ok on Archos device
reboot
4. Make your new ext4 partition your /data partition
Boot up your Archos and proceed through the startup wizard; do not put too much effort in this because all information you enter now will be lost after this step.
Open options->applications and enable debugging support.
Connect the Archos to your linux PC
[Shell] adb shell
[ADB] su; stop; cp /init.rc /sdcard/
[Shell] adb pull /sdcard/init.rc
Modify init.rc:
[Editor] Open the just downloaded init.rc
[Editor] Replace the "mount ext3 /dev/block/mmcblk0p4 /data noatime nosuid" with "mount ext4 /dev/block/mmcblk1p2 /data rw noatime nosuid nodev barrier=0 data=writeback nobh"
[Editor] save file and close
[Shell] adb push init.rc /sdcard/
[ADB] cp /sdcard/init.rc /init.rc
[ADB] start
reboot
5. Now your device should start up and use your new ext4 partition as /data. In my case after reboot I had to force another reboot (hold on/off for 10sec) for the system to properly boot and come up with the Archos startup wizard again (the previous startup’s data is lost because we have a new /data partition).
6. Enjoy!
All credits for this procedure go to other people; my only contribution is this write up, and the compilation of the new kernel.
Rooting method: chulri
1GB data partition: chulri and wdl1908
Ext4 format flags: Sibere
Proper compilation of iptables and ext4: $aur0n and woti23
Howto compile the kernel yourself
Compiling this kernel yourself is not very hard.
1. Set-up chulri's development enviroment
2. Configure the new kernel
[Shell] cd $ARCHOS
[Shell] make kernel-config
[Config] In Networking support -> Networking options -> Network packet filtering framework (Netfilter)
Core Netfilter Configuration -> Netfilter Xtables support: y; Xtables -> "owner" match support: y
IP: Netfilter Configuration -> IP tables support: y; Packet filtering: y; REJECT target support: y; LOG target support: y
[Config] In Filesystems
The Extended 4 (ext4) filesystem: y
Ext4 extended attributes: y
[Config] save changes and exit
[Shell] make kernel-build
After compilation, locate your kernel zImage and flash it together with chulri's initramfs.cpio.gz (which is also provided in the zip in the first post).
Recommendations to speed up your tablet
Now that you have your Archos Gen8 as you want it, I can recommend two additions to speed up your system.
1. You now have a fast, big ext4 data partition which you should use for all applications:
[Shell] adb shell pm setInstallLocation 1
2. Replace the default Launcher *ANY* launcher but the Archos one. Personally I recommend the Zeam launcher, since it is really lightweight:
Get your copy of zeam, install it, press "home" button and make it default to zeam.
[ADB] su; cd /system/app; mv Launcher2.apk Launcher2.apknot
The last step makes sure that the Archos launcher does not startup anymore, saving your memory. The last steps also removes the default Archos wallpapers, so make a copy of the one you want or get some nice new ones.
Since the device setup of this thread uses unionfs to make changes to the /system, you could also just remove /system/app/Launcher2.apk. To restore it you can remove /mnt/system/unionfs/system/app/.wh.Launcher2.apk. (Thanks to skeeterfood for pointing it out.)
Great work! Thumbs up!
Thanks for this awesome tutorial!!!!!!
Thanks to all the people who work on our Archos Gen8 devices!!!!
is the performance comperable to urukdroid? i really like urukdroid but the mediascanner issue drive me nuts .
Anyway great work and thanks for the tutorial, now a kernel to be able to overclock and it would be awesome
cHarOn99 said:
is the performance comperable to urukdroid? i really like urukdroid but the mediascanner issue drive me nuts .
Anyway great work and thanks for the tutorial, now a kernel to be able to overclock and it would be awesome
Click to expand...
Click to collapse
I don't know if performance is comparable to UrukDroid; I've used Uruk 1.0 for some months but I haven't run any benchmarks. The reason for that is that Quadrant keeps giving errors in fixed landscape mode and I always used fixed landscape because the stock Archos launcher takes for ever to redraw on screen rotation.
Now of course I replaced the Archos launcher with Zeam, and now redraws on screen rotation are very fast. Replacing the Archos launcher in UrukDroid with Zeam would of course give you the same improvement. Anyway, with the configuration described above @800MHz (I could set it at 1GHz but I didn't) I get Quadrant scores of 1810. If you run it on UrukDroid, we can compare.
Definitely my system is booting much faster now than than it did before, but that might just be Zeam.
Right now sibere is making kernels for UrukDroid which give a nice performace improvement; perhaps he is willing to make kernels for stock too, or help me a bit along? Also when I have some more time, I hope to port some of Ardatdat's kernel improvements to the latest firmware kernel. Maybe someone else is working on that already?
WhoDunnit said:
I don't know if performance is comparable to UrukDroid; I've used Uruk 1.0 for some months but I haven't run any benchmarks. The reason for that is that Quadrant keeps giving errors in fixed landscape mode and I always used fixed landscape because the stock Archos launcher takes for ever to redraw on screen rotation.
Now of course I replaced the Archos launcher with Zeam, and now redraws on screen rotation are very fast. Replacing the Archos launcher in UrukDroid with Zeam would of course give you the same improvement. Anyway, with the configuration described above @800MHz (I could set it at 1GHz but I didn't) I get Quadrant scores of 1810. If you run it on UrukDroid, we can compare.
Definitely my system is booting much faster now than than it did before, but that might just be Zeam.
Right now sibere is making kernels for UrukDroid which give a nice performace improvement; perhaps he is willing to make kernels for stock too, or help me a bit along? Also when I have some more time, I hope to port some of Ardatdat's kernel improvements to the latest firmware kernel. Maybe someone else is working on that already?
Click to expand...
Click to collapse
I agree with you, Zeam is the best Launcher for Archos . When installing UrukDroid, my Archos is longer battery life, LCD is more sensitive and it very fast . Another devices, when you increase speed of cpu, battery life is softer .
I don't think Uruk firmware had been cooked with stock kernel, stock kernel's not stability.
thanks for the reply, personally i don't care about quadrant which is the worst benchmark at all , you already answered the question good enough for me, you said booting is faster and general the feel is fast, thats for me a better benchmark result then any syntetic test which gives you results like in the lottery .
I use Golauncher on the A43 and it works also good, i never used the stock launcher .
I think i will try your solution out and look forward to some kernel improvements if you make one, if not then also fine.
Thanks again
i prefer VTL.Launcher. it is based on adw, but better configurable. i remove ALL soft buttons, all panels and the notificationbar. instead i use Button Savior to have HOME/BACK/SEARCH/MENU buttons.
runs pretty smooth and i can use fullscreen.
any launcher goes
Right, that's the beauty of android: Anything can be replaced and modified to your own taste. I modified my recommendations above about replacing the default launcher with Zeam: *ANY* launcher is better that the Archos default one. My only reason for recommending Zeam is because it is lightweight.
Bottom line: replace the launcher with any alternative and you will have a smoother system.
I love open source and, of course, linux(android) and the power of freedom it has. i hope it will never become mainstream as Windows or Mac is.
Thats the reason why i donate as much as i can to oss projects instead buying expensive Windows software.
And thats why i have big respect to all people who made our computerworld a little bit better to use! Call me a idealist, i am proud to be one! If we were no idealists things like Android wouldn´t exist.
OK, enough
back to topic!
WhoDunnit said:
Now that you have your Archos Gen8 as you [*] [ADB] su; cd /system/app; mv Launcher2.apk Launcher2.apknot
[/LIST]
Click to expand...
Click to collapse
Might as well just do:
[ADB] su; cd /system/app; rm Launcher2.apk
since it's really not deleting the file, but instead creating a .wh.Launcher2.apk file in /mnt/system/unionfs/system/app/ that causes unionfs to hide the file. You can always get it back by removing the /mnt/system/unionfs/system/app/.wh.Launcher2.apk file.
-John
Is the ext4 1 gig of data for extra app space?
skeeterfood said:
Might as well just do:
[ADB] su; cd /system/app; rm Launcher2.apk
since it's really not deleting the file, but instead creating a .wh.Launcher2.apk file in /mnt/system/unionfs/system/app/ that causes unionfs to hide the file. You can always get it back by removing the /mnt/system/unionfs/system/app/.wh.Launcher2.apk file.
Click to expand...
Click to collapse
Right, thank you. I added it to the steps to follow.
darren1 said:
Is the ext4 1 gig of data for extra app space?
Click to expand...
Click to collapse
That's the idea: All (non-system) apps and data will be stored in the 1GB ext4 partition.
WhoDunnit said:
That's the idea: All (non-system) apps and data will be stored in the 1GB ext4 partition.
Click to expand...
Click to collapse
Great, thanks.
A70H Compatible?
Thanks for all the work. Looks great and I'm about ready to try it but need to know first, will this work on the A70H (250gb version)?
H_Scrappy said:
Thanks for all the work. Looks great and I'm about ready to try it but need to know first, will this work on the A70H (250gb version)?
Click to expand...
Click to collapse
It's been suggested that you shouldn't perform this operation on the hard-drive versions. Constant app re-writes on the hard-drive could be a cause for early drive failures.
Nice write-up here WhoDunnit. I did a Windows-based write-up last month over at the ArchosFans forum. Now it looks like people have some options for methods to create their partitions on both Linux and Windows. More information is always a good thing
http://forum.archosfans.com/viewtopic.php?f=76&t=54637
Harfainx said:
I I did a Windows-based write-up last month over at the ArchosFans forum. Now it looks like people have some options for methods to create their partitions on both Linux and Windows. More information is always a good thing
http://forum.archosfans.com/viewtopic.php?f=76&t=54637
Click to expand...
Click to collapse
OK, great. I added a link to your thread so people can find answers if they want to do this from windows.

customMTD not working on Sony Xperia Arc /S

i realised that with the great JJ's rom i have 215mb of free space in my /system which becomes about 169 after integrating the system dalvik into the cache, plus keeping room for merging future updates into the rom i guessed that 150mb of space is annexable from /system (400-250) into the /data (420+150) .
the cache partition has 101.5mb size and can be reduced to 51.5.
only that i haven't been able to get it to work like i did on my g1, and my friend's wildfire.
620mb of space in the data partition is definitely exciting.
i am thinking that it may be cuz our recovery is built into the boot/kernel.
comments n suggestions please
UPDATE: i am getting the following error in the logs
+ echo -e recovery Patcher v1.5.8-Beta\npartition layout not found in dmesg
UPDATE : just tried the 1.5.9 beta autopatch. it's error says
Error misc not found in dmesg.

Memory question

I am currently running TeamDRH 1.3.2 and my question is -
I can no longer install apps to my tablet, looking at my setup I have 1.4MB free in my internal ram, OK.
I also have a 32GB SD card installed that shows I have over 29GB free.
How do I install apps to my SD card? I can delete some of my apps off the internal ram if I can install them to the SD card.
Any suggestions out there?
Thanks ahead for the help.
_dave
_dave said:
I am currently running TeamDRH 1.3.2 and my question is -
I can no longer install apps to my tablet, looking at my setup I have 1.4MB free in my internal ram, OK.
I also have a 32GB SD card installed that shows I have over 29GB free.
Click to expand...
Click to collapse
What is the output of this command? (Use Terminal Emulator.)
Code:
$ [B]df[/B]
rajeevvp said:
What is the output of this command? (Use Terminal Emulator.)
Code:
$ [B]df[/B]
Click to expand...
Click to collapse
Filesystem Size Used Free Blksize
/dev 172M 48K 172M 4096
/mnt/asec 172M 0K 172K 4096
/mnt/obb 172M 0K 172M 4096
/system 247M 224M 22M 4096
/cache 169M 1M 168M 4096
/data 1G 394M 1G 4096
/mnt/microsd 29G 406M 29G 32768
/mnt/sdcard 13G 451m 12G 8192
/mnt/secure/asc: Permission denied
I see now it is my microsd card and not my sdcard that I need to install apps to.
Thanks ahead for any help on doing this.
-dave
_dave said:
Filesystem Size Used Free Blksize
/dev 172M 48K 172M 4096
/mnt/asec 172M 0K 172K 4096
/mnt/obb 172M 0K 172M 4096
/system 247M 224M 22M 4096
/cache 169M 1M 168M 4096
/data 1G 394M 1G 4096
/mnt/microsd 29G 406M 29G 32768
/mnt/sdcard 13G 451m 12G 8192
/mnt/secure/asc: Permission denied
I see now it is my microsd card and not my sdcard that I need to install apps to.
Click to expand...
Click to collapse
You do seem to have enough space on /data, although the values printed seem wrong to me. Post the output of this command:
Code:
$ [B]busybox df[/B]
rajeevvp said:
You do seem to have enough space on /data, although the values printed seem wrong to me. Post the output of this command:
Code:
$ [B]busybox df[/B]
Click to expand...
Click to collapse
The values look different because /cache is symlinked to the internal sdcard now. We needed to save room on the nand and this was the way that we achieved it. Going to Jellybean, the system partition needs over 300M of data and with our nand being only 512M space is getting tight.
fosser2 said:
The values look different because /cache is syslinked to the internal sdcard now.
Click to expand...
Click to collapse
You mean symlinked... I know about that and that's not it. It's the default df command. If you look closely, you'll see that it's rounding the values imprecisely. That's why I asked for the busybox version.
BTW, any idea why TeamDRH ICS doesn't let you move apps to SD cards?
rajeevvp said:
You mean symlinked... I know about that and that's not it. It's the default df command. If you look closely, you'll see that it's rounding the values imprecisely. That's why I asked for the busybox version.
BTW, any idea why TeamDRH ICS doesn't let you move apps to SD cards?
Click to expand...
Click to collapse
Well we removed the feature in our ICS build due to slowdowns. Now that we are working on jellybean it's not supported...
http://forum.xda-developers.com/showthread.php?t=1838419
fosser2 said:
Well we removed the feature in our ICS build due to slowdowns.
Click to expand...
Click to collapse
What sort of slowdowns--both partitions--/data and /sdcard--are on the same device, right?
Can you point me to all the git changes you guys made to get rid of that move to SD card feature in ICS? Thanks.
Now that we are working on jellybean it's not supported...
http://forum.xda-developers.com/showthread.php?t=1838419
Click to expand...
Click to collapse
Any specific details on this? Can't determine from that thread if it's the vendor who's removed the feature or if it's simply not there in the JB AOSP code.
rajeevvp said:
What sort of slowdowns--both partitions--/data and /sdcard--are on the same device, right?
Can you point me to all the git changes you guys made to get rid of that move to SD card feature in ICS? Thanks.
Click to expand...
Click to collapse
Man this is going to be tough... It happened a longg time ago. Here is the git where our rom is hosted
https://github.com/TeamDRH
It would be in the ICS branch obviously...as for which specific repo I'm really not too sure. Sorry
rajeevvp said:
Any specific details on this? Can't determine from that thread if it's the vendor who's removed the feature or if it's simply not there in the JB AOSP code.
Click to expand...
Click to collapse
As far as I know, It was actually removed from the JB AOSP code. It is also not in the CM10 code at all. Maybe I missed something but I believe its gone. As of now DRH is done with work on ICS and we will not be updating that rom anymore. JB has just been much more stable and smooth. The 3.1 kernel will soon be driving the JB rom also.
fosser2 said:
Man this is going to be tough... It happened a longg time ago. Here is the git where our rom is hosted
https://github.com/TeamDRH
It would be in the ICS branch obviously...as for which specific repo I'm really not too sure. Sorry
Click to expand...
Click to collapse
I was hoping that since you guys had to explicitly remove that move-to-sdcard feature from the ROM, I would get the exact git changesets. I don't relish going through that entire tree looking for the relevant changes--esp. now that my Java/C++ skillz are a fading memory.
It would be simpler to just ask whoever made those changes (if not you)--they'll be able to pinpoint it right away: whether its in the build configuration, in one of the device xml files, in the Settings app itself, or where ever else.
BTW, I'm still curious about those slowdowns that prompted the removal of the move-to-sdcard feature from DRH ICS. Apart from a slight initial setup cost (mostly CPU), there really isn't any extra I/O involved over the all-apps-in-/data case.
As far as I know, It was actually removed from the JB AOSP code. It is also not in the CM10 code at all. Maybe I missed something but I believe its gone.
Click to expand...
Click to collapse
OK, I'll see if I can confirm this too. It should be possible to get some definitive answers on this.
rajeevvp said:
I was hoping that since you guys had to explicitly remove that move-to-sdcard feature from the ROM, I would get the exact git changesets. I don't relish going through that entire tree looking for the relevant changes--esp. now that my Java/C++ skillz are a fading memory.
It would be simpler to just ask whoever made those changes (if not you)--they'll be able to pinpoint it right away: whether its in the build configuration, in one of the device xml files, in the Settings app itself, or where ever else.
BTW, I'm still curious about those slowdowns that prompted the removal of the move-to-sdcard feature from DRH ICS. Apart from a slight initial setup cost (mostly CPU), there really isn't any extra I/O involved over the all-apps-in-/data case.
OK, I'll see if I can confirm this too. It should be possible to get some definitive answers on this.
Click to expand...
Click to collapse
I will ask around for you and see what I can find.

[Q&A] [v9.52] Online Nandroid / Nandroid Backup without re-booting [CWM + TWRP + 4EX

[Q&A] [v9.52] Online Nandroid / Nandroid Backup without re-booting [CWM + TWRP + 4EX
Q&A for [v9.52] Online Nandroid / Nandroid Backup without re-booting [CWM + TWRP + 4EXT]
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.
Before posting, please use the forum search and read through the discussion thread for [v9.52] Online Nandroid / Nandroid Backup without re-booting [CWM + TWRP + 4EXT]. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.
Thanks for understanding and for helping to keep XDA neat and tidy!
Hey everybody,
I was setting up online Nandroid on my S4Mini LTE (I9195) and everything looks good so far. Except that preload is not being backup-ed. I also installed the the required recognition script. When using TWRP via recovery I am able to backup the preload partition.
Any ideas why I cannot backup the preload partition online?
Thanks,
Sebastian
bjacke said:
Hey everybody,
I was setting up online Nandroid on my S4Mini LTE (I9195) and everything looks good so far. Except that preload is not being backup-ed. I also installed the the required recognition script. When using TWRP via recovery I am able to backup the preload partition.
Any ideas why I cannot backup the preload partition online?
Thanks,
Sebastian
Click to expand...
Click to collapse
Which recognition script did you install?
ameer1234567890 said:
Which recognition script did you install?
Click to expand...
Click to collapse
Hey,
I used "Samsung Galaxy S IV Mini LTE GT-I9195" ->serranolte. Is this the correct one?
Basti
bjacke said:
Hey,
I used "Samsung Galaxy S IV Mini LTE GT-I9195" ->serranolte. Is this the correct one?
Basti
Click to expand...
Click to collapse
Could you post the log file inside one of the backup folders?
Hey.
I've got problem. Lg l7II, sock kk rom rooted. I can't make backup on my external_SD, set in onb settings backup location external_SD, but backup still is created ie my internal memory. I know, that android kk not allow save files external micro sd card for third-party apps, but i've installed sd fix. but without result. So where is wrong?
Here's log:
Starting backup...
Running with the following commands: -o --custom kk_rooted --storage /external_sd -pd -r
Using Default Shell
##########################################
Online Nandroid Backup v9.52
* A tool to perform a nandroid backup
without booting into recovery.
* It is fully compatible with nandroid.
* Type 'onandroid --help' for usage
instructions.
* Created by Ameer Dawood
##########################################
14:30:44 Using busybox from: /data/data/com.h3r3t1c.onnandbup/files/busybox
14:30:44 Checking for root permissions...
14:30:44 Root permissions acquired!
14:30:44 Analysing battery level...
14:30:44 Sufficient battery available!
14:30:44 Checking version of BusyBox installed...
14:30:44 BusyBox version 1.20 or above installed!
14:30:44 Searching for SD card...
14:30:44 SD card found!
14:30:44 This device has a patch file installed!
14:30:44 Checking for required tools...
14:30:45 All required tools available!
14:30:45 Checking disk space...
14:30:45 SD Card Free Space: 1186 MB
14:30:45 Required Space: 1719 MB
14:30:46 Not enough disk space! Exiting...
exitcode [86]
Kura pazurem to wydrapała, a Xperia Neo V Tapatalkiem 4 wysłała
Ok, problem solved. It was mistake with backup save location. After changing to /storage/external_SD instead external sd, it working as it should.
Wysłano przy użyciu LG L7 II (P710) Tapatalkiem
Patch or No Patch - That Is the....
Help!
Folks, I have one, perhaps-challenging question, and I am hoping that there will be a fairly straightforward answer from one or more of the obviously-above-average-intelligence contributors to XDA.
I recently purchased a Foxconn house-branded phone, an 'InFocus M512'. I had only.moderate expectations - you usually get what you pay for - but, it has exceeded my expectations from almost every angle. However, it arrived already-rooted. And now that I've invested some hours (I'm embarrassed to admit how many) investigating and installing security/privacy apps and mods, and debloating it, I'm really satisfied and it's no longer the cheap throwaway I had originally purchased... and given how many changes I've already made, it's pure luck that I haven't bricked it; I'm waaaay overdue for a full NAND backup.
But, I have no recoveries for it, I have no idea how it was rooted or what magic was thrown at it before it landed in my inexperienced hands. It's KK 4.4.2 - that much I do know. And the launcher is a lightly themed MIUI, as far as I can tell.
I installed Online Nandroid, looking like my best / only option to create a recovery.
I clicked on the 'Get Device Identified' button in Nandroid, which returned a device code MC2_CN - not in the downloaded patch list, of course. So, then I clicked on the 'Request a patch from Santa Claus' button...
I'm not holding my breath, waiting for Ameer to come up with a patch for me; I'm sure he has bigger fish to fry, and this phone is just one in the sea of obscure Chinese mutations (that's an actual place, I think).
So... here it is... finally... my question:
What's my next step?
Is there one? (Oh crap, that's two questions) Have I been too wordy? (Damn, that's three... and don't answer it - you'll hurt my feelings.
Any informed advice would be hugely appreciated.
Thanks. :fingers-crossed:
Is this app currently maintained? I thought I would help out and sent in a patch weeks ago for my device (LG Realm) and never heard anything back. I also never got a response as to whether or not I can somehow load and use my own patch with the correct partition layout instead of having to download it.
????
codebot said:
Is this app currently maintained? I thought I would help out and sent in a patch weeks ago for my device (LG Realm) and never heard anything back. I also never got a response as to whether or not I can somehow load and use my own patch with the correct partition layout instead of having to download it.
????
Click to expand...
Click to collapse
It is still being maintained. The pace is, however, a bit slower.
Nandroid Backup for UBIFS
Sir regarding for NANDROID BACKUP it could be work in this UBIFS device?
ameer1234567890 said:
It is still being maintained. The pace is, however, a bit slower.
Click to expand...
Click to collapse
I'm willing to do any testing for an updated SM-N910T. Please just let me know.
Sent from my Note 4 with Tapatalk
SJMarty said:
I'm willing to do any testing for an updated SM-N910T. Please just let me know.
Sent from my Note 4 with Tapatalk
Click to expand...
Click to collapse
Yikes...has the script been abandoned? That would stink.
Does Online Nandroid Backup work for Alcatel OT 5020D?
I tried to restore some apps with a Nandroid Manager and even if the app didn't show any error, none of the restored apps worked. After trying to run them they always crashed.
Not boot found not recovery found
Hi, i tried these script for my Xperia Neo mt15i, in your site in the list of supported devices says that no need of path file for my hallon but during the backup appears this message, and i don't know what is wrong, Online Nandroid makes appslog .android_secure system data cache, but it's strange no boot, recovery, and bootloader. It's something wrong?
elasca said:
Hi, i tried these script for my Xperia Neo mt15i, in your site in the list of supported devices says that no need of path file for my hallon but during the backup appears this message, and i don't know what is wrong, Online Nandroid makes appslog .android_secure system data cache, but it's strange no boot, recovery, and bootloader. It's something wrong?
Click to expand...
Click to collapse
Can you post the log file inside backup folder?
ameer1234567890 said:
Can you post the log file inside backup folder?
Click to expand...
Click to collapse
Online Nandroid v9.52
Started at Sun May 3 00:58:58 CEST 2015
###########################
Run with options:
###########################
Busybox: BusyBox v1.21.1-jb static (2013-07-25 21:23 +0100) multi-call binary.
###########################
File System Layout:
rootfs on / type rootfs (ro,seclabel,relatime)
tmpfs on /dev type tmpfs (rw,seclabel,nosuid,relatime,mode=755)
devpts on /dev/pts type devpts (rw,seclabel,relatime,mode=600)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,seclabel,relatime)
selinuxfs on /sys/fs/selinux type selinuxfs (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
none on /acct type cgroup (rw,relatime,cpuacct)
tmpfs on /mnt/secure type tmpfs (rw,seclabel,relatime,mode=700)
tmpfs on /mnt/asec type tmpfs (rw,seclabel,relatime,mode=755,gid=1000)
tmpfs on /mnt/obb type tmpfs (rw,seclabel,relatime,mode=755,gid=1000)
tmpfs on /mnt/fuse type tmpfs (rw,seclabel,relatime,mode=775,gid=1000)
none on /dev/cpuctl type cgroup (rw,relatime,cpu)
/dev/block/mtdblock0 on /system type yaffs2 (ro,seclabel,relatime)
/dev/block/mtdblock3 on /data type yaffs2 (rw,seclabel,nosuid,nodev,relatime)
/dev/block/mtdblock1 on /cache type yaffs2 (rw,seclabel,nosuid,nodev,relatime)
/dev/block/vold/179:1 on /storage/sdcard0 type vfat (rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)
/dev/block/vold/179:1 on /mnt/secure/asec type vfat (rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)
tmpfs on /storage/sdcard0/.android_secure type tmpfs (ro,seclabel,relatime,size=0k,mode=000)
###########################
Device Details:
ro.product.model=MT15i
ro.product.brand=SEMC
ro.product.name=MT15i
ro.product.device=hallon
ro.product.board=mogami
ro.product.cpu.abi=armeabi-v7a
ro.product.cpu.abi2=armeabi
ro.product.manufacturer=Sony Ericsson
###########################
Recovery:
CWM-based Recovery v6.0.4.6
###########################
Language File:
Not found!
###########################
00:58:59 Using busybox from: busybox
00:58:59 Checking for root permissions...
00:58:59 Root permissions acquired!
00:58:59 Analysing battery level...
00:58:59 Sufficient battery available!
00:58:59 Checking version of BusyBox installed...
00:58:59 BusyBox version 1.20 or above installed!
00:58:59 Searching for SD card...
00:58:59 SD card found!
00:58:59 This is an MTD based device!
00:59:00 Checking for required tools...
00:59:00 All required tools available!
00:59:01 Checking disk space...
00:59:02 SD Card Free Space: 4159 MB
00:59:02 Required Space: 839 MB
00:59:02 Necessary disk space available!
00:59:02 Detecting mountpoints to exclude...
00:59:02 Backing up to /storage/sdcard0/clockworkmod/backup/2015-05-02.22.58.59
00:59:02 /boot not found! Skipping backup of /boot!
00:59:02 Consider installing patch file for your device, for a complete nandroid!
00:59:02 /recovery not found! Skipping backup of /recovery!
00:59:03 Backing up /appslog...\c
00:59:05 Backing up /system...\c
01:04:01 Backing up /data...\c
01:11:01 Backing up /cache...\c
01:12:02 Backing up /.android_secure...\c
01:12:12 Generating md5sum...\c
01:13:04 Verifying md5sum...\c
01:13:05 Online Nandroid Backup Completed in 14 minutes 6 seconds!
###########################
Files Backed-up:
"----rwxr-x 1 1536 May 3 01:12 .android_secure.vfat.tar
----rwxr-x 1 6291456 May 3 00:59 appslog.img
----rwxr-x 1 96431808 May 3 01:12 cache.yaffs2.img
----rwxr-x 1 373038336 May 3 01:10 data.yaffs2.img
----rwxr-x 1 258 May 3 01:13 nandroid.md5
----rwxr-x 1 421466496 May 3 01:04 system.yaffs2.img"
@elasca This is common among Xperia devices. Your backup should just be fine. Your custom recovery (CWM / TWRP) would also not backup boot and recovery.
ameer1234567890 said:
@elasca This is common among Xperia devices. Your backup should just be fine. Your custom recovery (CWM / TWRP) would also not backup boot and recovery.
Click to expand...
Click to collapse
Do you know an alternative method to back up these partitions? I don't see these partitions even on terminal, it should be showed using "cat /proc/partitions" command, but only shows system, cache, appslog, data, and sdcard, no recovery, boot, bootloader, and other partitions showed in my Wolder tablet with Allwinner chipset.
I have also the question for these tablet, i can backup recovery and boot partitions manually but with nandroid appears "boot not found" and "recovery not found", are you working for a patch file for this tablets?
Thank you.
ameer1234567890 said:
@elasca This is common among Xperia devices. Your backup should just be fine. Your custom recovery (CWM / TWRP) would also not backup boot and recovery.
Click to expand...
Click to collapse
Hi ameer just wanted to thank you for still supporting the app . And for uploading the patch for my Lg tribute aka e2nas. I thought it was a dead issue ,im glad you brought it back to life!!
sent from my VM LGLS660 rooted on zv5

Categories

Resources