[Q] DROID2 custom kernel? - Droid 2 General

Are there any custom kernels out yet for the DROID2? I've searched high and low online and I'm not seeing any, the reason why is I'm looking to run Ubuntu on the Droid 2(as detailed on NexusOneHacks ) and I keep getting a no loop device error, which from what I've seen means it isn't enabled in the kernel.

pixl8d said:
Are there any custom kernels out yet for the DROID2? I've searched high and low online and I'm not seeing any, the reason why is I'm looking to run Ubuntu on the Droid 2(as detailed on NexusOneHacks ) and I keep getting a no loop device error, which from what I've seen means it isn't enabled in the kernel.
Click to expand...
Click to collapse
No. The bootloader is locked, making custom kernels impossible (unless someone figures out how to crack/bypass the signature verification process).
However, it may be possible to get Ubuntu working if you can build whatever Ubuntu requires as a module (you can load the module with insmod). You could then use the stock kernel with the mobile Ubuntu files from the N1. You would probably have to make significant modifications to the rest of the system to get it to work properly on the Droid 2.

The ROM Download page for Liquid 3.0 shows downloads for chevyno1 kernels for both the Droid2 and the DroidX.
Is it possible to flash different kernels on this device?
If so, can you please provide details and instruction or perhaps provide a link to further info?
Thanks!

Related

[Q] If someone could explain me few things.

I am totally new to this and I got my Wildfire couple of weeks ago. English is not my native language so excuse me if I write something wrong but I hope that you will understand my request. I dont really understand this rooting and flashin custom roms and everything, so I have few questions :
1.) What is rooting ? I read that it means accessing root directory but I dont fully understand that.
2.) Custom roms, what do I really get with them ?
3.) Kernel, what is that ?
4.) Can OC and flashing custom rom's be harmfull for my phone ? Can something blow up ?
5.) Is it possible to change language of my phone to croatian with those custom roms ? I tried with morelocale and apps simillar to that, but it translates only half of the interface.
I would be very gratefull if someone could explain these terms to me into the smallest details so I could understand everything. Thank you.
anyone ? pleasee
Well not a techie myself but there is a thread generally explains this in the Android forum of you look for it.
Rooting means opening access to the system file on the phone that is normally not accessible this let's you change files and system attribute like themes etc. And mods that let's you install from sdcard.
Kernal is the instructions to the CPU how it should work.
Oveclocking are predefined or scaled instructions to make the CPU run at higher speed than the default in stock roms, available on custom roms only, will make the system smoother less waiting loading times. It will generate more heat than normal but hardly will blow anything up.
Custom roms are tweaked versions of sense or original android, they include functions like app2sd, most useful as it puts files to SD card and work with the phone releasing resource so you can install many more apps. Of course downside is SD card is operating more decreasing its life but depends on the card reliability and good branded ones these days they last for years.
As for you language you should read the Rom threads.
Sent from my HTC Wildfire using XDA App with Wildpuzzle v0.8
1: http://en.wikipedia.org/wiki/Rooting_(Android_OS)
2: Read the ROM thread. More often than not, the features are listed there. There is no specific answer as to what you get by installing Custom ROM's. It differs from ROM to ROM. Some offer performance, some offer stability and so on.
3: The interface which controls the hardware, basically. It is a modified form of Linux kernel, and, to know what a kernel does, you can look it up on Wikipedia.
4: No, it cant blow up. That being said, it is not recommended to keep the phone OC'ed 24x7 at very high values. A moderate OC doesnt have any negative effects, with maybe a reduction in the lifespan of the hardware, but, IMO, that will be seen over a very long period of time.
5: No idea, sorry. Never required any other language apart from English myself.
1.) Rooting is simply "HACKING" your phone so you can put whatever you'd like to on it (Custom ROMs and such).
2.) Better battery life, more customization and such.
3.) Too deep, but in simple words kernel is the base of the OS running in your phone (apperently Android is UNIX based).
4.) Small risks only, if you're doing something wrong. I didn't get any problem myself though.
5.) Yes. Not fully as said, but yes.
hmmm I think that I understand everything now. Thank you all for the given informations.
and I have one more question : does anyone know for how long will I have to wait until I can root my 2.2 Froyo ?
karacic said:
and I have one more question : does anyone know for how long will I have to wait until I can root my 2.2 Froyo ?
Click to expand...
Click to collapse
Till unrEVOked gets the HBOOT cracked again (no specific date )
To change the cpu power and make the battery long lasting one i rooted my phone do i need to install a custom rom or theres an app i can just install on original sense to manage cpu and battery like from custom roms?
raniero1 said:
To change the cpu power and make the battery long lasting one i rooted my phone do i need to install a custom rom or theres an app i can just install on original sense to manage cpu and battery like from custom roms?
Click to expand...
Click to collapse
You just need SetCPU. Since you are not looking to overclock, you don't require another kernel or a Custom ROM.
raniero1 said:
To change the cpu power and make the battery long lasting one i rooted my phone do i need to install a custom rom or theres an app i can just install on original sense to manage cpu and battery like from custom roms?
Click to expand...
Click to collapse
If you're looking at underclocking be careful as not enough CPU power will cause lag and freezes.
Sent from my HTC Wildfire using XDA App
ZooMas said:
Till unrEVOked gets the HBOOT cracked again (no specific date )
Click to expand...
Click to collapse
ok thanks, I thought that maybe someon knows that it will be done in month or some specific time.
karacic said:
ok thanks, I thought that maybe someon knows that it will be done in month or some specific time.
Click to expand...
Click to collapse
Nope. No one has an ETA, and this holds true for (mostly) all dev related work / releases like this, Not just unrevoked.
I thought it was like that, but there is no harm in asking I hope that it will be soon because I want new rom because official is disaster.

Using Milestone's custom ROM for Milestone 2?

Is it actually possible to use Milestone's custom ROM for Milestone 2??
maymui said:
Is it actually possible to use Milestone's custom ROM for Milestone 2??
Click to expand...
Click to collapse
Sorry but just Milestone 2's custom ROM ...
good thing
good thing you asked, I was just about to start looking at milestone ROMS for it because they seem well developed so far.
So are there any custom ROMS for this? Probably a stupid question, as I'm still researching... (just about it yesterday, though from China, I pray someone makes one that supports chinese...)
You can try Motorola Defy ROMS. Milestone 2 ROM or Motorola Cliq 2 ROM works with some small changes on Defy.
Try nandroid backup and flash a milestone 2 kernel via RSD Lite
Milestone 2 Port for Defy: http://forum.xda-developers.com/showthread.php?t=906465
Cliq 2 port for defy: http://forum.xda-developers.com/showthread.php?t=914598
Theoretically possible, though I prefer using D2 roms, since they also include the bootstrap and very minor modifications need to be done.
uhhh
walter79 said:
You can try Motorola Defy ROMS. Milestone 2 ROM or Motorola Cliq 2 ROM works with some small changes on Defy.
Try nandroid backup and flash a milestone 2 kernel via RSD Lite
Milestone 2 Port for Defy: http://forum.xda-developers.com/showthread.php?t=906465
Cliq 2 port for defy: http://forum.xda-developers.com/showthread.php?t=914598
Click to expand...
Click to collapse
Mikevhl said:
Theoretically possible, though I prefer using D2 roms, since they also include the bootstrap and very minor modifications need to be done.
Click to expand...
Click to collapse
Gee, crap... I have a lot to learn. I've flashed a good 3-4 phones before with custom ROMs, but they were never as complicated as how the android forums make it out to be. I still have a lot to learn, I have no idea what a nandroid backup, RSD Lite, defy, boostrap, etc is. I have about 30 threads open reading up on it but none really seem to explain how each of these tie in together. I don't suppose theres a FAQ for noobs for android ROMs is there? Cause so far it's not relating to any of the vague flashing work I've done in the past for a Samsung Blackjack or a Sony Experia X1 Sorry for acting like such a n00b, haha.
Spixe1 said:
Gee, crap... I have a lot to learn. I've flashed a good 3-4 phones before with custom ROMs, but they were never as complicated as how the android forums make it out to be. I still have a lot to learn, I have no idea what a nandroid backup, RSD Lite, defy, boostrap, etc is. I have about 30 threads open reading up on it but none really seem to explain how each of these tie in together. I don't suppose theres a FAQ for noobs for android ROMs is there? Cause so far it's not relating to any of the vague flashing work I've done in the past for a Samsung Blackjack or a Sony Experia X1 Sorry for acting like such a n00b, haha.
Click to expand...
Click to collapse
RSD Lite is a program you run on your computer by Motorola. It flashes official motorola releases without having the need of a working phone, so it has two purposes: Updating to a new motorola-release and restoring when the phone is screwed.
defy is a phone by motorola, which earns it's name because it defies water and dust
bootstrap is not something that's easy to explain, to keep it simple it allows you to boot into a custom recovery that allows you to flash non-motorola roms, like the project I'm working on. It also allows you to make nandroid backups
nandroid backups are direct dumps of system partitions packed into an .img, kinda comparable to ripping a dvd to a .iso file. The most important system partitions are:
/system <-- stores, well, the system. All apps and drivers and such. The partition is uneditable by default, but by gaining root acces (rooting) you are able to remount the system as read-write instead of read-only and are thus able to edit the system files. You could compare it to program files and the WINDOWS on one partition.
/data <-- stores your data, google login infos and such. It's always accesable. Comparable to my documents.
/cache <-- not really sure what it does
/recovery <-- this is the recovery mode on the phone. It is locked and unreplacable. It can be used to flash official signed motorola images but that's all. That's why we need the bootstrap app to launch our own recovery, the one inside /recovery is unmodify-able.
/boot <-- You've probably heard of this. The locked bootloader means that /boot is unaccesable for us. /boot contains very core stuff and for some people it's better that it's locked down.
Hope that clarifies stuff a little bit
Mikevhl said:
defy is a phone by motorola, which earns it's name because it defies water and dust
Click to expand...
Click to collapse
heh i didnt know that ^^
Crap again, but this time out of surprise and appreciation. Thanks SO much. You probably saved me hours of reading and piecing this information together myself.
So you can backup and restore nandroid backups whenever you screw up a certain partition, is that right? And it sounds like one would need to run RSDLite to be able to use a Bootstrap which would then probably make use of some nandroid backups to modify and/or input some custom ROMS? And in some cases, custom ROMs are merely just modified nandroid backups? This is keeping deep.... haha
May I trouble you for a couple more quick summaries? How about: FissionROM, Angro2...something... I closed the tread that mentioned it (I've probably skimmed 50 threads so far), MIUI ROMs, dlavik, vulerable recovery, root (that is, installing something called "root", mentioned in the "Latest and Best guide" thread), GOT, OR (this means OpenRecovery I assume), CM, and uh... OK, thats it for now. I think I'm starting to tie all of this together. Whether these terms can be easily explained or not, I apprecaite the help you've given so far. Thanx a bunch
Spixe1 said:
Crap again, but this time out of surprise and appreciation. Thanks SO much. You probably saved me hours of reading and piecing this information together myself.
So you can backup and restore nandroid backups whenever you screw up a certain partition, is that right? And it sounds like one would need to run RSDLite to be able to use a Bootstrap which would then probably make use of some nandroid backups to modify and/or input some custom ROMS? And in some cases, custom ROMs are merely just modified nandroid backups? This is keeping deep.... haha
May I trouble you for a couple more quick summaries? How about: FissionROM, Angro2...something... I closed the tread that mentioned it (I've probably skimmed 50 threads so far), MIUI ROMs, dlavik, vulerable recovery, root (that is, installing something called "root", mentioned in the "Latest and Best guide" thread), GOT, OR (this means OpenRecovery I assume), CM, and uh... OK, thats it for now. I think I'm starting to tie all of this together. Whether these terms can be easily explained or not, I apprecaite the help you've given so far. Thanx a bunch
Click to expand...
Click to collapse
There are two sorts of custom roms:
Real: Something build from the AOSP sources with modifications to it. They usually are way different from each other. CyanogenMod is the most famous with the most modifications to the AOSP ( Android Open Source Project ). Liberty is one of those and so is FissionRom. Miui is also a custom rom.
Fake: People that just modify stuff from others. Angro2 is an edit of the stock milestone2 rom.
Dalvik Android is an system which runs inside an emulator, DalvikVM. (DalvikVirtualMachine). It's comparable to virtualbox and vmware on windows.
vurnerable recovery, GOT, OR are terms which only concern orinigal milestone.
What you guys need to do to run a custom rom is this:
1. Root (download z4root from the market)
2. Install recovery bootstrapper (droid2 version from the market)
3. Use the recovery to install cyanogenmod, which I will supply
Thanks again Mikevhl, again, saved me hours (if not days) of piecing together info.
Am I right in assuming you are the creator of the CyanogenMod? You said you [will] supply it... may I ask where can we get it? I'd like to try it out. Do you know of any of these ROMs support Chinese by chance? Will yours? I live in China so its a necessity.
So it sounds like Dalvik would be slower than using actual ROMs, since it runs on top of the OS. Fake ROMs sound easier to make, so theres probably a lot of those floating around I would image. Right now I still have to learn the difference between all these ROMs, and which ones the MS2 can even use, since ROMs for other phones are not compatible with this (as per the initial point of this thread, haha).
Looking forward to your updates Mikevhl
Spixe1 said:
So it sounds like Dalvik would be slower than using actual ROMs, since it runs on top of the OS. Fake ROMs sound easier to make, so theres probably a lot of those floating around I would image. Right now I still have to learn the difference between all these ROMs, and which ones the MS2 can even use, since ROMs for other phones are not compatible with this (as per the initial point of this thread, haha).
Click to expand...
Click to collapse
Dalvik is the default virtual machine from android, so it wouldn't be slower because every app on android uses it, it's not a modification from the ROM.
Basic Dalvik is the java virtual machine chosen by android.
@Mikevhl:
The user cvpcs had made an AOSP rom for Droid 2 that may help your job. You can modify to milestone 2 the config he made. It's on hxxps://github.com/cvpcs/android_device_motorola_droid2
I thought of doing this and use to compile AOSP but I never had time to actualy do it.
root Milestone2.2.1 with z4root and instal Cynogen Gingerbread ROM
Dear Mike,
I need your advise and help.How can I root my Milestone 2(Italian version-now using in India), officially updated to 2.1 and then to 2.2.1, using z4root and install latest version of Cynogen Mod Gingerbread ROM?And, is there any other ROM more suitable to my phone than Cynogen?Please give me a step by step specific instructions for z4rooting and installing the suitable ROM avoiding the sophesticated technical terms as I am not an expert in this field.I am using a Windows XP laptop in which Motorola Driver pack5.1.0 and Installer 3.8.3 are installed.I have been surfing through hundreds of threads in various forums but they all seem to be complicated and confusing .So I am requesting you to please render me your kind help.
Waiting for you with thanks in advance,
pnsdhrn.
PS:Also please give me your link for making a donation.
You can root your M2 with SuperOneClick (search on Google or XDA)
You can't install Cyanogenmod or any other custom rom that you don't see in this section, the only rom available for Milestone2 is argent2stone
I believe he's talking about Milestone 1, not 2
patton82 said:
You can root your M2 with SuperOneClick (search on Google or XDA)
You can't install Cyanogenmod or any other custom rom that you don't see in this section, the only rom available for Milestone2 is argent2stone
Click to expand...
Click to collapse
Dear Patton &Majkel,
My Milestone is unrooted and officially updated to 2.2.1 from Motorola Software update site using USB AND WINDOWS XP PC.Hence whether this can be rooted with z4Root?If yes,what is the procedure?And I saw in various threads that latest CynogenMod7 7.1.0-RC8-11.06.02 can be installed in this rooted Milestone2.2.1.Is it possible without any drawbacks?Pl advise.
pnsdhrn
But this is Milestone 2 forum. With Milestone you should go here. Here you have information about CyanogenMod for Milestone 1.

[Q] Custom kernel possible on the Defy?

Is it possible to use a custom kernel on the defy even though it has a locked bootloader? As it is possible to load custom kernel modules which will then run in supervisor mode, it should be possible to write a kernel module that copies itself at the end of RAM, disables all interrupts so that execution doesn't jump out of the module, jumps into its own copy at the end of the RAM, loads another kernel into the start of the RAM and jumps into it, right?
defy cant run custom build kernels because of the bootloader..
but AFAIK you should be able to compile and load modules outside the kernel or something, i would really like USB host mode on defy, maybe someone skilled enough can try it??
hsrars-d said:
defy cant run custom build kernels because of the bootloader..
Click to expand...
Click to collapse
Uh, did you even read my post? I'm suggesting to first let the bootloader load the stock kernel, then let the init process load a kernel module that loads another kernel and jumps into it. No need to touch the bootloader, you'd simply put another bootloader into a kernel module.
Now I found http://forum.xda-developers.com/showthread.php?p=24918641&highlight=defy#post24918641 ... I wonder whether it's possible to carry the 3G driver's state over a reboot...
umm, sorry i was bit sleepy, dunno about kecex though
EDIT: and i found this :http://www.eternityproject.eu/topic/49-bootloader-bypass-kexec-for-motorola-razr/#entry342
EDIT2: -.- i'm still sleepy
Somewhere is a post where Quarkz confirmed that we can't use kexec. He posted a conversation with the kexec main developer to do it. Maybe on cheesecake thread.
Sent from my MB525 using xda app-developers app

Here is the source code for the LG Gpad GPE (510)

this includes the kernel source. I am in the process of trying to build a gpe kernel. so far I can get into the menu config but cannot make successfully. I'm going to download a different distro with a clean build environment and try again. If anybody else has ideas and/or answers on how to do this successfully please post here.
https://www.lg.com/global/support/opensource/opensourceList?types=ALL&search=lgv510
my attempt to build a kernel will be to allow for gamma correction and for the addition of ext2 to used on the SD card if possible. I have built kernels for my Linux box before but this is quite a bit more involved.
Will this allow a gpe ROM on the stock LG device
Sent from my LG-V500 using Tapatalk
Canadoc said:
Will this allow a gpe ROM on the stock LG device
Sent from my LG-V500 using Tapatalk
Click to expand...
Click to collapse
I don't know enough about it yet. one would think that with the source code you could simply build and install GPE on to the framework of the LGE device, meaning the removal of all of the old software in the installation of all new software based on the GPE Kit Kat build.
Apparently, by reading other threads here that is not the case, or they would have already done so. Then again, I did not see anything posted about the source code before now.
Maybe a developer will decide to do something with this, and even better write a tutorial on how to do something that is worthwhile for the GPE. In the meantime I will muddle through.
Just my 2 cents
http://forum.xda-developers.com/showpost.php?p=49468038&postcount=329
Demetris said:
Just my 2 cents
http://forum.xda-developers.com/showpost.php?p=49468038&postcount=329
Click to expand...
Click to collapse
howdy, I like your idea, but I would also like to see more development for the GPE itself. maybe even a separate forum dedicated just to the GPE as right now it seems that everything is spread out, disorganized and very difficult to keep together for one or the other version. Upon this basis it would be easier to see what items and options are available for one device, without being distracted by the same for the other.
That being said, I definitely agree there should be a collaboration to achieve the ends that you desire, as they will also help the GPE users find what they are looking for.
was I able to successfully compile a kernel? Yes! Yes I did!! Arch/arm/boot/zimage is ready!
unfortunately this does not mean an awful lot of this point all I did was change the name of the kernel slightly and if not adjusted anything else nor do I have it back into a boot image but! This is/was the hardest part I think. Reason being the dependencies for getting this done.
I have successfully compiled, and pushed a kernel onto my gpad gpe 510. Now you can too! I wrote a tutorial at : http://forum.xda-developers.com/showthread.php?t=2628951
You will be able to control your device now. No need for a custom ROM if your willing to put in a bit of effort, but I understand if you dont.??

CPU Speed sm-j320fn kernel

Hi I have root but I can't keep all cores on or keep the CPU running max speed it keeps resetting any ideas also is there not a customer kernel I'm using Los 13 at the moment.
Thanks
No one know why I can't turn all on and keep clock speeds to the max
LanceGoss47 said:
No one know why I can't turn all on and keep clock speeds to the max
Click to expand...
Click to collapse
At a guess if say you need to write a new custom kernel that allows you to enable all cores permanently and flash that (while making sure it still works with LOS). Root alone doesn't always help of the options aren't there, I used to have a phone that used a cyanogenmod port which had control over cores integrated but it never worked properly because (those who knew about these things said) it wasn't properly implemented in the kernel.
Wulfie217 said:
At a guess if say you need to write a new custom kernel that allows you to enable all cores permanently and flash that (while making sure it still works with LOS). Root alone doesn't always help of the options aren't there, I used to have a phone that used a cyanogenmod port which had control over cores integrated but it never worked properly because (those who knew about these things said) it wasn't properly implemented in the kernel.
Click to expand...
Click to collapse
Is there a way to decompile the kernel myself? Or modify with root manually?
LanceGoss47 said:
Is there a way to decompile the kernel myself? Or modify with root manually?
Click to expand...
Click to collapse
It should be possible, [email protected] put instructions on the J320FN Lineage OS thread on how to change the boot.img (including tools for doing so) and you can work on the kernel using dsixda's android kitchen thread linked below may go some way to getting you started, obviously if you're using Linux you can use other guides to get much better functionality.
https://forum.xda-developers.com/showthread.php?t=1698582
Wulfie217 said:
It should be possible, [email protected] put instructions on the J320FN Lineage OS thread on how to change the boot.img (including tools for doing so) and you can work on the kernel using dsixda's android kitchen thread linked below may go some way to getting you started, obviously if you're using Linux you can use other guides to get much better functionality.
https://forum.xda-developers.com/showthread.php?t=1698582
Click to expand...
Click to collapse
Thanks could you link me to [email protected] instructions please

Categories

Resources