Hello,
Anybody know of any good resources that can help me compile the kernel from my phone with a Linux base ROM/IMG like LineageOS or KaliNethunter? I can do the leg work, If I can find some solid documentation. The phone is rooted, bootloader unlocked, and carrier unlocked. I imagine you can compile the image, by using the Kernel from the stock image, and somehow using ADB to decompile and recompile the images?
I am new to this terminology, but not to jail breaking and rooting. The main thing is compiling systems with kernels, I've done it in Linux before, but the concept is still foreign. I'll understand more about it by the time I read a reply.
Thank you for any help or suggestions on where to start.
Edit:
Also, so long as I'm flashing images with fastboot, do I still run the risk of bricking the phone? I know there is always a risk, but it's safer than microsd updates, yes? Just keep a stock IMG file, and flash it if the kernel doesn't compile correctly?
Found this after posting https://forum.xda-developers.com/t/reference-how-to-compile-an-android-kernel.3627297/ . Going to add resources here. Multiple people have requested this, would like to get it working for everyone.
Related
Is anyone aware of a ROM, or even a basic mod/patch that enables an insecure boot? I'd like 'adb remount' back
You have to install a rom that has it edited/enabled.
Right
Yes, I understand that -- Though strictly speaking no, you can just replace the right bits yourself to allow it. Regardless, that's why I asked - I am not seeing a ROM with it, but there aren't exactly a ton of ROMs for this one just yet...
That's a surprise since most of the roms in the dev section are created using dsixdas kitchen and part of the rooting process in the kitchen involves editing the boot.img for exactly what you are asking for.
Regardless, it's better to have the rom have the boot unsecure then to replace the bits. At least with the edited boot it will always be unsecure even after a reboot.
Development on the phone I have has gotten as far as rooting stock (SCH-I110, Samsung Illusion). As I've toyed around with my Nook, I like the idea of cutting edge software still running on older hardware. Yes, yes, I realize that this is a "cheap phone" and not "in demand" and "why don't you just go and get a S2 or S3", but isn't the whole idea of open source the ability for people to learn? I've loved reaping the benefits of others' hard work, but it's time to get my own hands dirty...
Basically it comes down to this: I need to be pointed in the right place to learn how to build recovery for my device (ie CWM).
It's currently rooted, running stock and busybox, but that's as far as I have gotten. The source code HAS been released already, so it's out there. I've tried to read up about Odin in order to figure out how to pull a recovery image and start building, but just about every tutorial I've come across teaches people how to cook their own ROMs after CWM or TWRP is already installed. I'm not quite there yet.
So if anyone has a good place that contains information on building recovery, thank you for your help in advance. I just need a little direction.
Ok, so I pulled a boot.img off the phone as well as a system.tar. I used the boot.img on builder.cyanogenmod.com and have the following output files:
android_device_unknown_unknown.zip
inputrecovery.img
manifest.xml
recovery.img
The recovery image can be found here: http://builder.clockworkmod.com/redirect/5dbb87a058d1bb5fcd0bcbeca347c45b.img
I did see on the console output that it was building for CM10.1. Is this going to be an issue?
Thanks for helping an Android Noobie.
Would this be any help: http://www.koushikdutta.com/2010/10/porting-clockwork-recovery-to-new.html
XyanumX said:
Would this be any help: http://www.koushikdutta.com/2010/10/porting-clockwork-recovery-to-new.html
Click to expand...
Click to collapse
Yeah, that was one source I was reading. I saw his note about initramfs, though. I believe the Illusion uses it as opposed to the standard boot image format, so his guide doesn't work. Thanks for suggesting it, though!
Can you run a new version of stock android on any low end device.
If yes - even if it needs some development - how?
Thanks
Do you mean download the OS from a new device and upload it to your old device?
Probably not.
Why not just get Cyanogen Mod (unlock the device first if you care about that).
What I meant is that, not all devices get the newest version of android, some devices get dropped out from the manufacturers.
Cyanogendmod is great , but again some devices never get supported by cyanogenmod.
So what if I can get any device that has no updates from the manufacturer, and cyanogenmod doesn't support it, and create put the newest version of android on it, is that possible
Theoretically, it is possible, but depends on so many things...
For example:
What kind of phone?
What kind of processor?
Is there source code for the kernel available from the manufacturer?
Is the bootloader unlocked to allow custom recoveries?
What update is it on?
Are you capable of coding?
Understand logcats?
Are the original firmware and tools available to reinstall the stock system if something goes wrong?
Stuff like this is the tip of the iceberg...
That's exactly what I'm asking for,
I Know some coding, I can root the device, install a custom recovery, and get a recovery version of the stock system,
I can get the phone type, and the processor type, and what update the device is on,
I know it takes some coding to do what I'm asking for, but i don't know what to code, or how. basically I don't know where to start.
What I want to do, is to be able to install any version of android on a device (doesn't need to be all the devices), Like the way windows or Linux works on PCs.
I know it isn't easy as installing windows, but as "es0tericcha0s" mentioned it is hard but possible.
Any Advice
desoky725 said:
That's exactly what I'm asking for,
I Know some coding, I can root the device, install a custom recovery, and get a recovery version of the stock system,
I can get the phone type, and the processor type, and what update the device is on,
I know it takes some coding to do what I'm asking for, but i don't know what to code, or how. basically I don't know where to start.
What I want to do, is to be able to install any version of android on a device (doesn't need to be all the devices), Like the way windows or Linux works on PCs.
I know it isn't easy as installing windows, but as "es0tericcha0s" mentioned it is hard but possible.
Any Advice
Click to expand...
Click to collapse
What device are you using? Your best bet is to find a similar phone using the same processing package that has development started so you can compare source code. Trying to make your own rom without source code would be near impossible due to issues with drivers and what not.
So I guess the title explains everything but I'll describe a little.
I've tried Googling it but no luck there, there's always a link missing or something goes wrong, or it's another version and not mine.
I'm having some problems understanding some things as well. Here's a list of things I don't completely understand:
What is flashing?
What is flashing a ROM?
what is flashing a pre rooted zip file?
What is flashing a bootloop fix zip file (I've seen you will need this after the root on this version)?
Will flashing remove all my apps?
Will I have to flash something to root my Xperia?
I'm pretty new to the whole rooting world but since my warranty is about to void I want to root my phone, why not if so?
About the rooting tools. I have a Linux Mint OS so I prefer Linux compatible tools though I can run a Virtual Machine or something for the rooting. Maybe borrow my brother's computer.
Any help will be appreciated, I don't know what to do anymore, spent few hours trying to root my phone already.
Gur Telem.
Hi,
I have a Rockchip tablet RK312x Android version 4.4. I also have the stock image for it.
What I want to do? Update the android version to at least 5.0.
What I have done so far?
Tried to understand how AOSP works, how building ROMs work. Downloaded AOSP 5.1.1. Completed a test build for one of the nexus devices just to be sure the process completes 100%.
Extracted the stock image to get .img files for boot, kernel, misc, recovery, resource, system and uboot.
My question: Is it possible to upgrade the tablet without going the entire creating .mk files and building from scratch route?
Are there any complete step by step guides on this? I tried searching and did find many but not one of them was complete, covering the process that I want to do in a simple manner.
So many of you had a look at this thread and no replies yet. I am all new to this. So sorry if my questions don't make sense. But if you have any experience in building roms, I need your help.
Still, any help would be highly appreciated.
There is no simple manner to this. As your device was not officially upgrade you will have to do alot of work to hack the kernel to work with the new OS. Then you will have to heck all the drivers to work and even then it might not work at all. I would start by finding out if the oem released the kernel source code for the device. Judging from the name I am betting not.