Full NTFS Read Write support for Xperia 2011 devices! - Sony Ericsson Xperia Neo, Pro

Noob Friendly section
Warning: I will take no responsibility for data loss or corruption that may occur on NTFS drives, though ntfs-3g has been known to be safe.
Steps to get NTFS full read-write working:
1. Install attached .zip via recovery (or push the file )
2. Reboot
3. To mount OTG drives, use the script attached with "Script Manager" app (as root)
(Even NTFS microsd cards can be mounted with minor changes)
4. To unmount, just press "Unmount" in USB OTG helper
This will be built in USB OTG helper app soon!
Download
1. ntfs-3g-cwm-install_v2
2. Mount NTFS script (remove .txt)
More details

Important update! Please upgrade!!

Does it support all kernels/ROMs? :good:

I am using the package posted by DooMLoRD on Arc forum, does this one have any difference ?
Will ntfs-3g need recompile for kernels with custom version string ? (iirc it does not)

t105 said:
Does it support all kernels/ROMs? :good:
Click to expand...
Click to collapse
All based on Sony ICS Beta or ICS kernels
adridu59 said:
I am using the package posted by DooMLoRD on Arc forum, does this one have any difference ?
Will ntfs-3g need recompile for kernels with custom version string ? (iirc it does not)
Click to expand...
Click to collapse
1. Where is that package? Any link? I do not know of that package
2. No need (it is compiled for linux-gnueabi ) Fuse may be specific for the kernel

shardul_seth said:
1. Where is that package? Any link? I do not know of that package
Click to expand...
Click to collapse
http://forum.xda-developers.com/showpost.php?p=22031795&postcount=2297
shardul_seth said:
2. No need (it is compiled for linux-gnueabi )
Click to expand...
Click to collapse
Well thats the TC prefix.. so ntfs-3g is standalone, nice.
shardul_seth said:
Fuse may be specific for the kernel
Click to expand...
Click to collapse
It actually is... seems like I'll have to do a modules package with it.

adridu59 said:
http://forum.xda-developers.com/showpost.php?p=22031795&postcount=2297
Well thats the TC prefix.. so ntfs-3g is standalone, nice.
It actually is... seems like I'll have to do a modules package with it.
Click to expand...
Click to collapse
Maybe ntfs-3g is not mentioned in that thread.. That is why my search did not return anything
Anyway, this is the latest stable ntfs-3g (Jan 2012), but maybe DoomLorDs is also same.. ( if i had found earlier, it would have saved me some work )

Related

[Discontinued] xWildFirePro 2.1 v0.2b

Hello,
This is the my port of the Wildfire 2.1 Eclair Rom for the Mini Pro.
I chose Eclair because the drivers will probably be easier to find like this, you can expect a 2.2 Sense rom to come once the 2.2 AOSP is done.
Project discontinued due to GSM incompatibilities.
[Download v0.2a Here]
[Download v0.2b Update]
The Work's
Apps2SD
ADB
Booting
Display
xRecovery
Touch
SD-Card
OpenGL
Ext4 for Apps2SD
OMX (proper video playback)
Sound
The Won't 's
Charging [It says it's charging but it's not!]
GSM/3G
WiFi
Keyboard layout
USB mounting
Vibration
Sensors
Bluetooth
LED Flash & Light
Camera
YouTube Video showing installation.
YouTube Video in high quality by maxaan
Developer Notes:
Developer Notes:
I ask developers for help to try out finding how to get the drivers for the non-working hardware parts to work. Simply said, you need to copy drivers from the SE 2.1 build to this build and report if it worked and which files were used.
Changelog:
Changelog:
Project on hold until progress on CM port and until I have more users supporting me, not in the form of donations but actual work.
v0.2b is confirmed to work. It fixes sound, video playback and the dialer lags less now, thanks nefan
v0.2a is up! Prepared the system for future drivers, little faster, ext4 support for apps2sd
v0.2 Alpha is up! Fixed a lot: SD, Touchscreen, xRecovery, OpenGL
v0.1 Technical Preview / Pre-Alpha released for developers.
Hey, where do i download the x10 mini drivers??
jmms94 said:
Hey, where do i download the x10 mini drivers??
Click to expand...
Click to collapse
I have provided an link in post 2. But this is really dev only, please don't try if you don't know what you're doing, since you WILL screw up your phone otherwise.
edit
good work
when you are done with the 2.2 aosp couldnt you just upload the ported sense.apk in that thread so you can install it via root explorer or xrecovery or something?
maxaan said:
when you are done with the 2.2 aosp couldnt you just upload the ported sense.apk in that thread so you can install it via root explorer or xrecovery or something?
Click to expand...
Click to collapse
Nope, sense is integrated deep into the system. It isn't just an apk, it's an entire framework and uses more than just one application (music player, contacts, image viewer, web browser, etc.)
Mikevhl said:
Nope, sense is integrated deep into the system. It isn't just an apk, it's an entire framework and uses more than just one application (music player, contacts, image viewer, web browser, etc.)
Click to expand...
Click to collapse
oowkay.. i understand
i think this is the drivers for the touch: i cant upload it right now but if u can find them by yourself in the stock that would be good
/sys/bus/serio/
/system/etc/ts_fw_update.sh
/system/etc/firmware/cy8_truetouch_jtouch.hex
/system/etc/firmware/cy8_truetouch_tpk.hex
i read on another thread that it was those.
maxaan said:
i think this is the drivers for the touch: i cant upload it right now but if u can find them by yourself in the stock that would be good
/sys/bus/serio/
/system/etc/ts_fw_update.sh
/system/etc/firmware/cy8_truetouch_jtouch.hex
/system/etc/firmware/cy8_truetouch_tpk.hex
i read on another thread that it was those.
Click to expand...
Click to collapse
Aaargh I can't pull sys/bus/serio
Thanks for the tip though!
Mikevhl said:
Aaargh I can't pull sys/bus/serio
Thanks for the tip though!
Click to expand...
Click to collapse
Im just glad to help
I will se if i can find the other drivers
Mikevhl said:
Aaargh I can't pull sys/bus/serio
Thanks for the tip though!
Click to expand...
Click to collapse
sys/bus/serio is a folder.
maxaan said:
sys/bus/serio is a folder.
Click to expand...
Click to collapse
This things is in the folder
sys/bus/serio/devices/serio0
sys/bus/serio/drivers/cy8ctma300_ser/bind
sys/bus/serio/drivers/cy8ctma300_ser/bind_mode
sys/bus/serio/drivers/cy8ctma300_ser/description
sys/bus/serio/drivers/cy8ctma300_ser/serio0
sys/bus/serio/drivers/cy8ctma300_ser/uevent
sys/bus/serio/drivers/cy8ctma300_ser/unbind
sys/bus/serio/drivers_autoprobe
sys/bus/serio/drivers_probe
sys/bus/serio/uevent
As i said before i will try to find drivers for more things later. Im at school right now so i look for that when i come home.
maxaan said:
sys/bus/serio is a folder.
Click to expand...
Click to collapse
Yes I understood that, but sys/bus/serio/devices/serio0 is as well, and MANY files refuse to be pulled, even when mounted rw and pulling through recovery (uses root permissions)
Mikevhl said:
Yes I understood that, but sys/bus/serio/devices/serio0 is as well, and MANY files refuse to be pulled, even when mounted rw and pulling through recovery (uses root permissions)
Click to expand...
Click to collapse
Try with only
system/etc/firmware/cy8_truetouch_jtouch.hex
system/etc/firmware/cy8_truetouch_tpk.hex
or whole firmware folder?
Mikevhl said:
Yes I understood that, but sys/bus/serio/devices/serio0 is as well, and MANY files refuse to be pulled, even when mounted rw and pulling through recovery (uses root permissions)
Click to expand...
Click to collapse
Try to "cat old-file new-file"
and then pull the new-file.
maxaan said:
Try with only
system/etc/firmware/cy8_truetouch_jtouch.hex
system/etc/firmware/cy8_truetouch_tpk.hex
or whole firmware folder?
Click to expand...
Click to collapse
not working
EGL folder didn't fix it either.
is /sys/ formatted too when formatting /system ?
If not serio won't fix it. I've included references in init.buzz.rc but still no good
/sys files are part of the kernel - you won't be able to pull or modify them.
Ah crap, sony decided to use another touchscreen in the Pro, that's why touch is working on the mini but not on the pro

NTFS-3G for SGS2???

Atm, SGS2 is the best Android phone imo. And it's really pity that we can't play a full one-part 1080p HD movie (>4Gb files) with this beast, especially on a TV full HD via MHL cable I think we have already root, some custom roms as well as some custom kernels, we will have soon CyanogenMod too,... But I wonder if there will be a way to make this dream phone support the NTFS or exFAT. I've searched alot and found this "ASUS Selects Tuxera File System Software for Eee Pad™ Tablets" http://www.tuxera.com/news/asus-selects-tuxera-file-system-software-for-eee-pad™-tablets/ so the Eee Pad Tablets (Android system) can support perfectly the NTFS via the Tuxera file system software (the homepage: http://www.tuxera.com). And I found this also "Tuxera Merges and Updates NTFS Open Source Projects" http://www.tuxera.com/news/tuxera-m...e-cross-platform-ntfs-package-as-open-source/ and the source http://ntfs-3g.git.sourceforge.net
I haven't the knowledge to do anything about that, but I hope someone could do it and SGS2 will really be the beast
Load this module with insmod, I compiled that and tested with KE7 kernel. Here is the post about my test with an 250G external HD over OTG using NTFS. (And I assume you can read Chinese. )
http://www.mobile01.com/topicdetail.php?f=568&t=2200017&r=3&last=28530206
***Use for your own risk, I am not responsible for any damage or data lost for using this module***
jackleung said:
Load this module with insmod, I compiled that and tested with KE7 kernel. Here is the post about my test with an 250G external HD over OTG using NTFS. (And I assume you can read Chinese. )
http://www.mobile01.com/topicdetail.php?f=568&t=2200017&r=3&last=28530206
Click to expand...
Click to collapse
Will there be any advantage of NTFS over present file system ? its more safer in terms of security I hope. I support ext 4, as its easy for android to recognize & link with linux....
I'm sure some devs are definitely interested in it.you may also put a word to CM7 developers pls....
The goal is file size larger than 4gb..... no way with sdcard on fat 32....
Sent from my GT-I9100 using XDA App
This would be fantastic if possible!
But I thought the SGS2 supported ext3/ext4? Or is that system-only and not for user storage (MicroSD/16gb internal)?
EDIT: Just tested, albeit with a lousy 32MB MicroSD card labelled as "TransFlash" (!!). When it was ext3-formatted, the phone thought it was corrupt. When it was ext4-formatted, the phone seemed to accept it, but it wouldn't show up in USB mode. So no support for this. Bummer.
jackleung said:
Load this module with insmod, I compiled that and tested with KE7 kernel. Here is the post about my test with an 250G external HD over OTG using NTFS. (And I assume you can read Chinese. )
http://www.mobile01.com/topicdetail.php?f=568&t=2200017&r=3&last=28530206
Click to expand...
Click to collapse
Sorry, I can't read chinese at all. Can you re-post here please? It really sounds good if we have NTFS support for >4Gb files
Sent from my GT-I9100 using XDA Premium App
Xero Xenith said:
This would be fantastic if possible!
But I thought the SGS2 supported ext3/ext4? Or is that system-only and not for user storage (MicroSD/16gb internal)?
EDIT: Just tested, albeit with a lousy 32MB MicroSD card labelled as "TransFlash" (!!). When it was ext3-formatted, the phone thought it was corrupt. When it was ext4-formatted, the phone seemed to accept it, but it wouldn't show up in USB mode. So no support for this. Bummer.
Click to expand...
Click to collapse
If you're on a Windows Machine, that one probably doesn't support ext*-filesystems
Usage varies depends on yr situtation. For me, I just need to mount my powered 250g hd over OTG. See my recent post over there: http://forum.xda-developers.com/showthread.php?t=1070573
Sent from my GT-I9100 using XDA Premium App
jackleung said:
Load this module with insmod, I compiled that and tested with KE7 kernel. Here is the post about my test with an 250G external HD over OTG using NTFS. (And I assume you can read Chinese. )
http://www.mobile01.com/topicdetail.php?f=568&t=2200017&r=3&last=28530206
Click to expand...
Click to collapse
Thanks - haven't tried to do anything useful with this yet, but at least the module loads fine
Out of interest, may I ask what steps you did to compile this? I haven't yet managed to compile a working module for a stock kernel because I always get "<module>: disagrees about version of symbol module_layout". Did you use the CodeSourcery toolchain (which one?) and the c1_rev02_defconfig? Did you make any other relevant changes to the kernel config other than selecting ntfs as a module?
TIA.
jackleung said:
Load this module with insmod, I compiled that and tested with KE7 kernel. Here is the post about my test with an 250G external HD over OTG using NTFS. (And I assume you can read Chinese. )
http://www.mobile01.com/topicdetail.php?f=568&t=2200017&r=3&last=28530206
Click to expand...
Click to collapse
If I load this module, will the SGS2 be able to read a NTFS formatted MicroSD card?
RMXO said:
If I load this module, will the SGS2 be able to read a NTFS formatted MicroSD card?
Click to expand...
Click to collapse
No, not yet. We have to wait for someone who can compile a good module. But I don't understand why the devs didn't talk anything about that
Sent from my GT-I9100 using XDA Premium App
True I wanted to move a blueray film to watch ( ffvii-advent children) but the file size was too big even though I had 11GB of free internal space. So I formated my microsd 32GB to ntfc and moved the movie over on my pc. But then again when I inserted the microsd into my sgsII it wouldn't recognise the card......sad really and for it to not work on a phone which is right now the best mobile to play mkv blueray movies.
Couldn't do this on my sgs either.
Sent from my GT-I9100 using XDA Premium App
mljjlm said:
If you're on a Windows Machine, that one probably doesn't support ext*-filesystems
Click to expand...
Click to collapse
Sorry to quote so far back, but I'm still curious.
Nope, I'm on Ubuntu Linux, which supports my ext3 and ext4 partitions just fine. I heard the phone was formatted as ext4 - so then why would it not recognise an ext4 memory card?
Would it be easier to implement ext3/4 support than NTFS? If so, ext3/4 supports large files and has done for a long time
jps1974 said:
Thanks - haven't tried to do anything useful with this yet, but at least the module loads fine
Out of interest, may I ask what steps you did to compile this? I haven't yet managed to compile a working module for a stock kernel because I always get "<module>: disagrees about version of symbol module_layout". Did you use the CodeSourcery toolchain (which one?) and the c1_rev02_defconfig? Did you make any other relevant changes to the kernel config other than selecting ntfs as a module?
TIA.
Click to expand...
Click to collapse
I am quite busy recently and may not have time to reply posts promptly.
This is my first time to work with Android kernel and spend me a night to figure out on a Ubuntu VM. I basically follow tegrak's thread (http://forum.xda-developers.com/showthread.php?t=1113191) and d/l the source. Within the source, there is s readme for which CodeSourcery toolchain to use. Then follow tegrak's instruction to use "make menuconfig" to enable ntfs as module and compile.
But the kernel module is read only, for read/write support you need ntfs-3g and I guess for ntfs-3g you need the fuse kernel module and libs
hakkinenvthh said:
No, not yet. We have to wait for someone who can compile a good module. But I don't understand why the devs didn't talk anything about that
Sent from my GT-I9100 using XDA Premium App
Click to expand...
Click to collapse
The module is good and are able to read files/directories on NTFS partition for rooted apps if you really read my link in #8. I just need to figure out how to make do it for non root apps which probably just a matter of how I mount it. But I don't have time to investigate at the moment.
jackleung said:
The module is good and are able to read files/directories on NTFS partition for rooted apps if you really read my link in #8. I just need to figure out how to make do it for non root apps which probably just a matter of how I mount it. But I don't have time to investigate at the moment.
Click to expand...
Click to collapse
Yes, I know it, and I just wait a module that works perfectly with all the apps. So I hope you can make it and thanks for your works
Sent from my GT-I9100 using XDA Premium App
jackleung said:
I am quite busy recently and may not have time to reply posts promptly.
This is my first time to work with Android kernel and spend me a night to figure out on a Ubuntu VM. I basically follow tegrak's thread (http://forum.xda-developers.com/showthread.php?t=1113191) and d/l the source. Within the source, there is s readme for which CodeSourcery toolchain to use. Then follow tegrak's instruction to use "make menuconfig" to enable ntfs as module and compile.
Click to expand...
Click to collapse
Thanks for taking the time to reply - unfortunately that didn't work for me. But I received a reply from Samsung today, will try what they told me tomorrow and post a small guide if it works
Sent from my GT-I9100 using Tapatalk
See my post here for information I received from Samsung about compiling modules. Basically, the kernel config that ships with the source package is incorrect.
jps1974 said:
See my post here for information I received from Samsung about compiling modules. Basically, the kernel config that ships with the source package is incorrect.
Click to expand...
Click to collapse
So any updates for NTFS-3G? I really really want it, hope it will work soon. Courage, man Best regards!!!

[KERNEL] [ICS] [Stock WIFI restore] Stock ICS with init.d support+root+cwm! [25 May]

Latest Kernel mod -> Go Here
Based on 4.1.B.0.431 ICS 4.0.4 Kernel, features new CPU governors and autoroot.
Q. Who would benefit from this?
Those who want to stick to stock kernel for Official ICS (4.1.A.0.562), but would still want to get the benefits of init.d scripts, and native root access!
I personally feel ICS stock kernel is more battery friendly than Night-elf RC2 kernel.
Q. Features?
- init.d support (credits DooMLoRD for showing the way)
- ro.secure=0 (that is now adb has native root access!)
- clockworkmod 5.5 (credits Night-elf)
- no other changes to stock kernel
Download
boot_ICS_plus_v5.img
Changes: Previous features +
1. Switched to Doomlord's arc ics recovery (better features)
2. Important bug-fixes. (Please update!)
boot_ICS_plus_v4.img (updated 2012-05-19)
Changes: Previous features +
1. Perfect ADB connection in recovery.
2. Short vibrate on entering recovery added
boot_stock_ICS_initd_root_cwm_v3.img
Changes: Now restores stock WIFI modules (so you can directly flash from Night-elf kernel without losing WIFI!)
Those who are using v2 without problems do not need to update!
boot_stock_ICS_initd_root_cwm_v2.img
Changes: CWM 5.5, with ADB & USB mount (credits Night-elf)
Q. How to install?
Just as you install a custom kernel.
If no wifi, just delete "modules_version" and "modules_reversion" in "/system/lib/modules" and reboot
Steps:
1. Follow this guide to install official ICS + root
(Do not install CWM)
2. If you already have DooMLoRD/nAa CWM, go to /system/bin with any root explorer and delete recovery.tar and chargemon
3. Power down device and get into FASTBOOT MODE -> switch off device hold menu key & plugin usb. (LED notification turns BLUE)
4. check fastboot with "fastboot devices"
5. flash boot image
fastboot flash boot boot.img
6. Reboot with "fastboot reboot"
7. Enjoy!
Nice job!! Thanks!!
sent from my digital typewriter
Why not add recovery and busybox ?
adridu59 said:
Why not add recovery and busybox ?
Click to expand...
Click to collapse
Plan to add su, superuser.apk and busybox in v2
But solutions for all these exists, so not in a hurry..
shardul_seth said:
Plan to add su, superuser.apk and busybox in v2
But solutions for all these exists, so not in a hurry..
Click to expand...
Click to collapse
Just extract Night-Elf ramdisk and use it. I was planning on doing it in fact.
shardul_seth said:
Plan to add su, superuser.apk and busybox in v2
But solutions for all these exists, so not in a hurry..
Click to expand...
Click to collapse
That would be nice too.
Most important is CWM recovery.
Don't want to add it manually after flashing rom..
Yeah would be nice to see recovery, cause system recovery doesn't allow to mount sdcard in recovery mode, moreover adb cannot see phone in system recovery.
adridu59 said:
Just extract Night-Elf ramdisk and use it. I was planning on doing it in fact.
Click to expand...
Click to collapse
NO, NO !! His ramdisk has installer for his WiFi modules!
Would have to modify his ramdisk anyway!
Night-elf kernel is good, but it is not from latest ICS sources, I feel battery drain is a little bit more than his GB kernel!!
ZduneX25 said:
Yeah would be nice to see recovery, cause system recovery doesn't allow to mount sdcard in recovery mode, moreover adb cannot see phone in system recovery.
Click to expand...
Click to collapse
Yes, very valid points indeed!!
@All: Any suggestions on which recovery to use?
shardul_seth said:
Yes, very valid points indeed!!
@All: Any suggestions on which recovery to use?
Click to expand...
Click to collapse
Same as nightelf's, 5.5.
His sd mount works using that one.
shardul_seth said:
NO, NO !! His ramdisk has installer for his WiFi modules!
Click to expand...
Click to collapse
I didn't know that (I failed reading features..), that's why my wifi doesn't turn on gotta restore stock modules asap.
shardul_seth said:
NO, NO !! His ramdisk has installer for his WiFi modules!
Would have to modify his ramdisk anyway!
Click to expand...
Click to collapse
Yep but that is no big deal. Make a diff patch for the new ramdisk (there shouldn't be much changes, and there is just a few files on the ramdisk...) + remove res/modules folder and launch entry from init.rc.
adridu59 said:
Yep but that is no big deal. Make a diff patch for the new ramdisk (there shouldn't be much changes, and there is just a few files on the ramdisk...) + remove res/modules folder and launch entry from init.rc.
Click to expand...
Click to collapse
Yep, already updated as you speak!! See first post..
To delete.
___________
Sent form awesome Neo V
shardul_seth said:
Yep, already updated as you speak!! See first post..
Click to expand...
Click to collapse
Good one, but no busybox ?
Why is it that every time i use NE's kernel i end up with no wifi when moving to another one? It's really annoying, ffs
Oh, and your kernel seems really fluid, had no issues on gaming, while i had on nightelf's and inteks'.
Because NE kernel has own wifi modules, which not working with other kernels.
Both this is not the NE kernel's topic.
Bozek said:
Because NE kernel has own wifi modules, which not working with other kernels.
Both this is not the NE kernel's topic.
Click to expand...
Click to collapse
Neither does he inform or provides the stock modules.
No idea what's worst, though.
Had to reflash my rom.
theredsonja said:
Neither does he inform or provides the stock modules.
No idea what's worst, though.
Had to reflash my rom.
Click to expand...
Click to collapse
theredsonja said:
Neither does he inform or provides the stock modules.
No idea what's worst, though.
Had to reflash my rom.
Click to expand...
Click to collapse
He did inform about difrent wifi moduls here is a quote from his op:
Night-Elf said:
Added Wi-Fi modules to ramdisk and script for modules autoinstall.
Click to expand...
Click to collapse
adridu59 said:
Good one, but no busybox ?
Click to expand...
Click to collapse
That, and su are included in all my ROM's

[KERNEL MODULE] Make /system writeable

This is a kernel module that defeats HTC's system write protection
Devs are free to use this in their ROMs, just credit me and link here
Download:
Kernel version 3.0.21-g6c11713: http://goo.gl/u39km
Kernel version 3.0.21-gfdb1a80: http://goo.gl/5hRmU
Click to expand...
Click to collapse
How to use:
copy the module to your device (eg: /system/lib/modules), insert the module, then remount system
insmod /system/lib/modules/wp_mod2.ko
mount -o remount,rw /system
This must be done at boot, if you make changes to /system, then load the module, you risk corrupting the filesystem.
How to implement in ROMs
There are two good ways to implement this in ROMs:
1. make an init.d script containing the commands above
or
2. add the commands to init.rc in the ramdisk
NOTE TO POTENTIAL KERNEL DEVS:
The module would not be necessary if you make a custom kernel. Simply make sure it is compiled without CONFIG_MMC_MUST_PREVENT_WP_VIOLATION
Please hit the Thanks button if you download this
If you really like it, please consider buying me a beer
Source code: http://goo.gl/VmSwe
This is a great news...
I think most people is using kernel version 3.0.21-g6c11713
as this comes with the EU & Asia ROM.
It will only work for the exact kernel version, and even then it may take many attempts before I get it right.
Here's one for kernel version 3.0.21-g6c11713
download: http://goo.gl/Vtcex
Please let me know exactly what happens after running the commands in the OP
Warning: don't go trying this unless you know what you're doing, it probably won't work yet and it might crash your device
flar2 said:
It will only work for the exact kernel version, and even then it may take many attempts before I get it right.
Here's one for kernel version 3.0.21-g6c11713
download: http://goo.gl/Vtcex
Please let me know exactly what happens after running the commands in the OP
Warning: don't go trying this unless you know what you're doing, it probably won't work yet
Click to expand...
Click to collapse
I just change the version no to the earlier wp_mod2.ko and tested, it works
I can delete a file and after reboot the deleted file is not returning
Testing your new wp_mod2.ko and will let you know in a while
EDIT:
Yeah...Whoa... tested the new wp_mod2.ko and ...yippieeee... IT WORKS
Attached are the screenshot before and after I removed 3 items
Thanks a lot
So I guess the best is to edit the ramdisk to run this module ?
Or an init.d script will be enough ?
Sorry for a noobish question.
And request for permission to include this in my ROM... thanks
ckpv5 said:
I just change the version no to the earlier wp_mod2.ko and tested, it works
I can delete a file and after reboot the deleted file is not returning
Testing your new wp_mod2.ko and will let you know in a while
EDIT:
Yeah...Whoa... tested the new wp_mod2.ko and ...yippieeee... IT WORKS
Attached are the screenshot before and after I removed 3 items
Thanks a lot
Click to expand...
Click to collapse
Great! Thanks for testing.
I'll update the OP.
While I'm at this are there any other kernel versions in use?
ckpv5 said:
So I guess the best is to edit the ramdisk to run this module ?
Or an init.d script will be enough ?
Sorry for a noobish question.
And request for permission to include this in my ROM... thanks
Click to expand...
Click to collapse
Either way will work fine
Anyway, you're no noob, I used your ROMs back when I had a One V, top notch stuff!
flar2 said:
Either way will work fine
Click to expand...
Click to collapse
Yep.. confirm either way works fine.
Thanks again for this great mod
flar2 said:
This is a kernel module that defeats HTC's system write protection
Devs are free to use this in their ROMs, just credit me and link here
How to use:
copy the module to your device (eg: /system/lib/modules), insert the module, then remount system
insmod /system/lib/modules/wp_mod2.ko
mount -o remount,rw /system
This must be done at boot, if you make changes to /system, then load the module, you risk corrupting the filesystem.
How to implement in ROMs
There are two good ways to implement this in ROMs:
1. make an init.d script containing the commands above
or
2. add the commands to init.rc in the ramdisk
NOTE TO POTENTIAL KERNEL DEVS:
The module would not be necessary if you make a custom kernel. Simply make sure it is compiled without CONFIG_MMC_MUST_PREVENT_WP_VIOLATION
Source code: http://goo.gl/VmSwe
Click to expand...
Click to collapse
Thank you so much for making this.
Yes, yes, yes!!
Finally i can remove sh*t and integrate updates into system with link2sd on my desire x
thanks man!
@ckpv5
thanks for the addon you made for your mysense-rom
Thanks man, looks great.
I'll add this in Half~Sense V 0.8
Sent from my awesome fridge
Added to Index, a very usefull tool.
It works, added it as an init.d script.
Adding in V.0.8
Hi,
can anyone made a flashable ZIP for users who has already installed some ROMs on HTC Desire X please ?
thanks, Petr
monopoly said:
Hi,
can anyone made a flashable ZIP for users who has already installed some ROMs on HTC Desire X please ?
thanks, Petr
Click to expand...
Click to collapse
cpkv5 made some zip for mySense: Link. It's working for me.
Hi flar2
Any chance a mod for 3.0.21-g01fle38 ?
I tried and it works fine for me and most users but today one user mentioned my edited wp_mod2.ko not working.
so maybe you can help with a proper one ?
thanks in advance.
ckpv5 said:
Hi flar2
Any chance a mod for 3.0.21-g01fle38 ?
I tried and it works fine for me and most users but today one user mentioned my edited wp_mod2.ko not working.
so maybe you can help with a proper one ?
thanks in advance.
Click to expand...
Click to collapse
I'm going to try to install your version and see if I can change the CID permanently (or delete the apps permanently too). I have flashed the OC kernel from atis112 so I guess I don't need to flash yours too, right?
Thanks flar2 for your work!
gbueno6 said:
I'm going to try to install your version and see if I can change the CID permanently (or delete the apps permanently too). I have flashed the OC kernel from atis112 so I guess I don't need to flash yours too, right?
Thanks flar2 for your work!
Click to expand...
Click to collapse
You CAN''T change CID without S-OFF.
Stereo8 said:
You CAN''T change CID without S-OFF.
Click to expand...
Click to collapse
I know, but I saw some topics regarding change CID with S-ON in One S so I just wanted to try (with no luck).
Well, I really want to S-OFF so I can flash kernels from recovery...
Sent from my HTC branded muffin...

[KERNEL] Swap-enabled kernel for GT-I8552 [version 3]

Greetings.
For a while, I've been wondering if swap usage could benefit our device, since we usually have a lot of apps and few memory to run them. But there were no kernels with swapping enabled... until now
With this kernel, you can use swap on your device and free memory for apps which drain more resources, thus obtaining better usage experience. Also, this zip file enables your device to run init.d scripts, and it already has a script to enable swap at boot, so you don't need to worry when you restart your phone.
I tested this on my device. It boots and some of my apps ran better than before. But it is still experimental, I am testing features, toolchains, compiler flags, so be warned.
My thanks to @yajnab, because of his tutorial for compiling the kernel:
http://forum.xda-developers.com/gra...torial-compile-kernel-samsung-galaxy-t2821042
This kernel is based on his work, and the only changes are the swap support and some optimizations during compilation time.
Links for download:
v3:
http://d-h.st/65V (Dev-Host)
http://www.mediafire.com/download/57u3aa931r97u3b/kernel-with-swap-v3.zip (MediaFire)
restore-modules.zip (see next post for details):
http://d-h.st/MB3 (Dev-Host)
http://www.mediafire.com/download/tupga5ekc5xlv6r/restore-modules.zip (Dev-Host)
Change log:
v3: Compiled with Linaro 4.7.4 with compiler flags for tuning performance
v2: Test version which I didn't post
v1: Initial version.
Click to expand...
Click to collapse
Older versions:
v1:
http://d-h.st/iBP (Dev-Host)
http://www.mediafire.com/download/y4hry7mn7rgg85j/kernel-with-swap-v1.zip
Click to expand...
Click to collapse
Before flashing it, check my next post for guidelines! I won't take any responsibility for bricked devices.
Guidelines for using this kernel
What do I need to flash it?
You need to have:
A rooted phone (obvious)
CWM installed
Busybox installed (VERY important!)
A bit of courage, hehe
And about the instructions?
Very easy and painless. Just follow these steps:
Download zip file
Put it on your sd card
Reboot on CWM mode
Flash zip file
CWM will warn you that rom may flash stock recovery. You MUST answer "NO" to this question.
Reboot, and you're done.
Notes about usage of this kernel
From the 3rd version, this kernel ships their own modules. A backup is made during install, so if you want to change back to stock kernel by restoring a boot.img backup, you need also to flash the restore-modules.zip package, otherwise some things won't work after kernel change (for example, wi-fi).
Also, this kernel may drain more battery than usual.
Notes about swap usage
There are some points that YOU MUST notice before using this kernel.
Reduction of SD card life
Swap activity is disk-intensive and flash media has a limit of write cycles. So, this kernel WILL reduce your SD card life. How many time will you lose, you wonder? I don't know. But be warned.
Performance changes
Swap activity is also dependent of your SD card speed. So, if your SD card is class 4 or below, your device may get slower, so you shouldn't use this. This is for use on faster SD cards. I use on a Kingston SD card class 10, so it's fast and will provide me some performance gain. Still, this kernel might give you lags.
Use of swap files or partition files
You probably WILL need to edit the file located under the folder
Code:
system/etc/init.d
on zip package. This is because your swap device will be different from mine. I use as swap a partition on my SD card, and it is the second partition. So, the path for the device, in my case, is
Code:
/dev/block/mmcblk1p2
If you use another partition, or even a swap file, you will need to unzip the package, change the file on previously mentioned folder and zip it again before you flash it. You only need to change the part referent to device (for example, from
Code:
/dev/block/mmcblk1p2
to
Code:
/storage/sdcard0/swapfile.swp
This is just an example, your values probably will be different.
Size of swap file/partition
This will vary according to your necessities. In my daily use, my device uses up to 240MB of swap space, during some heavy gaming. So, I reccomend no more than 512MB of swap space; more than this will be probably waste of space.
That said, you may make questions, or flash this package straight.
Download Link Not Found
Error 404 !
dadash_ari said:
Download Link Not Found
Error 404 !
Click to expand...
Click to collapse
It is working for me. Anyway, I uploaded it on an alternate link.
Nice Job.Keep Devloping bro.add some SmartassH3 nd SIO nd Smartassv2 nd voltage control Will Be HelpFul
manojkumar8552 said:
Nice Job.Keep Devloping bro.add some SmartassH3 nd SIO nd Smartassv2 nd voltage control Will Be HelpFul
Click to expand...
Click to collapse
I will try to include this as soon as I have free time.
freitaz said:
I will try to include this as soon as I have free time.
Click to expand...
Click to collapse
which toolchain do u use ????
i m getti g error in toolchain so i need some batter toolchain !!
manojkumar8552 said:
which toolchain do u use ????
i m getti g error in toolchain so i need some batter toolchain !!
Click to expand...
Click to collapse
For the first version I used the toolchain from CM repo:
https://github.com/CyanogenMod/android_prebuilt/tree/cm-10.2/linux-x86/toolchain/arm-eabi-4.4.3
For the third I used Linaro 4.7.4.
freitaz said:
For the first version I used the toolchain from CM repo:
https://github.com/CyanogenMod/android_prebuilt/tree/cm-10.2/linux-x86/toolchain/arm-eabi-4.4.3
For the third I used Linaro 4.7.4.
Click to expand...
Click to collapse
Nicer Pls Provide me Linaro 4.7.4 link
I mess always i dont get Zimage Sometimes.
and dont knw how to solve problem that can u help me in that !!
www.fb.com/420manoj is my FB
manojkumar8552 said:
Nicer Pls Provide me Linaro 4.7.4 link
I mess always i dont get Zimage Sometimes.
and dont knw how to solve problem that can u help me in that !!
www.fb.com/420manoj is my FB
Click to expand...
Click to collapse
You can find Linaro pre-built there:
http://forum.xda-developers.com/showthread.php?t=2098133
About the zImage, I will be of little help at moment. Basically I am only compiling this, and nothing more else, at least for now.
freitaz said:
You can find Linaro pre-built there:
http://forum.xda-developers.com/showthread.php?t=2098133
About the zImage, I will be of little help at moment. Basically I am only compiling this, and nothing more else, at least for now.
Click to expand...
Click to collapse
i have 2 toolchain problem is with different toolchain get different problem. when add governors than no problem in output but when Add IO gots problem !! Will try thnxs.
He bro, I have all steps . But I did not understand how I will set size swap and How do I activate it 1؟
plz help
I flashed both the zips. Then rebooted the phone. But Wi-Fi is not working. Could you please tell me the solution? Can I restore my stock kernel? How can I do it? Please reply.
got a bootloop after flashing it on my cm11
Lupihaziq said:
got a bootloop after flashing it on my cm11
Click to expand...
Click to collapse
Its for stock rom based on 4.1.2
no wifi with this kernel
zooperaj said:
I flashed both the zips. Then rebooted the phone. But Wi-Fi is not working. Could you please tell me the solution? Can I restore my stock kernel? How can I do it? Please reply.
Click to expand...
Click to collapse
same problème !
link expired
does anyone here have a working link for the kernel? the ones on the post shows error
Mosh_98 said:
does anyone here have a working link for the kernel? the ones on the post shows error
Click to expand...
Click to collapse
https://mega.nz/#!5Q8nzagJ!EHSgAhnN5Vr-I-fQ0hzHAQ6um84lrZGEq5y0gbf7bsQ

Categories

Resources