Is it possible to use the initrd patcher.zip which makes ist possible to use an ext4-partition on sd-card as internal memory with the actual Pacman-Rom for Xperia-Pro?
The initrd patcher.zip is mentioned in a video-manual for installing Pacman Rom on a HTC HD2, so I wonder if this is possible for Xperia-Pro too.
Or is there another way for the Pro to get extra internal memory?
Philipp
Old thread pupped up, sorry, but actually I try to find something like that for my sony too, it will work?
good job
Related
Maybe it's an idea for the developers when they create rom's to include smaller boot images (2.2MB) by default.
This will solve the issue with the bad blocks on several devices.
It depends on the kernel used in the ROM. If the kernel is closed source like the kernel on Dj Droid (it's still a HTC test ROM) then there's no way to get it working.
On other ROMs you most probably gonna lose features such as ext2/3 mounting (needed for old school A2SD).
All you can do is hope..
beidl said:
It depends on the kernel used in the ROM. If the kernel is closed source like the kernel on Dj Droid (it's still a HTC test ROM) then there's no way to get it working.
On other ROMs you most probably gonna lose features such as ext2/3 mounting (needed for old school A2SD).
All you can do is hope..
Click to expand...
Click to collapse
OpenDesire 1.5 supports ext and and has a boot image of 2.2MB. Maybe when 1.6 comes out, Adam can changes his boot image back to 2.2MB, otherwise there's not a lot of choice flashing different roms
Now found this at the HTC Desire forum,but don`t tested
at the moment and don`t know if this works on Desire Z/G2
too!
It seems to be a good solution.
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
More info and downloads:
DATA2whatever-Flashable All-in-one-data2sd-Solution v0.2e + v0.4 test
http://forum.xda-developers.com/showthread.php?t=867049
Hey mate..Thanks for the contribution..I just wanted to ask if there could be any bennefits to using this on a device as DZ..internal memory is more than suufcient and our nand I/O are pretty huge..Back when i had a HTC Desire i used this hack, but i am not sure if this could result in any kind of benefit..Please share ur knowledge/point of view i am interested.
Awesome I might test later... Although like what Chris said, The I/O speeds are pretty fast already
did anyone test this out
chris2busy said:
Hey mate..Thanks for the contribution..I just wanted to ask if there could be any bennefits to using this on a device as DZ..internal memory is more than suufcient and our nand I/O are pretty huge..Back when i had a HTC Desire i used this hack, but i am not sure if this could result in any kind of benefit..Please share ur knowledge/point of view i am interested.
Click to expand...
Click to collapse
Well if you have a class 6 or better sdcard then it will be faster then internal memory that's the only real benefit that I could think of!
Sent from my HTC Vision
Sorry to ask, but i really don't understand this..? what is this about? creating more virtual memory or what is it?
thx
I tried this and it kept causing a boot loop for me.... but I realized later that I think if I had mounted data and cache, like you do for GB gaps it probly would have worked.... just a suggestion. Also there is another all in one data/cache/dalvikcache to sd-ext option that I am testing now.... but I can't remeber were I found it. I think it is called dtappstosd or something like that. And is from the developer dark something...........
EDIT ok he is called dark tremer and it can be found by searching for apps2sd or datasd
EDIT: I should have said mount system/and data.....
Sent from my HTC Vision using XDA App
This is a good idea and good find however, since we have Darktremors a2ext for the G2 and it does data2sd I don't see a huge need for this.
Hello,
After i have runed well supercharger , i want to swap mi sdcard. But many kernels does not support this. And i get error via adb (applet not found) , i have a sense based rom (rcmix) wich has already by 100-150mb ram free , but i want to have swap , wich kernel works for that?
unity and rcmix3d kernel both support swap...
your problem must be something else. How did you create your swap partition? (means you first have to format your sdcard and create a swap partition)
maybe redownload the script
EDIT: and use the thanks button if people try to help you... (i saw you posted your problem in different threads)
I have partitioned the SD , i add i tryed with two different SD cards. And not working , the error seems is because the kernel does not support it
xdadevolpers said:
I have partitioned the SD , i add i tryed with two different SD cards. And not working , the error seems is because the kernel does not support it
Click to expand...
Click to collapse
hm... never had problems with unity kernel (swap related), which version of unity do you use?
unity kernel v10 supports swap for sure
Ok solved , there was busybox version problem
First: Have Alquez's CM7.2 installed
Second: Flash his new kernel that supports linux swap partitions
Third: Read my tutorial on creating a Ext partition and a third Linux swap partition
Fourth: Read this post by me on how to enable swap persistantly and adjust swappiness.
Does it make any sense to use a swap partition?
I think, no. Why not? Read about in the official cm wiki: http://wiki.cyanogenmod.com/wiki/Swap_and_Compcache
Android has a very good built-in memory management. Apps not used any more will be closed and memory released. Swap does change that behavior, because RAM now (virtually) is much bigger. There's no sense anymore in cleaning parts of the RAM.
Androids mem management is much more efficient.
The only reason to use swap would be 1st generation phones (G1, Dream, Magic). Wildfire S would have no advantage of swap! Rather the opposite.
Using swap should require at least class 6 SD for not slowing down the device. Plus, the additional write accesses will wear down your sd much quicker.
Everyone has to decide if he wants this. I decided, not to do.
theq86 said:
does it make any sense to use a swap partition?
Click to expand...
Click to collapse
I'm just telling you how. You'll have to decide that for yourself.
Personally I'm just playing around with it...cause I can.
d33ps1x said:
I'm just telling you how. You'll have to decide that for yourself.
Personally I'm just playing around with it...cause I can.
Click to expand...
Click to collapse
Well, I read a little bout that topic and consider it more harming than useful. (read my edited post above)
Consider setting /proc/sys/vm/swappiness to 10 or even lower for android ?
what on earth is swap anyway?
swap is taking apart of your sd card or internal memory as ram memory like pageing file in windows
STOP! THIS MOD IS ONLY FOR SAMSUNG ROM! NOT WORKING ON ASOP, CM OR OTHER!
Hello folks,
i'm new of gs4 but not of android. I'm a php developer and I like to play with my android devices and Linux but I'm surely not a king on Linux little more than a newbie
But first of all i want to describe the scenario:
THE PROBLEM
Since in the past i had a desire hd and i had a normal management of internal memory and sd as separate process my problem is to have a similar management on my gs4. Also i have 16gb version of gs4 and i want install a lot of apps!!! Also i have a 64gb sd card available. I have noticed that my gs4 installs all on internal sd also and apps download all their resources on internal sd. So with some heavy games and heavy app the internal memory became quickly full!!!
THE SOLUTION
My aim so became to use the external sd as internal sd and internal sd ONLY for apps installation so became used as internal memory!
And... yes after a lot of testing and work i have to make this working!!! So now my 64gb external sd is used for all tasks which the internal sd was used and the internal sd is only used for apps storage!! All extra files (resources, caches, etc etc) are stored in my external SD!!
HOW TO GET IT >>> VERY SIMPLE
Download ExtSd2InternalSd here correct latest version for JB(4.3) or KK(4.4.2)
WHAT YOU NEED
International galaxy s4 (i9505) with root, insicure kernel and kernel with init.d support
External sd card class 4 or superior. (you can try with class 2 also and tell us how it goes)
Rom with init.d support (if not init.d support see below)
My file attached
THE GUIDE
First of all make a nandroid backup!! I'm not responsable for any problem! You make this procedure at your risk!!!
Changelog and upgrade steps in second post
Format external sd card from your pc as fat32 or extfat
Copy attached zip in you external sd. Choose the right zip. If you have formatted your sd as fat32 choose _fat32 version, if the filesystem is extfat choose _extfat version
Go into recovery
Flash the zip for your sd card file system
Reboot and....enjoy your memory increase!!!!
IMPORTANT NOTES:
If you want to access to your INTERNAL SD you have to go with astro or ES filemangaer into /sdcard/intSdCard/0. Take attention to go into intSdCard
After the flash, please copy all content of /sdcard/intSdCard/0 to /sdcard to avoid file conflicts and files lost.
When you plug the phone to pc, the first sd is the external and you can access internal into intSdCard/0. DON'T TOUCH SECOND PARTITION SHOWED!
HOW CAN I CHECK IF ALL IS OK?
Is very simple.
With a file explorer with root ability go into /sdcard. Check If in this location you can see your files of your EXTERNAL SD card and check if you can see in /sdcard/intSdCard/0 the content of INTERNAL sd
If you want to remove the mod with a file explorer with root ability, delete the file 11extsd2internalsd from etc/init.d folder
IF YOU HAVE ISSUES
Please report:
Rom and kernel in use
the file system of external SD card and attach here
the log file stored in data/extsd2internalsd
IMPORTANT NOTE FOR DEV/ROM COOKER/WHO WANT'S TO PORT MY MOD
If you want to use the ExtSd2InternalSd in your ROM, give proper credit and a HTML link to this thread.
Do not modify it, do not rebrand it: the name is ExtSd2InternalSd
Modification and redistribution of the attached script is not permitted at all without permission of Mattiadj member
This means that you cannot feel free to zip up the attached script with other tweaks and this means that it is not be edited and shared.
WARNING for USERS: If you use or encounter a ROM with the ExtSd2InternalSd without proper credit given and no ExtSd2InternalSdr source links, please make the Developer aware of it, and if necessary, please let me know about it. Thank you.
Personal Use: You may tweak the ExtSd2InternalSd (leaving credits intact) to your own personal liking as long as it is NOT redistributed in any way.
If you like my job, buy me a beer
Help Mattiadj to buy a Galaxy s5 to make ExtSd2InternalSd mod
Now....feedback, feedback and feedback!
UPGRADE STEPS
Simply flash new zip over the older one.
Wipe cache and davilk just for sure.
CHANGELOG
v6 - 21/02/2014
v6 is compatible with latest 4.4.2 leaked XXUFNAD. Not use v5 for kk
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
v5 - 10/12/2013
Extended compatibility with all TW roms
Code clean
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
v4.1 - 19/11/2013
Fixed permission problem with some app like beatiful widgets and others
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
v4- 14/11/2013
Completely new code
Changed the mount point of internal to /sdard/intSdCard/0
Fixed problem of app2sd apps which disappear
Fixed bootloop problem
Fixed first boot camera lag
Fixed timing problem for switch on some rom/kernel combo
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
v3- 31/10/2013 Hallowen edition
TW Android 4.3 (MJ5 and above) support
Changed the mount point of internal to /data/media/intSdCard/0
Fix for app installed on external sd somentimes being lost
Some cases of bootloop fixed (need testing, please report)
Speed improvement!
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
v2 - 12/10/2013
Not need to install or use Folder mount app anymore! Simply flash and enjoy!
Media files problem fixed (wait for second reboot to make it ok or force media scanner one time)
Same size in memory managment fixed and not inverted!
Native app2sd support restored
Some app were not installable if the internal free space is less than the app space. Now this problem is fixed
Speed improvement!
Now is possibile to flash it before the first boot after new rom installation.
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
v1 - 3/10/2013
First working relase
US Variants
Is this working on any of the US Variants? Specifically Verizon SCH-1545?
Thanks and Nice Work!!!
EMSpilot said:
Is this working on any of the US Variants? Specifically Verizon SCH-1545?
Thanks and Nice Work!!!
Click to expand...
Click to collapse
I don't know mate. Try and report... I have the i9505 so I can't test on other device
From universe with my gs4 snapdragon powered! now Free
SCH-1545 Verizon S4
Here are the Screen Shots you requested. I formated SD Card with extfat.
It does not work on my S4.
EMSpilot said:
Here are the Screen Shots you requested. I formated SD Card with extfat.
It does not work on my S4.
Click to expand...
Click to collapse
Which kernel do you have?
Do you see internal storage in /data/media/0?
Have you parched your system with folder mount?
From universe with my gs4 snapdragon powered! now Free
Stock Kernel
mattiadj said:
Which kernel do you have?
Do you see internal storage in /data/media/0?
Have you parched your system with folder mount?
From universe with my gs4 snapdragon powered! now Free
Click to expand...
Click to collapse
I have the stock Samsung Dev Phone Kernel. Version 3.4.0-562219
Yes I see internal in /data/media/0.
Yes I patched my system with Folder Mount.
EMSpilot said:
I have the stock Samsung Dev Phone Kernel. Version 3.4.0-562219
Yes I see internal in /data/media/0.
Yes I patched my system with Folder Mount.
Click to expand...
Click to collapse
Try to use a custom kernel with init.d support. Init.d support is required
From universe with my gs4 snapdragon powered! now Free
Unfortunately it's not working for me. Phone just boots as normal, external card is still external and all my apps installed work as normal with their data still on internal SD.
Running foxhound 2.0 with faux beta. Kernel doesnt have exfat support so I only tried fat32. And yes, I installed foldermount and patched system.
Please keep working on this, would be excellent to have it working.
Wait up 2mins before check in /sdcard, mod needs to make a lot of stuffs after first boot
Does it work with 9500
drlalitbida said:
Does it work with 9500
Click to expand...
Click to collapse
I don't know...you can try...i have i9505
init.d
mattiadj said:
Try to use a custom kernel with init.d support. Init.d support is required
From universe with my gs4 snapdragon powered! now Free
Click to expand...
Click to collapse
My kernel has init.d support. I even tested it with Universal Init.d.
EMSpilot said:
My kernel has init.d support. I even tested it with Universal Init.d.
Click to expand...
Click to collapse
Is your a i 9505?
From universe with my gs4 snapdragon powered! now Free
mattiadj said:
Is your a i 9505?
From universe with my gs4 snapdragon powered! now Free
Click to expand...
Click to collapse
No SCH-1545
EMSpilot said:
No SCH-1545
Click to expand...
Click to collapse
I haven't this phone... I can't tell you why it is not working...
From universe with my gs4 snapdragon powered! now Free
Screen Shot
mattiadj said:
I haven't this phone... I can't tell you why it is not working...
From universe with my gs4 snapdragon powered! now Free
Click to expand...
Click to collapse
Can you please post your Screen Shots?
/mnt folder ant take a shoot
/dev/block/vold folder and take a shoot
with terminal emulator type su then mount and take a shoot
Thanks
EMSpilot said:
Can you please post your Screen Shots?
/mnt folder ant take a shoot
/dev/block/vold folder and take a shoot
with terminal emulator type su then mount and take a shoot
Thanks
Click to expand...
Click to collapse
It is almost equal to yours so it should works but I don't know why not.
This mod is very complicated. For example a version which works for i9500 doesn't works to i9505 so... We have to wait for i9505 users feedback.
For me it's fully working from 5 days and finally I can feel the power of gs4!!!
From universe with my gs4 snapdragon powered! now Free
Good
Sent from my Lenovo A690 using xda premium
Perhaps a Kernel problem ?
Hello Mattiadj,
I don't know why it doesn't work for me.
As a matter of fact, the system sees that i have 2 internal SD.
I have a Gt-i9505 (French version) rooted with CF-Auto Root.
I have init.d support with universal init.d
The Rom is samsung MH8.
I've installed Folder Mount and patched the system.
I think the problem might be a Kernel problem. Which one do you use ?
Thanks a lot.
PS: I used your patch when I had a GS 3, and it worked perfectly.