How to change kernel - Android

Hi xda users, I would like to know how to change the kernel of my ROM running on an htc tattoo and what are the kernel for this device
Thank You for answer Blacksoul

---blacksoul--- said:
Hi xda users, I would like to know how to change the kernel of my ROM running on an htc tattoo and what are the kernel for this device
Thank You for answer Blacksoul
Click to expand...
Click to collapse
Most of the time, changing the kernel just involves flashing the new one. As for compatible kernels, try www.google.com. I hear they have a ton of kernel choices.
Bacon in my coffee, please. You don't have any bacon?!?! unacceptable!!

triptosyll said:
Most of the time, changing the kernel just involves flashing the new one. As for compatible kernels, try www.google.com. I hear they have a ton of kernel choices.
Bacon in my coffee, please. You don't have any bacon?!?! unacceptable!!
Click to expand...
Click to collapse
and how to flash the kernel? and where I put the file/files flashed?

---blacksoul--- said:
and how to flash the kernel? and where I put the file/files flashed?
Click to expand...
Click to collapse
Like I said, most of the time, u flash it like u would flash a ROM. The steps would b the same. Put it on SD card/external storage, and flash via recovery.
Bacon in my coffee, please. You don't have any bacon?!?! unacceptable!!

triptosyll said:
Like I said, most of the time, u flash it like u would flash a ROM. The steps would b the same. Put it on SD card/external storage, and flash via recovery.
Bacon in my coffee, please. You don't have any bacon?!?! unacceptable!!
Click to expand...
Click to collapse
ok but how do I implement it in the rom so that when a user installs my rom also automatically install the kernel without having to download and install separately?

---blacksoul--- said:
ok but how do I implement it in the rom so that when a user installs my rom also automatically install the kernel without having to download and install separately?
Click to expand...
Click to collapse
You put it in the rom file and add lines to the updater-script to install the boot.img. You can look at another rom file to get the exact things you need.

blazingwolf said:
You put it in the rom file and add lines to the updater-script to install the boot.img. You can look at another rom file to get the exact things you need.
Click to expand...
Click to collapse
You do not know how to say the lines to add to the file updater-script?

---blacksoul--- said:
You do not know how to say the lines to add to the file updater-script?
Click to expand...
Click to collapse
you don't have to add any lines, figure out if your kernel has modules. ex /system/lib/modules
remove those modules and replace with the new kernel modules.
you will have to open the boot.img and replace the zimage or kernel image inside the boot.img. Pack it back up, then simply replace the boot image. Don't touch the updater-script just replace that boot.img (new) and the new modules. If you are still having troubles understanding. Google it. I have given you enough keywords to figure out how to break up a boot.img and replace.

lithid-cm said:
you don't have to add any lines, figure out if your kernel has modules. ex /system/lib/modules
remove those modules and replace with the new kernel modules.
you will have to open the boot.img and replace the zimage or kernel image inside the boot.img. Pack it back up, then simply replace the boot image. Don't touch the updater-script just replace that boot.img (new) and the new modules. If you are still having troubles understanding. Google it. I have given you enough keywords to figure out how to break up a boot.img and replace.
Click to expand...
Click to collapse
That assumes it has a boot.img in the first place. Otherwise, you have to tell it to install right? I can't say that I have seen a ROM or device where the boot.img just installs by doing nothing but adding it to the rom.

blazingwolf said:
That assumes it has a boot.img in the first place. Otherwise, you have to tell it to install right? I can't say that I have seen a ROM or device where the boot.img just installs by doing nothing but adding it to the rom.
Click to expand...
Click to collapse
I haven't used a device without a boot image. So until I see it or work with it, meh.

lithid-cm said:
I haven't used a device without a boot image. So until I see it or work with it, meh.
Click to expand...
Click to collapse
LOL. Ah, you don't have the Incredible 4G LTE then. Until recently we haven't really needed to flash the boot.img so ROMs haven't had it in them yet. We just got source recently so I would imagine that it will start being included more often.

hello i was wondering how can change my kernal its a bit laggy im running a custom rom xylon 4.2.1 on my galaxy nexus LTE

http://forum.xda-developers.com/showthread.php?t=1748297
U can study it yourself.

Kernel Question
I know you should check to see what kernels are compatible with the device, but you should you also check if its compatible with the Rom? I have a htc one xl and plan on installing paranoid android.
would appreciate the advice
thanks!

help wanted in kernel.
guys.. My frnd hav a gt-s6802. I hav rooted his phone. Then i hav avast mobile security installed.. Want to enable Firewall... But nothin happens.. It says u hav kernel prob.. How can i update the kernel...???
Help me guys if u can..

can i change the kernel any time. or should i change it before flashing the rom? i flashed a new rom but i realise now that the rom deals best with a stock kernel. can i flash the stock kernel now?

^_^
Yes!

Cchange kernel
I want to change kernel from 3.18.19 to 3.18.19+
or the + sign do mean an upgrad version
ps my phone is walton primo rm2 mini/gionee m5 mini
thank you

Related

Experimental .34-rc2 Kernel

NEW:
Working .34-rc3 kernel available at http://forum.xda-developers.com/showpost.php?p=6290443&postcount=45
OLD:
Code:
This is an experimental .34-rc2 kernel for the Nexus One.
Provided in the zip file is a folder (2.6.34-rc2-termana-nexusone) and the kernel (zImage).
It is extremely experimental, so only follow this if you [B][I][U]really[/U][/I][/B] know what your doing and know how to reflash another kernel back to make it boot again if it doesn't boot. I'm not responsible if your device curls over and dies.
Use adb to push the folder into /system/lib/modules/ and then use fastboot to flash the kernel.
The kernel is a rebase of cyanogen's .33.1 kernel to the latest .34-rc2 kernel. So nothing particularly new about it, besides the satisfaction that not many people would be running this kernel version on devices.
Zip file: bit.ly/94Oo6m (To download it click the link next to the text "Save file to your PC:")
Edit: Being a new member of xda-developers forum, it wouldn't let me post the link properly, but just copy and paste it and you'll be fine.
what folder are you talking about that needs to be pushed into /system/lib/modules/
there's only one folder in 2.6.34-rc2-termana-nexusone folder and that's kernel
also, is this kernel undervolted/overclocked/audio boost? can you give more info on the kernel itself?
thanks
jblazea50 said:
what folder are you talking about that needs to be pushed into /system/lib/modules/
there's only one folder in 2.6.34-rc2-termana-nexusone folder and that's kernel
also, is this kernel undervolted/overclocked/audio boost? can you give more info on the kernel itself?
thanks
Click to expand...
Click to collapse
Here is the changelog. Grab a cigarette and a cup of coffee it's damn long:
http://www.kernel.org/pub/linux/kernel/v2.6/testing/ChangeLog-2.6.34-rc2
I just flashed the zimage, and the phone went into a boot loop. Do I have to install anything else?
jblazea50 said:
what folder are you talking about that needs to be pushed into /system/lib/modules/
there's only one folder in 2.6.34-rc2-termana-nexusone folder and that's kernel
also, is this kernel undervolted/overclocked/audio boost? can you give more info on the kernel itself?
thanks
Click to expand...
Click to collapse
You have to push the 2.6.34-rc2-termana-nexusone folder, the whole thing, THAT folder, so that you end up with the a folder in /system/lib/modules called 2.6.34-rc2-termana-nexusone. There are no changes regarding undervolting, overclocking or audio boosting (unless cyanogen's kernel has included one of these) - but for general kernel changes jlevy73 provided a link to the mainline changelog.
Will give it a go nad logcat it
Termana said:
You have to push the 2.6.34-rc2-termana-nexusone folder, the whole thing, THAT folder, so that you end up with the a folder in /system/lib/modules called 2.6.34-rc2-termana-nexusone. There are no changes regarding undervolting, overclocking or audio boosting (unless cyanogen's kernel has included one of these) - but for general kernel changes jlevy73 provided a link to the mainline changelog.
Click to expand...
Click to collapse
thanks, thought it was a mistake that you said push that folder, glad you clarified it for me
thanks again
jlevy73 said:
Here is the changelog. Grab a cigarette and a cup of coffee it's damn long:
http://www.kernel.org/pub/linux/kernel/v2.6/testing/ChangeLog-2.6.34-rc2
Click to expand...
Click to collapse
damn, that is long; won't bother reading that thing
Termana said:
You have to push the 2.6.34-rc2-termana-nexusone folder, the whole thing, THAT folder, so that you end up with the a folder in /system/lib/modules called 2.6.34-rc2-termana-nexusone. There are no changes regarding undervolting, overclocking or audio boosting (unless cyanogen's kernel has included one of these) - but for general kernel changes jlevy73 provided a link to the mainline changelog.
Click to expand...
Click to collapse
I used this:
adb push 2.6.34-rc2-termana-nexusone /system/lib/modules/2.6.34-rc2-termana-nexusone
Click to expand...
Click to collapse
...and it still went into a boot loop for me.
hotweiss said:
I used this:
...and it still went into a boot loop for me.
Click to expand...
Click to collapse
You sure that wouldn't create a folder within a folder?
Not really sure just saying...
So is this working for you Termana?
I tried both have the subfolder and just pushing all the files to /modules and both produced a bootloop
i pushed the folder to /system/lib/modules/ and flashed zimage, but just get bootloop
I should of been more clear. I released the kernel as extremely experimental as I don't have a Nexus One yet to test it on. I will be obtaining one in April/May some time. However, if people are willing to help me test these kernels, I will keep building and changing things until we get something that works. If no wants to help at all, then I will just wait until I obtain one to do any of this kind of work.
So if anyone does want to test, I will be doing another compile in the next day or two to be tested.
I seriously thought, you tested it on your Nex before posting it....was a missunderstanding.
Termana said:
I should of been more clear. I released the kernel as extremely experimental as I don't have a Nexus One yet to test it on. I will be obtaining one in April/May some time. However, if people are willing to help me test these kernels, I will keep building and changing things until we get something that works. If no wants to help at all, then I will just wait until I obtain one to do any of this kind of work.
So if anyone does want to test, I will be doing another compile in the next day or two to be tested.
Click to expand...
Click to collapse
Did you cross compile the source against the ARM source?
hotweiss said:
Did you cross compile the source against the ARM source?
Click to expand...
Click to collapse
You might need to rephrase your question as the way you've said it doesn't let me know exactly what you mean by "ARM source". Do you mean using the Android ARM toolchain or what?
To anyone that is willing to help me test:
New build available at - bit.ly/c1tFqg (just the zImage, don't worry about pushing the modules for now)
Info:
This is a .33.1 kernel not a .34-rc2 kernel HOWEVER, I wanted to get the source that I'm rebasing off tested to make sure it boots, because if the source I'm pulling from doesn't boot, then obviously my rebases aren't going to either. So, please test it and tell me if it boots, if it does, I'll have another .34-rc2 kernel build up shortly after. If it doesn't, I may have to try rebasing from the official .32 kernel rather than the current source I'm rebasing from at the moment (which is .33.1).
Booted for me.
Code:
2.6.33.1-cyanogenmod
[email protected] #1
Should I post this in the kerenls list or wait till we know what it does, I dont think its a good idea to post yet with the noobs that might be flashin it and complaining.
Justin241982 said:
Should I post this in the kerenls list or wait till we know what it does, I dont think its a good idea to post yet with the noobs that might be flashin it and complaining.
Click to expand...
Click to collapse
I wouldn't post it yet. The first one he posted doesn't boot and the second one he posted I don't believe has any optimizations.

[Q] How to..... find a device kernel ?

Hello,
I search how find a kernel for my device : the motorola defy.
How find kernel please ?
Thanks
Just use one of these apps: https://market.android.com/details?id=com.jiaofamily.android.km&feature=search_result or https://market.android.com/details?id=com.teamwin.kernelmanager.free&feature=search_result .
thanks you very much but I would like kernel to port a ROM. It's the same ?
kyle77680 said:
thanks you very much but I would like kernel to port a ROM. It's the same ?
Click to expand...
Click to collapse
What do you mean? Do you mean you want a kernel to base a rom on? If so, then yes you can use those kernels, but just make sure the kernel is for a rom specifically for the device the kernel is for.
thanks
I search a kernel for my defy but the bootloader is not deblocked. So I can't find a kernel, can I ?
I would like port for example a rom from an LG for my defy ?
Thanks in advance
kyle77680 said:
thanks
I search a kernel for my defy but the bootloader is not deblocked. So I can't find a kernel, can I ?
I would like port for example a rom from an LG for my defy ?
Thanks in advance
Click to expand...
Click to collapse
Your device needs to be rooted to flash a new kernel/rom. Is your device rooted?
yes it is rooted
according to this post,
"Porting an other device's rom
Well, that part is easy
- extract the system.img
- extract boot.img
- replace boot.img-kernel with the one from your stock Hero rom one.
- rebuild boot.img
- build update.zip package (look someone's hero custom rom to see how to do it)
- sign and flash
It should run place and make calls but probably won't have Wifi, BT, trackball support."
It is reallly easy ?
Thanks
For Kernel Manager (the first link in post #2), you also need to have busybox installed.
kyle77680 said:
yes it is rooted
according to this post,
"Porting an other device's rom
Well, that part is easy
- extract the system.img
- extract boot.img
- replace boot.img-kernel with the one from your stock Hero rom one.
- rebuild boot.img
- build update.zip package (look someone's hero custom rom to see how to do it)
- sign and flash
It should run place and make calls but probably won't have Wifi, BT, trackball support."
It is reallly easy ?
Thanks
Click to expand...
Click to collapse
It depends on how much experience you have in these things. To me it looks pretty easy but you may find it more difficult. I don't know if you have experience in this so I cannot say if it is really that easy for you.
(Yay! My 500th post)
last question:
How know if the kernel is good? because there are many kernel !
Or Can I extract from my phone ?
kyle77680 said:
last question:
How know if the kernel is good? because there are many kernel !
Click to expand...
Click to collapse
Read what they say. Like if you want to make your device faster, then get an overclockable kernel. If you want to conserve battery life, then get one that says undervolt. If you want more freedom, then get on with many options. (It's all based on your preference). Me, I would choose one with the most freedom so that I can change setting (cpu speed, etc.) whenever I want. Also look for the latest version (if you want to have the most recently updated one). If you still can't make up your mind, then choose based on user reviews.
thanks
so all are compatibles ok ?
and how extract the kernel ?
promised after I stop
you can just flash them using an recovery menu, or use an app for this.
I dont know if rom manager could do the job, try it
thanks for all your answers
kyle77680 said:
thanks
so all are compatibles ok ?
promised after I stop
Click to expand...
Click to collapse
All kernels you see in the app should be compatible since they are supposed to be device specific but still check to see if it says the name of your device beside the kernel.
after have ported my rom on the defy, it reboot on bootloader with errors
what may be the problem ?
thanks
kyle77680 said:
after have ported my rom on the defy, it reboot on bootloader with errors
what may be the problem ?
thanks
Click to expand...
Click to collapse
Can you post some screenshots? Also, it may have been caused by the rom not being full compatible. It may have too many bugs to operate.
over time, I advanced but now my phone bootloop
bad flash or problems with lib/ bin / etc ?
thanks
kyle77680 said:
over time, I advanced but now my phone bootloop
bad flash or problems with lib/ bin / etc ?
thanks
Click to expand...
Click to collapse
Likely to be a bad flash. Just reflash the kernel. If this doesn't fix your problem, then reflash your rom.

[DEV HELP] help for build ics

I asked for help to build a rom ics on our xt615
I present the trick:
we recover a leak motorola ics for our phone (. sbf)
we extracted the boot.img system.img recovery. etc. .....
we have for the moment a Chinese cwm recovery but works in English or a problem with the nandroid
the problem is that when trying to build the rom for our phone and flash that we have a "status 0"
then here we ask a person who could help us build a rom ics
thank you
links:
extracted from sbf
https://docs.google.com/file/d/0B2k1N5APM4JQLWZ3ajVETG54UTQ/edit
testing the construction of the ROM
https://docs.google.com/file/d/0B2k1N5APM4JQaWF0N0Q0TV9pWTA/edit
and the subject of motoluxe xt615 not play pass all first pages on pages 65 to
http://forum.xda-developers.com/showthread.php?t=1660377&page=77
Up please
Thank
Sent from my XT615 using xda app-developers app
I don't know anything about your phone, but your zip file is incorrect.
You want to put all the files except META_INF into a folder called system. Look in META_INF/com/google/android/updater-script and you will see this is what the recovery is expecting.
Also, add a boot.img since it will try to flash that as well.
This is what the root directory of the zip file should look like:
Code:
[email protected]:/android/work/moto/zipper# ls
boot.img META-INF system
[email protected]:/android/work/moto/zipper# ls system/
app bin build_proj etc framework media usr
arcsoft build_id build.prop fonts lib tts xbin
gee one said:
I don't know anything about your phone, but your zip file is incorrect.
You want to put all the files except META_INF into a folder called system. Look in META_INF/com/google/android/updater-script and you will see this is what the recovery is expecting.
Also, add a boot.img since it will try to flash that as well.
Click to expand...
Click to collapse
Yes but try various solution and i have always error status 0
If you look the topic we have try
Page n° 70\80
Thank
Sent from my XT615 using xda app-developers app
gee one said:
This is what the root directory of the zip file should look like:
Code:
[email protected]:/android/work/moto/zipper# ls
boot.img META-INF system
[email protected]:/android/work/moto/zipper# ls system/
app bin build_proj etc framework media usr
arcsoft build_id build.prop fonts lib tts xbin
Click to expand...
Click to collapse
I don't understand
I took example on several
can you help me to do this update
A big thank
Sent from my XT615 using xda app-developers app
I read that thread a little- it looks like a lot of people trying different things. Also, use post numbers because it's page 17 on my computer
So, where did the updater-binary and script come from? The script has to match the rom, but I think the binary is a lot more forgiving. I think a binary from another ics or gb rom should work. Your phone uses yaffs, so maybe an older binary? I thought a lot of the ics devices were moving to ext3/4?
I think the stock recovery won't work. Usually, they will only accept zips that are signed by the manufacturer.
sent while running with scissors
gee one said:
I read that thread a little- it looks like a lot of people trying different things. Also, use post numbers because it's page 17 on my computer
So, where did the updater-binary and script come from? The script has to match the rom, but I think the binary is a lot more forgiving. I think a binary from another ics or gb rom should work. Your phone uses yaffs, so maybe an older binary? I thought a lot of the ics devices were moving to ext3/4?
I think the stock recovery won't work. Usually, they will only accept zips that are signed by the manufacturer.
sent while running with scissors
Click to expand...
Click to collapse
we have a custom recovery rom just leaked motorola
I built the rom update with kitchen
I get a flash of themes yet but they put me in error
and I saw no or that I can just
I can not make a updater-script
can you tell me the way to follow
Thank
Sent from my XT615 using xda app-developers app
dams161 said:
we have a custom recovery rom just leaked motorola
I built the rom update with kitchen
I get a flash of themes yet but they put me in error
and I saw no or that I can just
I can not make a updater-script
can you tell me the way to follow
Thank
Sent from my XT615 using xda app-developers app
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?p=31086093
Sent from my XT615 using xda app-developers app
Flash at your own risk- I didn't read the thread and I wouldn't know you device from an iphone.
https://rapidshare.com/files/2281343112/xt615ics1.2_mod1.zip
I cleaned up the system and added the boot.img. if you can get the /etc/recovery.fstab from your recovery, it might help since the partitions might have different names.
sent while running with scissors
gee one said:
Flash at your own risk- I didn't read the thread and I wouldn't know you device from an iphone.
https://rapidshare.com/files/2281343112/xt615ics1.2_mod1.zip
I cleaned up the system and added the boot.img. if you can get the /etc/recovery.fstab from your recovery, it might help since the partitions might have different names.
sent while running with scissors
Click to expand...
Click to collapse
thank you
i try and i say if work
does not work I toujour error status 0
I think that is an error with the update binary. Maybe you can get one from a similar phone? It should be pretty generic, as long as it uses a similar file system/android version. So try to find a binary from an ics device that uses yaffs/MTD.
sent while running with scissors
i try and i say if work
yes works but the boot.img is bad thank you
I thought this was the stock firmware? Could you just put in a similar ics kernel and see if that works? A kernel from an ics moto phone might work, but you'll have to change the ramdisk.
sent while running with scissors
gee one said:
I thought this was the stock firmware? Could you just put in a similar ics kernel and see if that works? A kernel from an ics moto phone might work, but you'll have to change the ramdisk.
sent while running with scissors
Click to expand...
Click to collapse
the concern is that the bootloader is locked
and I think he does not want ics files
you have ideas on how to bypass the UNLOCK or
thank you again
Do you have a copy of a working boot.img or kernel? Even a dump from a running phone would work.
sent while running with scissors
gee one said:
Do you have a copy of a working boot.img or kernel? Even a dump from a running phone would work.
sent while running with scissors
Click to expand...
Click to collapse
my boot.img
So the zip that I uploaded flashes, but it doesn't boot?
I think your working boot image is GB or Froyo and the new one is ICS. So maybe if I take the kernel from the ICS boot.img and add the ramdisk from your working one, then maybe it might work.
Maybe...
This is the new kernel with the old ramdisk. Again, flash at your own risk.
https://rapidshare.com/files/908298923/xt615ics1.2_mod3.zip

[4.1.2][CWM]Stock Samsung Rom[Deodexed][Root]

Hi All
Just finished compiling the Original Samsung 4.1.2 test firmware for CWM flashing
No changes has been made at all except Root that has been added and everything being DEODEXED
Its being uploaded atm to my Google Drive account so it should be easier to download and I will post the link as soon as its up and shared.
Please be aware of the following:
1. This is completely stock with the stock kernel that has the brick bug in it SO DON'T FORMAT EMMC AFTER YOU INSTALL IT
2. It will remove CMW and CMW needs to be installed again with Mobile odin or Odin pc.
Installation should be as per any other CWM rom:
1. Copy to SD card
2. Wipe data/factory
3. Install from the SD
4. Clear Dalvic and reboot
If you want to move away from this rom follow the following steps just to be save:
1. Use mobile odin or Odin pc to install CMW
2. Flash any other kernel like Siyah or similar
3. Do a EMMC format - ONLY AFTER STEP 2. Please dont forget to flash a non brickbug kernel 1st
4. Install other rom as desired
Download Link:
http://forum.xda-developers.com/showthread.php?t=1998205
Thanks to LegendK for eventually finding the way
Additional Installs:
Philz Kernel removing Brick bug - Flash it through recovery mode
Philz Kernel removing Brick bug - Flash through Odin
Thanks PhilZ
Additional Notes:
After installing the Rom please install one of the "Additional Installs" kernels to remove the brick bug. Once done use Rom as usual
good job
toxicdust said:
Original Samsung 4.1.2 test firmware for CWM flashing
Click to expand...
Click to collapse
Much obliged, I'm super keen to try this new version, only drama I'm a bit n00b-ish when it comes to creating a CWM-flashable ZIP from what we can grab from SamFirmwares and I'd prefer to be able to hack the apk's and Media folder before I throw it into my i9100. Looking forward to getting hold of what you've cooked up...
ADD: Oh yeh, from what I've heard, the Philz-CWM6 kernel is supposed to be the best for this F/W, check out his thread...
Code:
http://forum.xda-developers.com/showthread.php?t=1877270
looks good!!!!
Hope you can repack it with the PhilZ kernel(no eMMC brick bug) if there is time! You would save a lot of n00bs breaking their device! Just my 2 cents!
Orr.Penn.18 said:
Hope you can repack it with the PhilZ kernel(no eMMC brick bug) if there is time! You would save a lot of n00bs breaking their device! Just my 2 cents!
Click to expand...
Click to collapse
+1000
Gesendet von meinem GT-I9100 mit Tapatalk 2
how did u make the zip?
when i pulled /system and kernel it gave me a boot loop
Well done and thank you! I'm DLing when its up!
awesome!!!!!!!!!!!!!!!!!!!!!!!!!
iamnotkurtcobain said:
+1000
Click to expand...
Click to collapse
+1001
Orr.Penn.18 said:
Hope you can repack it with the PhilZ kernel(no eMMC brick bug) if there is time! You would save a lot of n00bs breaking their device! Just my 2 cents!
Click to expand...
Click to collapse
but pls upload current version for ppl who really need it in shortest time.
Its up
Will repack with the Phillz kernel as well and replace once done
toxicdust said:
Its up
Will repack with the Phillz kernel as well and replace once done
Click to expand...
Click to collapse
“You need permission to access this item.
You are signed in as *************@gmail.com, but you don't have permission to access this item. You can request access from the owner or choose a different account. Learn more”
Same problem
Give me te permission PLEASE
al*****[email protected]
permission error .!!! plz fix it
@toxicdust Can you please also upload a 180DPI dialer and TWlauncher ?
Im sure everybody would LOVE that
Thanks a lot and great job
LOL ... sorry about that. Should be open now
Ok the Philz kernel works without problems that I can see atm.
Will repack with that as well for the noob friendly version.
Others can just install his kernel from recovery mode to be on the safe side
Philz kernel available from link below, and don't forget to say Thanks...
Code:
http://forum.xda-developers.com/showpost.php?p=31310650&postcount=1
djshotty said:
Philz kernel available from link below, and don't forget to say Thanks...
Code:
http://forum.xda-developers.com/showpost.php?p=31310650&postcount=1
Click to expand...
Click to collapse
Linked the correct ones to use in the OP so that ppl don't get confused with the so many he has and by accident install the wrong one.

[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...

Categories

Resources