EXPAND VIRTUAL RAM using LINUX PARTITION - Android Software Development

linux partition using cwm recovery
&
increasing virtual ram​
Perform Following:
1. Remove all Swapper/Swapper2/RamExpander/Ram-Manager or Swap creating any apps that you are using currently
2. Remove swap.swap or any such swap files from sdcard root (if any you find)
3. Now take full Backup of your SDCARD contents-bcoz You are going to format it
4.Install CWMRecovery (if not already having it on your Device)
5. Reboot into CWM Recovery and go to 'advanced'--> "partition your sdcard"
Click to expand...
Click to collapse
Creating CWM partition(Linux Partition):
Choose following parameters while creatig partition:
Partition Size: 1014MB
Swap Size:256MB
Confirm & Execute process. You can parameters according to your understanding as well.
It will wipe all data/partitions on sdcard and will create a new linux (ext3) partition on sdcard with a swap worth 256MB. Reboot Device when process completes.
Click to expand...
Click to collapse
Adding init.d script Support to your ROM (If on stock ROM)
Requirement: You must have busybox installed prior to proceeding for next step
This step is for those who are not on Custom ROMs. All Custom ROM preferably have busybox & init.d support functionality inbuilt and carry init.d folder in /system/etc/<here>
1. Download Installing and activating Uni-init.v1.0.apk will create and activate init.d folder in your /system/etc/<init.d>.
3. init.d folder will carry system tweaks to enhance performance
Click to expand...
Click to collapse
Adding init.d Tweaks Collection:General tweaks and Tweaks related to Linux partition:
1.Now download all init.d Tweaks and copy them into your init.d folder
2.Check whether it has "androidswap' files or not if not download it from 'files' section or somewhere from pinned posts. 'androidswap' carries codes and will create swap on your linux partition.
3.Open androidswap using notepad++ and set swappiness to be created 60(recommended). (You can experiment here settings swappines from 50-100)
Script will looks as below:
#!/system/bin/sh
swapon dev/block/mmcblk0p3
echo 60 > /proc/sys/vm/swappiness
Click to expand...
Click to collapse
4. If you have not edited androidswap then skip above step. If you have increased swappiness count then Move the edited file to your /system/etc/init.d/<here>
5. 'androidswap' and 'fstab' that you find in init.d now will be setting up your CWM partition to work properly.
6. U can check the active swap on sdcard after a reboot using adb shell commands or using Terminal emulator.
Click to expand...
Click to collapse
NOW REBOOT DEVICE to make all the Changes to take effect.
Click to expand...
Click to collapse
Checking Status of Linux (ext3) Partition and Stauts of Swap Created by CWM:
1. You must have rebooted as said earlier to changes to take effect
2. Connect your device with PC and Open Command Prompt
How To enter adb shell command menu:
Code:
[FONT="Arial Black"][SIZE="3"][COLOR="Gray"]
C:\.android>adb devices
List of devices attached
XXXXXXXXX Device
C:\.android>adb root
adbd is already running as root
C:\.android>adb remount rw
remount succeeded
C:\.android>adb shell
sh-4.2# su
su[/COLOR][/SIZE][/FONT]
To check swap partition status use following command:
Code:
[FONT="Arial Black"][SIZE="3"][COLOR="Purple"]sh-4.2# cat /proc/swaps
cat /proc/swaps
Filename Type Size Used Priority
/dev/block/mmcblk0p3 partition 249976 69904 -1[/COLOR][/SIZE][/FONT]
To check swap activity status use following command:
Code:
[FONT="Arial Black"][SIZE="3"][COLOR="Purple"]sh-4.2# free
free
total used free shared buffers
Mem: 168616 166000 2616 0 28
-/+ buffers: 165972 2644
Swap: 249976 69904 180072[/COLOR][/SIZE][/FONT]
[Swap: 249976 69904 180072 ]values shows that your Swap is active and working properly.
Click to expand...
Click to collapse
Note:-
i have tested this whole tutorial on micromax a57 !! everything is working awesome..!!
The EGL patch i have mentioned exists only for Adreno 200 ..!!
follow this tut on adreno200 devices...
Click to expand...
Click to collapse
Enjoy !!!
Have I helped you ??? If Yes !!! Go and find "THANKS" Button​

Want to tryy....
via XDA Premium
---------- Post added at 09:18 PM ---------- Previous post was at 09:17 PM ----------
Will seconday partion also support with dis mod?
via XDA Premium

jeswinjv said:
Want to tryy....
via XDA Premium
---------- Post added at 09:18 PM ---------- Previous post was at 09:17 PM ----------
Will seconday partion also support with dis mod?
via XDA Premium
Click to expand...
Click to collapse
Sent from my Nexus 5 using XDA premium app
Well bro i have not tested secondary partition ...
U just try it....
If it works than plz report me...
Nd plz hit thanks if u lyk this tutorial....

Related

[OUTDATED GUIDE]Make Custom Rom Easier Than Cycling

Things you need:
Base firmware (i'm use Gingerbread S5830SERKPH 2.3.4)
Windows (I'm use windows 7 X64 service pack 1)
Linux (Ubuntu recommended)
And the last thing is, You need enough experience in android world
step-step :
Flash your phone with your desired base firmware.
Make required modifications at your phone.
After that, do hard reset to your phone.
Next back up system.rfs .
put system.rfs with boot.img, data.rfs, recovery.img from PDA base firmware in one folder.
After that, repack your custom rom.
what should we do to modify it :
Remove useless widgets
Add more apps
Change theme
How to back up System.rfs :
Download at market "terminal emulator"
next run this code:
Code:
su
dd if=/dev/stl12 of=/sdcard/system.rfs
How to hard reset your phone :
Move by root explorer your modification apps to system/app then change permission like this :
Code:
User:Read, Write
group:Read
Others:Read
Next change the owner to "root" by root explorer
At least boot into recovery mode "HOME+POWER" and choose "wipe data/factory reset" be sure your contact data already backup
How to repack your custom rom :
PDA by running this code via terminal at linux:
Code:
tar -H ustar -c boot.img recovery.img data.rfs system.rfs >> ROMNAME.tar
md5sum -t ROMNAME.tar >> ROMNAME.tar
mv ROMNAME.tar ROMNAME.tar.md5
change ROMNAME to your desired, of course, ROM name.
If you want to build One-Package ROM, just use 1st and 2nd command and don't forget to include all files on all *.tar.md5 (such as modem, csc, apboot) like this :
Code:
tar -H ustar -c *.* >> ROMNAME.tar
md5sum -t ROMNAME.tar >> ROMNAME.tar
How to change your rom name :
At root explorer you see at folder system "build.prop"
Open it in text editor edit "ro.build.display.id=GINGERBREAD.XXKPH" with your rom name
Another Handy Modification Guide:
How to edit system.rfs on your Pc :
importan : if you want to edit system.rfs at windows, DON'T use Magic Iso, why? because i was use it, then my system.rfs corrupt.
you must have linux (ubuntu recommended)
run it from terminal :
Code:
sudo mount -o loop system.rfs /some_dir
make required modification
then Unmount it
How to Unpacking & repacking the image :
Note: below I give you the details for unpacking and repacking manually, but I have attached two perl scripts that do most of this for you
If you are good with a hex editor, you can open up any of these images and strip off the first 2k of data. Then, look for a bunch of zeroes followed by the hex 1F 8B (which is the magic number of a gzip file). Copy everything from the first line of the file, through the zeroes, and stopping at the 1F 8B. That is the kernel. Everything from the 1F 8B through the end is the ramdisk. You could save each of these files separately. In order to see the contents of the ramdisk, you need to un-gzip it and then un-cpio it. You could use a command like this (ideally after creating a new directory and cd'ing into it):
Code:
gunzip -c ../your-ramdisk-file | cpio -i
That will place all of the files from the ramdisk in your working directory. You can now edit them.
In order to re-create the ramdisk, you need to re-cpio them and re-gzip those files, with a command like the following (remember, cpio will include everything in the current working directory, so you probably want to remove any other cruft you might have in there):
Code:
find . | cpio -o -H newc | gzip > ../newramdisk.cpio.gz
The final step is to combine the kernel and your new ramdisk into the full image, using the mkbootimg program (which you should download and compile from the git repository):
Code:
mkbootimg --cmdline 'no_console_suspend=1 console=null' --kernel your-kernel-file --ramdisk newramdisk.cpio.gz -o mynewimage.img
Now, there's a lot of hassle in pulling apart files in hex editors and remembering all of these commands, so I wrote unpack and repack perl scripts for you (attached). Hooray.
How to Manually deodex your phone :
What you'll need:
xUltimate v2.2
Unzip xUltimate v2.2, and launch "Main.exe"
If everything goes well xUlt should recognize the phone and make a connection. You now should see a list of options.
Run option 1. After option 1 is done, run option 2.
Now these well take a while. Run option 3.
IMPORTANT: After you have run option 3, you MUST navigate to the xUltimate folder and find "origi_frame" folder, and delete "guava.odex". It's a bad file, and interferes with deodexing process.
Now run option 4, and wait.
Exit xUltimate, and put the phone in USB mass storage.
Go back into the xUltimate folder and copy "done_frame", and "done_app", and move them to the root of the sdcard.
Put the phone in PC mode
Open a command prompt, and do the following:
Code:
adb shell
su
stop
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
cp /sdcard/done_app/* /system/app/
cp /sdcard/done_frame/* /system/framework/
rm /system/app/*.odex
rm /system/framework/*.odex
mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system
reboot
Your phone should now be deodexed!
You may notice an increase in speed, and you now have the ability to edit certain files with greater effects.
How to change bootanimation :
using a Root explorer goto the /system/media directory.
Copy bootanimation.zip to your SD Card.
Connect your droid to your computer with usb and mount the SD Card
Copy bootanimation.zip to your computer.
extract bootanimation.zip to a folder
Inside you will find 2 folders with all the individual PNG files in them.
With photoshop or paint modify the png files to add your custom graphics, OR make/download your own pictures. (Make sure they are match with your phone device)
Highlight the two folders and the desc file.
Right click the highlighted files.
Select add files to archive.
Select Zip check box
In the compression method drop down box select Store. (this is key if you dont do this it wont play the animation)
save the archive as bootanimation.zip
copy the new bootanimation.zip to your SD Card
Select the bootanimation.zip file from your SD Card and move it... system>media>paste
________________
i'm just 12 years old if i can do it, why you can't
Advantages of this way is :
More efficient
Reduce your internet usage (dont need kitchen, apk manager, etc)
Easy to modification (You can see the direct result)
Reduce your time (only 2 hours i can do this way)
More soon
You steal my IDEAS Univos! No, just kidding, there are incorrect guide on "how to hard reset" lol. Anyway, try to build a ROM before creating this guide, my friend.
Wow Kids!
are doing development now a days
fla.sh said:
You steal my IDEAS Univos! No, just kidding, there are incorrect guide on "how to hard reset" lol. Anyway, try to build a ROM before creating this guide, my friend.
Click to expand...
Click to collapse
im not steal it.
Where is incorrect guide i'm try to fix it?
Sent from my GT-S5830 using XDA App
GadgetCheck said:
Wow Kids!
are doing development now a days
Click to expand...
Click to collapse
Thanks
Sent from my GT-S5830 using XDA App
This guide tested by me, and i have get result from this.
Sent from my GT-S5830 using XDA App
If you have question just ask me!
Sent from my GT-S5830 using XDA App
I think this guide is the same with fla.sh's guide.
devilsking said:
I think this guide is the same with fla.sh's guide.
Click to expand...
Click to collapse
Different, Fla.sh make guide for cooking his rom.
in this thread i tell you how to make your own custom rom.
with Phone device Samsung Galaxy Ace.
Univos said:
Different, Fla.sh make guide for cooking his rom.
in this thread i tell you how to make your own custom rom.
with Phone device Samsung Galaxy Ace.
Click to expand...
Click to collapse
ya ya. I see tks for your guide
devilsking said:
ya ya. I see tks for your guide
Click to expand...
Click to collapse
Please press thanks button, if i helped you
Sent from my GT-S5830 using XDA App
Univos said:
This guide tested by me, and i have get result from this.
Sent from my GT-S5830 using XDA App
Click to expand...
Click to collapse
Now that you're awesome like fla.sh , I'll be quietly tucking in a corner thinking how young teenagers get their knowledge . XD jkjk
EmoBoiix3 said:
Now that you're awesome like fla.sh , I'll be quietly tucking in a corner thinking how young teenagers get their knowledge . XD jkjk
Click to expand...
Click to collapse
Just kept reading, ask people, don't feel has a lot of knowledge, kept countinue to learn
Sent from my GT-S5830 using XDA App
EmoBoiix3 said:
Now that you're awesome like fla.sh , I'll be quietly tucking in a corner thinking how young teenagers get their knowledge . XD jkjk
Click to expand...
Click to collapse
Maybe this holiday i will developt a simple custom rom.
Sent from my GT-S5830 using XDA App
Univos said:
Maybe this holiday i will developt a simple custom rom.
Sent from my GT-S5830 using XDA App
Click to expand...
Click to collapse
I am thinking about a kid with two or more different XDA ID.
ketut.kumajaya said:
I am thinking about a kid with two or more different XDA ID.
Click to expand...
Click to collapse
No, the real name Fla.sh is "Aver..." my real name is "iz..." we are student of junior high school at surabaya. I'm "Aver..." friend.
Sent from my GT-S5830 using XDA App
Univos said:
No, the real name Fla.sh is "Aver..." my real name is "iz..." we are student of junior high school at surabaya. I'm "Aver..." friend.
Sent from my GT-S5830 using XDA App
Click to expand...
Click to collapse
I'm swear.
Sent from my GT-S5830 using XDA App
ketut.kumajaya said:
I am thinking about a kid with two or more different XDA ID.
Click to expand...
Click to collapse
ROFLAMO
Jukirdolly said:
ROFLAMO
Click to expand...
Click to collapse
??????
Sent from my GT-S5830 using XDA App

[Patch] OpenRecovery with ext4 support patch

How to install:
Just unzip to your /sdcard
http://xt720.ru/Files/Patchs/or-147-xt720-fix2.zip
my recovery alrealy support ext2,3,4, nilfs2 (6 month ago)
if you want to add filesystem support edit switch.sh (insmod your modules) and edit to
echo "/dev/block/mmcblk0p2 /sddata auto defaults 0 0" >> /etc/fstab
echo "/dev/block/mmcblk0p2 /sddata auto defaults 0 0" >> /etc/fstab
We already have it in switch.sh.
But thanks! =)
Just curious: what changed in open_rcvr.STR?
fjfalcon said:
echo "/dev/block/mmcblk0p2 /sddata auto defaults 0 0" >> /etc/fstab
We already have it in switch.sh.
But thanks! =)
Click to expand...
Click to collapse
i edit this part
#app2ext partition on sdcard
if [ -b /dev/block/mmcblk0p2 ] ; then
mkdir /sddata
insmod "$MODPATH/jbd.ko"
insmod "$MODPATH/ext3.ko"
insmod "$MODPATH/ext2.ko"
insmod "$MODPATH/crc16.ko"
insmod "$MODPATH/jbd2.ko"
insmod "$MODPATH/mbcache.ko"
insmod "$MODPATH/ext4.ko"
insmod "$MODPATH/nilfs2.ko"
echo "/dev/block/mmcblk0p2 /sddata auto defaults 0 0" >> /etc/fstab
#e2fsck -p /dev/block/mmcblk0p2
fi
i remove e2fsck for nilfs2
#chek linux version
LVER=`uname -r | awk '{split($0,a,"-"); print a[1]}'`
MODPATH="/lib/modules/$LVER"
also i add it
it will auto recognize kernel's version and auto mount current modules
I took your OpenRecovery and added/fixed some things:
'Power Off' menu option
'Toggle Display Brightness' menu option (to reduce battery drain--alternates between bright/dim)
Fixed nandroid backup all (by hiding the partitions that don't work)
Fixed 'Wipe Dalvik Cache'
Renamed 'Applications Menu' to 'Utilities'
Added a symbolic link: /sd-ext -> /sddata
Updated e2fsck to a 1.41.10 (for ext4 support)
Added 'SD Card Utilities'
'Scan FAT partition for errors'
'Scan ext partition for errors'
Can convert ext2->ext3, ext2->ext4, ext3->ext4 (requires ROM support)
'Save diagnostics to /sdcard/sdcard-info.txt' for debugging
Eventually this will also manage the app/link2sd directories
Github: https://github.com/Mioze7Ae/openrecovery_xt720
EDIT: updated with statically-compiled fsck_msdos, tune2fs, e2fsck, and mke2fs from the CM6.3.0 source
Mioze7Ae said:
I took your OpenRecovery and added/fixed some things:
'Power Off' menu option
'Toggle Display Brightness' menu option (to reduce battery drain--alternates between bright/dim)
Fixed nandroid backup all (by hiding the partitions that don't work)
Fixed 'Wipe Dalvik Cache'
Renamed 'Applications Menu' to 'Utilities'
Added a symbolic link: /sd-ext -> /sddata
Updated e2fsck to a 1.41.10 (for ext4 support)
Added 'SD Card Utilities'
'Scan FAT partition for errors'
'Scan ext partition for errors'
Can convert ext2->ext3, ext2->ext4, ext3->ext4 (requires ROM support)
'Save diagnostics to /sdcard/sdcard-info.txt' for debugging
Eventually this will also manage the app/link2sd directories
Github: https://github.com/Mioze7Ae/openrecovery_xt720
Click to expand...
Click to collapse
Awesome nice wok man
The SD Card Utilities aren't working if CM6 isn't installed. I need to find a tune2fs that is statically linked. I thought this one was, but I was wrong.
Edit: fixed now in -fix4
What would it take to incorporate these changes into Androidiani OR?
I compiled static binaries for e2fsprogs and fsck_msdos and updated the zip. I should be working now. http://forum.xda-developers.com/showpost.php?p=16812349&postcount=7
3rdstring said:
What would it take to incorporate these changes into Androidiani OR?
Click to expand...
Click to collapse
Some of these changes are pretty easy. Others are a little more involved. You can look at the diffs in github and port ones that you'd like. Eventually I'd like to merge the functionality of both but I'm focusing on OR for now. You can look at what went into each change by looking at the "Commits" tab at github and then clicking on the commit number on the far right side for a particular change and you'll see what changes were made to which files. For example this is the Toggle Display Brightness change.
I can't get neither one of my sdcards ext4 to mount. I wonder if it might be cause I started with CM6.3? Instead of upgrading from CM6.1 to CM6.3? Just a thought since some of us can and can't mount ext4
LibertyMonger said:
I can't get neither one of my sdcards ext4 to mount. I wonder if it might be cause I started with CM6.3? Instead of upgrading from CM6.1 to CM6.3? Just a thought since some of us can and can't mount ext4
Click to expand...
Click to collapse
Can you install the *-fix4 openrecovery and use
OR > SD Card Utilities > Save diagnostics
And then post the /sdcard/sdcard-info.txt?
Do you have a nandroid of your ext2 partition? If so, try restoring it and the using SD Card Utilities to convert it to ext4.
Sent from my MilestoneXT720 using XDA Premium App
Mioze7Ae said:
Can you install the *-fix4 openrecovery and use
OR > SD Card Utilities > Save diagnostics
And then post the /sdcard/sdcard-info.txt?
Do you have a nandroid of your ext2 partition? If so, try restoring it and the using SD Card Utilities to convert it to ext4.
Sent from my MilestoneXT720 using XDA Premium App
Click to expand...
Click to collapse
Yeah I will post the /sdcard/sdcard-info.txt here but it says the same as what fjfalcon was quoting. And yes I do have a Nandroid of ext2 but never tried to restore it yet. I will try now...
L'enfer c'est les autres...
Mioze7Ae said:
L'enfer c'est les autres...
Click to expand...
Click to collapse
Hell is other people? lol
***Here it is View attachment sdcard-info.txt
Are you referring to the info.txt that fjfalcon posted in the CM6 thread? The commands I gave there weren't correct. In any case the sdcard-info.txt produced by *-fix4 are much expanded and look quite different... I can't find any other post by fjfalcon...
Sent from my MilestoneXT720 using XDA Premium App
Mioze7Ae said:
Are you referring to the info.txt that fjfalcon posted in the CM6 thread? The commands I gave there weren't correct. In any case the sdcard-info.txt produced by *-fix4 are much expanded and look quite different... I can't find any other post by fjfalcon...
Sent from my MilestoneXT720 using XDA Premium App
Click to expand...
Click to collapse
Oh sorry Mz didn't mean to make you look for it, I was talking about when he was saying how some aren't mounting. Anyway I posted it above your last post. I have my ext2 restored. I will try to convert it tomorrow. thanks man.
LibertyMonger said:
***Here it is View attachment 694819
Click to expand...
Click to collapse
Ok, try creating an empty /sd-ext/app|/sddata/app directory and reboot. Then go back to OR and recreate the sdcard-info.txt
Mioze7Ae said:
Ok, try creating an empty /sd-ext/app|/sddata/app directory and reboot. Then go back to OR and recreate the sdcard-info.txt
Click to expand...
Click to collapse
I'm sorry not sure what you mean here "empty /sd-ext/app|/sddata/app directory"
app|?
I think I got it... rebooting...

[TOOL] MTD-Utils for Android (incl. nanddump/nandwrite)

I could not find any binaries of the MTD-Utils (a set of useful tools when dealing with flash devices; see http://www.linux-mtd.infradead.org/index.html) for Android so I compiled some Android binaries from the source (http://git.infradead.org/mtd-utils.git).
My main interest was to get the two programs 'nanddump' and 'nandwrite' running on Android which must be used instead of 'dd' when creating images of nand partitions and restoring partitions from these images, because dd does not handle the bad blocks on the nand correctly which could lead to corrupted data.
With these two tools more flexible backup/recovery tools can be implemented since a backup/recovery can be made for every partition available on the device, even those which do not have a readable filesystem, for example the bootloader. Also, for partitions which include a filesystem, but hide some extra data outside that filesystem, this hidden data will also be included in the backup. These raw nand partition images can be tar'd or zip'd to reduce the size of the backup files.
Download: http://www.multiupload.com/5GJLEJNR8M
I do not accept donations, however if you want to make my life easier and thank me for my efforts, please think about signing up for a free SpiderOak account using this refer-a-friend link https://spideroak.com/download/referral/b89974e492728fa6a246880f0b7cbcd5. It is just like Dropbox except you can get up to 50GB of free space and they have a true zero-knowledge policy.
Thanks. I am trying to dump the system partition and restore it to another Android Mobile. Any Hints ? Thanks.
kkkelvinkk said:
Thanks. I am trying to dump the system partition and restore it to another Android Mobile. Any Hints ? Thanks.
Click to expand...
Click to collapse
Dump from one device wont work on other, if they are very similar it has few chances of booting but else it'ld brick if you dont be safe!
Actually, I want to remove some system app and then install other app, and make all configuration. After that, I want to clone this configuration to other mobile device with same model. Do you have any suggestions ?
Thanks.
kkkelvinkk said:
Actually, I want to remove some system app and then install other app, and make all configuration. After that, I want to clone this configuration to other mobile device with same model. Do you have any suggestions ?
Thanks.
Click to expand...
Click to collapse
Ok so you got a phone (model a) and you wanna remove sumtin frm /system/app n add sumtin back n then let some user having the same model a use it
Get root
Install root explorer or any root file explorer
Allow su permissions
Navigate to /system/app and do what you wanted
Then you can dump the /system partition
Kindly give some more info of your device - will help more
And yes also paste the output of "mount" command
I think I can only give more information about the phone after I back to my office.
Actually, I am using System App Remover to remove the System App. It does the job.
Wow can I dump and restore the system partition ? I have tried to use dd command, but it fails. May be nanddump will help, but I cannot find the documentation how to use it. Please help. Thanks.
Is there any way to have nanddump directly send the image to a PC that is running recv_image? I'd like to use nanddump on my Galaxy Nexus, but since it is lacking an SD card, it would seem like writing the nanddump image to the nand would just destroy any possibility of obtaining a clean nand image.
I found a way using netcat...
From host machine in one console window:
Code:
adb.exe forward tcp:5555 tcp:5555
adb.exe shell
# nanddump [options] /dev/mtd/mtd0 | nc -l -p 5555
From host machine in a second console window
Code:
nc 127.0.0.1 5555 > flashdump.bin
So how does nanddump compare with Nandroid, which uses mkyaffs2image to create .img files?
So does n e one a mirror for this??? Multiupload is no good n e more...
Sent from my Hellfire Kindle using xda premium
da-pharoah said:
So does n e one a mirror for this??? Multiupload is no good n e more...
Sent from my Hellfire Kindle using xda premium
Click to expand...
Click to collapse
Per my request, stericson kindly built nanddump and nandwrite into his version of busybox. If you still want Ezekeels's pack, I might still have it around here somewhere.
Maximilian Mary said:
Per my request, stericson kindly built nanddump and nandwrite into his version of busybox. If you still want Ezekeels's pack, I might still have it around here somewhere.
Click to expand...
Click to collapse
Yes please and thank you..
Sent from my Hellfire Kindle using xda premium
da-pharoah said:
Yes please and thank you..
Sent from my Hellfire Kindle using xda premium
Click to expand...
Click to collapse
Nope. I dug through my sdcard and the backups on my computer, and I do not still have it. If you want to contact the OP directly, he is @ezekeel666 on twitter.
Maximilian Mary said:
Nope. I dug through my sdcard and the backups on my computer, and I do not still have it. If you want to contact the OP directly, he is @ezekeel666 on twitter.
Click to expand...
Click to collapse
dirty... and nope also.. I PM'd him and he informed me he deleted all his backups on this....
also try compile, but it hard for me.
all link dead. please, upload mtdutil again.
so I saw that you updated your github!! thanks! now lets see if I can get this sorted and btw if I end up using anything no worries I will give you full credit as usual! Thanks again!
mtd ultil for android
ok guys...
1st: sorry for reviving this topic ...
2nd:here ara the binaries for android: http://goo.gl/eJ8mX
3rd and most importanto to me:
If I do a nandread mtd7 > mtd7.img (in my case the /misc partition) I can do a nandwrite mtd7.img > /dev/mtd/mtd7 without any data corruption ?
I have a lot of backups of many partition except this /misc that in freaking me!
So. Is this a reliablbe backup/restore system ? can I do it with all mtd partition ?
* I tested nandread in qcom msm_7x27 device running android 2.3.6.
shaunco said:
I found a way using netcat...
From host machine in one console window:
Code:
adb.exe forward tcp:5555 tcp:5555
adb.exe shell
# nanddump [options] /dev/mtd/mtd0 | nc -l -p 5555
From host machine in a second console window
Code:
nc 127.0.0.1 5555 > flashdump.bin
Click to expand...
Click to collapse
Or just:
adb shell "nanddump -f - /dev/mtd/mtd0" > mtd0.img
-f - outputs to stdout
Excude the partial OT, but are there any similar tools for MMC flash storage?

Thread closed.

Thread closed.
Thread closed.
Yank555 said:
Hi,
REMEMBER
FIRST OF ALL, do a Nandroid backup, as well as a backup of your sd-card content !
You're doing this at your very own risk, I'm not to be held responsible if something goes wrong
Now that said, let's get going
In case somebody wants to check it out, here is the swap activation script I wrote (attached) as well as explanations on how to make it all work :
1) Partition your sd-card (Minitool Partition Wizard, 4ext, CWM...)
2) Boot your system with the partitionned sd-card
3) If necessary customize the 99swap script (attached to this post) and then put it onto your sd-card's root folder, you'll need it while executing the commands in step 4.
4) Open a terminal and type the following
NB: Change "mkswap /dev/block/mmcblk0p3" accordingly to point to the swap partition you've created in step 1.
5) Reboot your phone, start a terminal again and type free, you'll need to see something different than 0 in your swap line, look at the attached print-screen
Swappiness will be set to 50 by the script, which is a rather conservative swap use, made sense to me since SD-swap is slower than ram, better not to use it too agressively. Feel free to experiment with the swappiness variable in the script (values between 0 and 100, 0 meaning "try not to swap", 100 meaning "try to swap all the time")
If you want to try and have a question, just let me know !
JP.
PS: You can find the thread for hard swap for the htc Sensation / XE here.
Click to expand...
Click to collapse
Hi JP,
This is a gem of a post! Thanks alot for the script and the detailed breakdown. Before I get into it though, I must warn you that I am more of a beginner with no coding/scripting experience (I don't know how to use adb or anything)...
Here's what I'm trying to do: I'm trying to activate hard-swap on my hd2 (currently) running the ParanoidAndroid by Xylograph. I've created 3 partitions on my 16gb class 6 sd card: first, fat32 (32k cluster), next, 1GB ext2 (default), 500MB swap.
Procedure:
1. I extracted the script and copied it directly to system/etc/init.d folder of the Rom (I looked at the terminal commands you posted and the first few lines looked like copying the file from the sd root to the init.d folder (it was just a guess though), so I figured might as well put it into the rom before I flash it)
2. Flashed the rom
3. To activate it, I typed the following into the terminal:
su
mount -o remount,rw /system
mkswap /dev/block/mmcblk0p3
mount -o remount,ro /system
exit
after the mkswap command, I did get an activation notification that a certain amount was assigned to swap. But my celebrations were cut short after I rebooted and used the free command to check. The entire swap row still read 0.
I was wondering if you can point me in the right direction... thanks!
Also, is there a way to create a cwm flashable version?
bullcrapr said:
Hi JP,
This is a gem of a post! Thanks alot for the script and the detailed breakdown. Before I get into it though, I must warn you that I am more of a beginner with no coding/scripting experience (I don't know how to use adb or anything)...
Here's what I'm trying to do: I'm trying to activate hard-swap on my hd2 (currently) running the ParanoidAndroid by Xylograph. I've created 3 partitions on my 16gb class 6 sd card: first, fat32 (32k cluster), next, 1GB ext2 (default), 500MB swap.
Procedure:
1. I extracted the script and copied it directly to system/etc/init.d folder of the Rom (I looked at the terminal commands you posted and the first few lines looked like copying the file from the sd root to the init.d folder (it was just a guess though), so I figured might as well put it into the rom before I flash it)
2. Flashed the rom
3. To activate it, I typed the following into the terminal:
su
mount -o remount,rw /system
mkswap /dev/block/mmcblk0p3
mount -o remount,ro /system
exit
after the mkswap command, I did get an activation notification that a certain amount was assigned to swap. But my celebrations were cut short after I rebooted and used the free command to check. The entire swap row still read 0.
I was wondering if you can point me in the right direction... thanks!
Also, is there a way to create a cwm flashable version?
Click to expand...
Click to collapse
Thanx
In fact you understood correctly that is was about copying the file to init.d.
By the way, these commands do the following :
mount -o remount,rw /system - Mount system partition in read-write
mount -o remount,ro /system - Mount system partition in read-only
So to format the swap partition "mkswap /dev/block/mmcblk0p3" there was no need for it, but it didn't harm in any way, so you're fine there
I guess what is missing is the "chmod 755 /system/etc/init.d/99swap" command which will set the correct file access to the script so it can get executed at boot.
You might do the following in a terminal :
su
mount -o remount,rw /system
chmod 755 /system/etc/init.d/99swap
mount -o remount,ro /system
exit
It should be fine then.
Alternatively you could set the rights with your file explorer (in root explorer mode), they must be "rwxr-xr-x" (which is Read-Write-Execute, Read-Execute, Read-Execute), most file-manager will allow you to do that as well.
I've been working on the script variant for htc Sensation, it is more advanced, dynamic so it can find the swap partition by itself.
I'll make a CWM flashable as soon as I get to it that will handle everything except partitioning the SD card, obviously, for both devices.
As soon as I'm done I'll post the HD2 version here as well (very little change, between both devices, just the access path to the sd-card partitons to change (=1 line in the script).
JP.
Edit ------------------------------------------------
I just reread your post, if in fact you put it into the ROM zipfile, then file access should be correct !?
Could you post the following file (if it exists) :
/data/swap.0.log ?
JP.
Yank555 said:
Thanx
In fact you understood correctly that is was about copying the file to init.d.
By the way, these commands do the following :
mount -o remount,rw /system - Mount system partition in read-write
mount -o remount,ro /system - Mount system partition in read-only
So to format the swap partition "mkswap /dev/block/mmcblk0p3" there was no need for it, but it didn't harm in any way, so you're fine there
I guess what is missing is the "chmod 755 /system/etc/init.d/99swap" command which will set the correct file access to the script so it can get executed at boot.
You might do the following in a terminal :
su
mount -o remount,rw /system
chmod 755 /system/etc/init.d/99swap
mount -o remount,ro /system
exit
It should be fine then.
Alternatively you could set the rights with your file explorer (in root explorer mode), they must be "rwxr-xr-x" (which is Read-Write-Execute, Read-Execute, Read-Execute), most file-manager will allow you to do that as well.
I've been working on the script variant for htc Sensation, it is more advanced, dynamic so it can find the swap partition by itself.
I'll make a CWM flashable as soon as I get to it that will handle everything except partitioning the SD card, obviously, for both devices.
As soon as I'm done I'll post the HD2 version here as well (very little change, between both devices, just the access path to the sd-card partitons to change (=1 line in the script).
JP.
Edit ------------------------------------------------
I just reread your post, if in fact you put it into the ROM zipfile, then file access should be correct !?
Could you post the following file (if it exists) :
/data/swap.0.log ?
JP.
Click to expand...
Click to collapse
Hi JP
You are incredibly helpful and I appreciate it!
I finally got some time off and tried out what you mentioned... but to no avail. I applied the necessary permissions through the terminal (chmod 755) as well as through the root browser, but it was still the same. After that I even retried the terminal commands, and included the "chown 0:2000...", but that didn't work either...
... and then I saw your post update...
About that, i just typed it into the terminal, and I got "not found".
Was that what I was supposed to do?
bullcrapr said:
Hi JP
You are incredibly helpful and I appreciate it!
I finally got some time off and tried out what you mentioned... but to no avail. I applied the necessary permissions through the terminal (chmod 755) as well as through the root browser, but it was still the same. After that I even retried the terminal commands, and included the "chown 0:2000...", but that didn't work either...
... and then I saw your post update...
About that, i just typed it into the terminal, and I got "not found".
Was that what I was supposed to do?
Click to expand...
Click to collapse
Hi,
You're welcome
The file '/data/swap.0.log' is a text-file containing info on the execution of the script...
If it's not there, then the script didn't run at all...
I should have a little time later today, will try to make the CWM flashable solution for you, should be a no fuss solution, as long as the sd-card has a swap partition
How did you partition the card ? CWM ?
JP.
Sent from my Android Revolution HD 6.6.5 XE / faux kernel 007b3 powered htc Sensation XE using xda premium
I created a 256Gb partition...
Click to expand...
Click to collapse
man thats a helluva sd card ya have there! hehe.
samsamuel said:
man thats a helluva sd card ya have there! hehe.
Click to expand...
Click to collapse
Haha I noticed that too :') I want one of those now
Nigeldg said:
Haha I noticed that too :') I want one of those now
Click to expand...
Click to collapse
Thanx for pointing that out Mb of course, but in a few years that might be possible
My first hdd had 60Mb, and that's not soooo long ago
JP.
Sent from my Android Revolution HD 6.6.5 XE / faux kernel 007b3 powered htc Sensation XE using xda premium
heh, my first was a 20mb HDD mounted on a pcb card and plugged into an ISA slot, took up the full length of the PC, weighed LOADS, could have beaten burglars to death with it.
bullcrapr said:
Hi JP
You are incredibly helpful and I appreciate it!
I finally got some time off and tried out what you mentioned... but to no avail. I applied the necessary permissions through the terminal (chmod 755) as well as through the root browser, but it was still the same. After that I even retried the terminal commands, and included the "chown 0:2000...", but that didn't work either...
... and then I saw your post update...
About that, i just typed it into the terminal, and I got "not found".
Was that what I was supposed to do?
Click to expand...
Click to collapse
+1 with this (also on Paranoid Rom 1.1a) but I think that it's something with the ROM coz on earlier build v1 this method worked verry good I hope that Yank will find a solution coz it reallly helps wit our 576 ram
samsamuel said:
heh, my first was a 20mb HDD mounted on a pcb card and plugged into an ISA slot, took up the full length of the PC, weighed LOADS, could have beaten burglars to death with it.
Click to expand...
Click to collapse
Mine was huge at the time, was on of the first to have such a big one, even partitioned it into 3 since it was just too big And it was an external device, the size of a pizza-box (it was en Atari Megafile 60, I still have it !!).
triggaz said:
+1 with this (also on Paranoid Rom 1.1a) but I think that it's something with the ROM coz on earlier build v1 this method worked verry good I hope that Yank will find a solution coz it reallly helps wit our 576 ram
Click to expand...
Click to collapse
I'm working on the CWM flashable right now, should be done within 1-2 hours at most
Yank555 said:
Hi,
You're welcome
The file '/data/swap.0.log' is a text-file containing info on the execution of the script...
If it's not there, then the script didn't run at all...
I should have a little time later today, will try to make the CWM flashable solution for you, should be a no fuss solution, as long as the sd-card has a swap partition
How did you partition the card ? CWM ?
JP.
Sent from my Android Revolution HD 6.6.5 XE / faux kernel 007b3 powered htc Sensation XE using xda premium
Click to expand...
Click to collapse
Hi JP, once you told me it was the address to the file, i just navigated there using my explorer and lo and behold!, there it was (attached). If you must know, in my earlier post, the idiot in me just typed it in the terminal and the terminal replied not found.
I made my partition using freeware called Minitool partition wizard. Is 500mb too big for swap in your opinion? I was thinking of compensating for zram, and hence the size... thanks for your speedy responses...
edit...
and hey! whadya know? in the meantime, this place is coming alive!!
bullcrapr said:
Hi JP, once you told me it was the address to the file, i just navigated there using my explorer and lo and behold!, there it was (attached). If you must know, in my earlier post, the idiot in me just typed it in the terminal and the terminal replied not found.
I made my partition using freeware called Minitool partition wizard. Is 500mb too big for swap in your opinion? I was thinking of compensating for zram, and hence the size... thanks for your speedy responses...
edit...
and hey! whadya know? in the meantime, this place is coming alive!!
Click to expand...
Click to collapse
Hmm ... strange, the content of the file looks like a logcat ?! Not what I was expecting to see
Give me a little hour, and I think I should be done with the flashable hard-swap and we'll go from there
Minitool is excellent, but did you pay attention to only create "primary" partition ? If it is a logical partition it won't work...
Can you insert your SD card into your card reader, start Minitool an post a print screen of it ?
JP.
EDIT :
About size ... I believe 256Mb is enough, even read somewhere t shouldn't be more than 256, but I think there was no specific reason given.
Yank555 said:
Hmm ... strange, the content of the file looks like a logcat ?! Not what I was expecting to see
Give me a little hour, and I think I should be done with the flashable hard-swap and we'll go from there
Minitool is excellent, but did you pay attention to only create "primary" partition ? If it is a logical partition it won't work...
Can you insert your SD card into your card reader, start Minitool an post a print screen of it ?
JP.
EDIT :
About size ... I believe 256Mb is enough, even read somewhere t shouldn't be more than 256, but I think there was no specific reason given.
Click to expand...
Click to collapse
Here we go...
Minitool image attached... I typically pay attention to the partition type and made sure both of them were primary
About the logcat, I suspect you're right... I was trying to do one from my pc for the first time using adb and tried the only few commands I know (mkswap...), I think that's what you saw then...
Incidentally, do you feel if I reduce the swap size, the script has a better chance at surviving the boot?
bullcrapr said:
Here we go...
Minitool image attached... I typically pay attention to the partition type and made sure both of them were primary
About the logcat, I suspect you're right... I was trying to do one from my pc for the first time using adb and tried the only few commands I know (mkswap...), I think that's what you saw then...
Incidentally, do you feel if I reduce the swap size, the script has a better chance at surviving the boot?
Click to expand...
Click to collapse
Don't bother, I will test 500Mb and let you know if that is the issue
JP.
I have 512mb partition and it worked without problems as I mentioned earlier so I think that opposite to the "size does matter" in this case it doesn't plus I used it with zram from marc1706.
triggaz said:
I have 512mb partition and it worked without problems as I mentioned earlier so I think that opposite to the "size does matter" in this case it doesn't plus I used it with zram from marc1706.
Click to expand...
Click to collapse
Hi triggaz, are you using the built in zram on Para1.1a? Or have you applied a script from elsewhere? I enabled the built-in zram, but get a "not found" reply when i try zram_stats in the terminal. Can you tell me how you got zram working? thanks...
bullcrapr said:
Hi triggaz, are you using the built in zram on Para1.1a? Or have you applied a script from elsewhere? I enabled the built-in zram, but get a "not found" reply when i try zram_stats in the terminal. Can you tell me how you got zram working? thanks...
Click to expand...
Click to collapse
https://www.dropbox.com/s/xr3z102gxiw2f62/marc1706_zram_100MB.zip
all credits to Dorimanx for ZRAM mod and mark1706 for modifications
I flashed this and then used the compcashe options in Paranoid (set to 26%)

[GUIDE] The Ace Xperia Play Setup 1.2! ~ Dalvik Tunning!

Ace Xperia Play​Hello Guys! , after scavenging the whole of the Xperia Play Forums I present to u the best Xperia play Setup in my opinion (and some others...)
First off i Wanna Give some Quick Thanx to:
ozzmanj1 - He Convinced me Heavily about the Stock Rom + A Working Odex Script!
TLRTheory - He convinced ozzmanj1 who convinced me,
Wedgess - A real developer!
DoomLord - Where would we be without him?
juwe11 - The Great Ramscript
LENAROX - The Unique and Amazing Pro-Tunned ADJ
Ryuinferno - Uni Init.d
Zepplinrox - Sclean
Bakisha - Telling me about Odexing!
CosmicDan - Dalvik Dexopt Flags
NOTE! You Must do these in order for the Best Stuffs, Also Please Read Everything
So Lets start shall we?
Oh wait no, Get some Coffee or another Beverage and get ur xP and Hook it up to ur PC,
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
1. Backing Up!
First of were going to need some backups incase Anything goes wrong, So Go Ahead and:
-Reboot into CWM Recovary > Make a CWM Backup
-Reboot back into ROM > Download Titanium Backup and Run a Backup of All User Apps
-Power off you Device > Put it to Charge > (While waiting for Charge) Pull out the SD-Card and Manually mount into PC (Otherwise just do it normally with Android on, NOTE! it will take much longer) Now Cut Everything into a Secure location onto your PC
2. Preping
Just some things u need to be able to go to the next step:
-A Fully Charged Battery
-An Empty SD-Card
-Some more Coffee
now to continue we need to wipe all old things:
-Reboot into CWM > Wipe:
--System
--Data
--Cache
--Dalvik Cache
--SD-Card
--Battery Stats
now power off the device and keep it hooked up to power
Download the Following:
Xperia Play 52 Enhanced v3 Firmware
Flashtool
Lupus GB v12 LagFixed Edition
Now install Flashtool and copy the Xperia Play 52 Enhanced v3 Firmware to the flashtool firmwares folder
3. Flashing
Time fore the main moment,
-Run Flashtool (NOTE! if u have 64-bit, run the 64bit, also sometimes u have to like 6 times click it to open...)
-Disconnect your Device
-Connect the device in Flashmode (Will promt how to)
-Let it do its work (NOTE! If it asks to install drivers, go to the flashtool subfolder names drivers, run the .exe and select the list with xperia play in and select flashmode, then reboot)
-Now disconnect the device AND DONT BOOT UP
-flash Lupus GB v12 LagFixed Edition
-Now Gracefully boot up the device knowing you have the cleanest xp in existent,
4.Restoring
Now u can copy ur SD Card back, Advice : enable msc for faster transfer
U can also restore all apps via Titanium Backup, just download the app and restore
5. Root
When rebooting allow lupus gb to root
then go to playstore and install superuser and update the su binary
6. Fine-Tunning
This is the good stuff,
so we need to get performance and battery TOP NOTCH!
First off i recommend fine tunning the Android native settings, so adjust ur ringtones and etc... anothing thing is Leave animations on,
Then delete all apps u can from data/app, eg hotshots, fb and the rest of the sony junk
Now off to tweaking!, download:
Uni-Init.d
AutoMagical Debloater
Key for AutoMagical Debloater: JzzTXhl0MJlkga6fbLy5OXI2-FwXAXI_ZMU3MkRxE9I
Now download:
Root Browser
So first off reboot into recovary, and flash the Uni-Init.d zip
Now Flash Debloater.zip then Reboot x2
Open Root Browser and navigate to /system/app and here i cant help much, this is ur brain and eyes, manually compare whats in the zip i provided and the /app folder and remove stuff so ur devices apps are equal, now u may get some FC's but its nothing to dangerous to worry about,
Reboot now!
Some more debloating:
Navigate to system/etc, press search and type *.apk u should find some apk files, of their Verizon/Sony related, delete them!
Their is also another thing we can do called Odexing, be aware that doing this will result in you not being able to mod any framework files
Download the Odex Zip First, Flash it in CWM then Wipe Cache and Dalvik Cache and reboot x2 Then:
- open terminal emulator (will be installed automaticaly)
- type su to obtain root permission
- type dexo -h to show possible commands for your phone
- type dexo -one of the option that you have decided
I & Ozzmanj1 recommend Odexing Everything - all
7. Tweaking
Suprisingly enough, All tweaks existent on android SUCK, (Joking) basically what im saying is we only need 3 tweaks
first off open root browser, go to /system and open build.prop, now allow editing:
Input the following for everyday use and generally amazing performance in eveything
Code:
# Pro-Tuned ADJ 1.2 by LENAROX.
ro.FOREGROUND_APP_ADJ=0
ro.VISIBLE_APP_ADJ=4
ro.PERCEPTIBLE_APP_ADJ=3
ro.HEAVY_WEIGHT_APP_ADJ=2
ro.SECONDARY_SERVER_ADJ=1
ro.BACKUP_APP_ADJ=5
ro.HOME_APP_ADJ=6
ro.HIDDEN_APP_MIN_ADJ=7
ro.EMPTY_APP_ADJ=15
#ultimate assassin mode.
#ro.SECONDARY_SERVER_ADJ=15
#ro.HIDDEN_APP_MIN_ADJ=3
or if ur extreme and want amazing games and pretty much no multitasking then this:
Code:
# Pro-Tuned ADJ 1.2 by LENAROX.
ro.FOREGROUND_APP_ADJ=0
ro.VISIBLE_APP_ADJ=4
ro.PERCEPTIBLE_APP_ADJ=3
ro.HEAVY_WEIGHT_APP_ADJ=2
ro.SECONDARY_SERVER_ADJ=15
ro.BACKUP_APP_ADJ=5
ro.HOME_APP_ADJ=6
ro.HIDDEN_APP_MIN_ADJ=3
ro.EMPTY_APP_ADJ=15
#ultimate assassin mode enabled.
save and exit, now reboot or cary on to next tweak and then reboot after that
Next up were going to optimize dalvik verification and optimization, to do this were going to navigate to /system/build.prop and open it and start editing, look for something like this:
Code:
dalvik.vm.dexopt-flags=m=y
after lots of reasearch i came across a thread where CosmicDan Explained how dalvik vm worked with this and etc, and acording to him setting the dalvik vm to this parameter will increase performance all over the board
So replace with this:
Code:
dalvik.vm.dexopt-flags=m=y,v=n,o=v,u=n
Done, now reboot 2 times, then continue on to the next tweak!
Now Init.d Tweaks, We only need 1, So open up root browser and navigate to /system/etc/init.d (this is long text, so i recommend save as file then in android cp and paste, if ur going to do this paste it into notepad++ and then save as .sh and then rename and remove .sh extension, we save as .sh to get the linux formatting so no bootloops or inactive scripts r their...) and make a new file called "97ramscript", Within the script input the following:
Code:
#!/system/bin/sh
# Copyright© 2011 Juwe11
if [ -e /sys/module/lowmemorykiller/parameters/minfree ]; then
echo "2560,4096,6144,12288,14336,18432" > /sys/module/lowmemorykiller/parameters/minfree
fi
if [ -e /proc/sys/vm/swappiness ]; then
echo "20" > /proc/sys/vm/swappiness
fi
if [ -e /proc/sys/vm/vfs_cache_pressure ]; then
echo "70" > /proc/sys/vm/vfs_cache_pressure
fi
if [ -e /proc/sys/vm/dirty_expire_centisecs ]; then
echo "3000" > /proc/sys/vm/dirty_expire_centisecs
fi
if [ -e /proc/sys/vm/dirty_writeback_centisecs ]; then
echo "500" > /proc/sys/vm/dirty_writeback_centisecs
fi
if [ -e /proc/sys/vm/dirty_ratio ]; then
echo "15" > /proc/sys/vm/dirty_ratio
fi
if [ -e /proc/sys/vm/dirty_backgroud_ratio ]; then
echo "3" > /proc/sys/vm/dirty_backgroud_ratio
fi
then save,now long press and set permissions to all of them (basically tick all 9 boxs)
now reboot
8. Keepin it Clean
Now we have everything done and our xPlay is Top notch but we need to keep it top notch!
so download:
Clean Master , And clean caches and empty folders regulary, HOWEVER please dont use TASK KILLERS, their terrible and ruin performance!!!
next up, install Busybox, Download this:
Super Cleany and open root browser and copy Super Cleany to /system/xbin, then set permissions to all (basically tick all 9 boxs), then Open Busybox and install it using the smart install, just use all defualt settings, once installed uninstall the app
Now download Terminal Emulator and type "su -c sclean" but only do this every like 2-3 weeks or when u feel ur device is extremely laggy, what it does? this cleans the device thoroughly and then reboots!
next thing is to disable startup programs, Download ES Task Manager and run the startup apps, click optimize then u can disable the following manually:
Google Play Store
Messaging
u can also disable anything u know of, eg titanium backup!
thats it, everything else leave it, Word for the wise: Dont disable anything u dont know,
Also just a general tip, dont install useless apps, eg Facebook as u can use it thru the browser!
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
That's it! I hope u liked it!
Also please gimme a tnx I spent ages typing this,
Hey pizza_dox don't thank me for pushing the whole "stock". Thank TLRtheory. I PMd him about his setup as he was always talking about the performance of stock. So he's the one who convinced me. However I do appreciate you thanking me. And I would like to thank you for your work. You are always updating your roms and scripts and posting guides or setups. It goes a long way. So thank you
Sent from my R800i using xda premium
---------- Post added at 09:50 PM ---------- Previous post was at 09:41 PM ----------
Also remember all the extra junk you mentioned to me in the system folders such as apps and files thar weren't necessary but left by Sony. Even after you delete the apps some of the files remain. You gave me another 35-40mb of storage.
Sent from my R800i using xda premium
Oh ok, still...
Oh yea forgot those apps, well I was sorta in a rush, will update now,
Edit
Thanx, also I updated but I'm slowly finding stupid typos ans random grammar errors...
(was in a rush...)
Sent from my R800i using xda app-developers app
Is the kernel from Lupus with Lagfix is that the same as Lupus v12.5?
Someone should do a comparison video showing off stock debloated and OCed on games and some emulators. Is it really better for gaming?
Fenrir007 said:
Someone should do a comparison video showing off stock debloated and OCed on games and some emulators. Is it really better for gaming?
Click to expand...
Click to collapse
When I switched from CDMA to the GSM model back in Feb of this year, I tried all sorts of custom roms. What made me really notice the difference was MC4. I could never get past 26fps on a number of custom ROMS. I then flashed the .79 ftf and deblaoted the hell out of it. Big difference. I ran a FPS meter and was getting 40-42fps on stock debloated no V6 supercharger scripts. No nothing. I was overclocked to 1.1ghz on performance and SIO. Ran smooth as silk.....
Dont this the wrong way, I am extremely appreciative of everyone who assists and participates on the XP forum with custom roms however I simply will not go back to a custom rom. Now that being said I did take the systemui.apk form the NXT Rom and replaced it over the stock systemui.apk and I have working toggles on a stock rom.
ozzmanj1 said:
When I switched from CDMA to the GSM model back in Feb of this year, I tried all sorts of custom roms. What made me really notice the difference was MC4. I could never get past 26fps on a number of custom ROMS. I then flashed the .79 ftf and deblaoted the hell out of it. Big difference. I ran a FPS meter and was getting 40-42fps on stock debloated no V6 supercharger scripts. No nothing. I was overclocked to 1.1ghz on performance and SIO. Ran smooth as silk.....
Dont this the wrong way, I am extremely appreciative of everyone who assists and participates on the XP forum with custom roms however I simply will not go back to a custom rom. Now that being said I did take the systemui.apk form the NXT Rom and replaced it over the stock systemui.apk and I have working toggles on a stock rom.
Click to expand...
Click to collapse
Did you notice any difference in emulators? Oh, and I remember trying MC4 on Auroraplay and it was pretty smooth, but I'm not sure about the fps. Might check that next time.
I only use emu up to n64 and everything runs great.
Sent from my R800i using xda premium
Nice guide. Maybe to add odexing script at the end, when it's debloated, to save data space..
I also switched to .79 recently as daily driver. Debloated, odexed, installed new systemui and smartsearch dialer, and it's flying...
Antutu score is around 5500, on stock speed, and i didn't see any lag in games, not even MC4.
ozzmanj1 said:
Is the kernel from Lupus with Lagfix is that the same as Lupus v12.5?
Click to expand...
Click to collapse
Yep,
Bakisha said:
Nice guide. Maybe to add odexing script at the end, when it's debloated, to save data space..
I also switched to .79 recently as daily driver. Debloated, odexed, installed new systemui and smartsearch dialer, and it's flying...
Antutu score is around 5500, on stock speed, and i didn't see any lag in games, not even MC4.
Click to expand...
Click to collapse
Well i aimed to save battery & Performance, forgot about odex, , but generally i see no difference in odex
Pizza_Dox said:
Well i aimed to save battery & Performance, forgot about odex, , but generally i see no difference in odex
Click to expand...
Click to collapse
Not much difference is speed, but it can save around 50-60MB from data partition. And debloadet GB rom have a lot of spare space in /system partition.
Ofcorse, not needed for most users with lupus kernel, and is highly optional.
Bakisha said:
Not much difference is speed, but it can save around 50-60MB from data partition. And debloadet GB rom have a lot of spare space in /system partition.
Ofcorse, not needed for most users with lupus kernel, and is highly optional.
Click to expand...
Click to collapse
Okai, , Well where can i find the Odex Script,
Pizza_Dox said:
Okai, , Well where can i find the Odex Script,
Click to expand...
Click to collapse
I can't recall did i download it somewhere, but i know that Aurora ROM have odexing script in it
EDIt: X-game rom thread have odexing script separate. It's in end of first post
Bakisha said:
I can't recall did i download it somewhere, but i know that Aurora ROM have odexing script in it
EDIt: X-game rom thread have odexing script separate. It's in end of first post
Click to expand...
Click to collapse
tnx will add to op,
The odex file gives me an error when attempting to flash in in recovery. CWM
Oh OK... Well I'm on ICS now (ICS browsing is not good...), just Google it,
Sent from my R800i using xda app-developers app
Pizza_Dox said:
Oh OK... Well I'm on ICS now (ICS browsing is not good...), just Google it,
Sent from my R800i using xda app-developers app
Click to expand...
Click to collapse
Yeah, I was already on it. Just wanted to let you and everyone know first. Soon as I find an odex file I will post a link here or embed it here.
---------- Post added at 07:38 PM ---------- Previous post was at 07:34 PM ----------
Here is a download link, its from GS4 but it says it works on everything from Froyo+
Thank to: MatrixDJ96 (XDA user who provided link) for him posting this:
Source:
http://forum.xda-developers.com/showthread.php?t=2400342
Download Link:
UniversalOdexScriptV62.zip
Link: https://googledrive.com/host/0B2ftBoBlBHTIWVZITGRMenpQeWM/
ozzmanj1 said:
Yeah, I was already on it. Just wanted to let you and everyone know first. Soon as I find an odex file I will post a link here or embed it here.
---------- Post added at 07:38 PM ---------- Previous post was at 07:34 PM ----------
Here is a download link, its from GS4 but it says it works on everything from Froyo+
Thank to: MatrixDJ96 (XDA user who provided link) for him posting this:
Source:
http://forum.xda-developers.com/showthread.php?t=2400342
Download Link:
UniversalOdexScriptV62.zip
Link: https://googledrive.com/host/0B2ftBoBlBHTIWVZITGRMenpQeWM/
Click to expand...
Click to collapse
Tnx alot, , Updated OP,
ozzmanj1 said:
Yeah, I was already on it. Just wanted to let you and everyone know first. Soon as I find an odex file I will post a link here or embed it here.
---------- Post added at 07:38 PM ---------- Previous post was at 07:34 PM ----------
Here is a download link, its from GS4 but it says it works on everything from Froyo+
Thank to: MatrixDJ96 (XDA user who provided link) for him posting this:
Source:
http://forum.xda-developers.com/showthread.php?t=2400342
Download Link:
UniversalOdexScriptV62.zip
Link: https://googledrive.com/host/0B2ftBoBlBHTIWVZITGRMenpQeWM/
Click to expand...
Click to collapse
Forgot to add this important stuff in order to use the odex script, sorry ya'll.
How to odex:
- download file
- go to recovery
- install zip
- reboot
- open terminal emulator (will be installed automaticaly)
- type su to obtain room permission
- type dexo -h to show possible commands for your phone
- type dexo -one of the option that you have decided
Pizza_dox can you add to your OP. Thanks
---------- Post added at 08:57 PM ---------- Previous post was at 08:16 PM ----------
Just a tip. I typed in SU in the terminal emulator that is installed from the script.
Then type in dexo -h and it gives you a list of options. If you want to odex your whole rom type in:
dexo -all
Then hit enter give it a minute, then it will reboot and you are done.

Categories

Resources