closed source bootloaders - Security Discussion

ok , have searched on the www with nothing that explains to me (or simple enuff for me to understand ).
question : can anyone tell me why bootloaders are closed source ?
AND this damn carrier radio thats tied/locked/ to firmware/OS.? probably getting my terms mixed up. maybe someone can figure out what i'm asking.
any explanations/links/thoughts are most appreciated.

mrrocketdog said:
question : can anyone tell me why bootloaders are closed source ?
Click to expand...
Click to collapse
I think it is like with all other proprietary things, the creators don´t want to give they´re rivals
the things they have made for free.

mrrocketdog said:
question : can anyone tell me why bootloaders are closed source ?
Click to expand...
Click to collapse
Not all bootloader are closed source.
Chinese's QCOM phones have CAF bootloader with minimum changes.
For example show custom bootloader based on CAF sources: http://github.com/jsr-d10/android_bootable_bootloader_lk
Main menu this bootloader: http://cs5-2.4pda.to/7971817.jpg

Related

[Q] What device tree I can use for Qumo Quest phone

Hi there!
I want to compile CM 10.1 for my phone, but stucked with device tree and i don't know what tree to choose for this.
Phone mentioned in the subject is Qumo brending of chinese i9220 PAD 5" MT6575 (e1809c_v75) Android 4.0.3
Great thanks if anyone can help.
PS. Sorry for my English.
rippak said:
Hi there!
I want to compile CM 10.1 for my phone, but stucked with device tree and i don't know what tree to choose for this.
Phone mentioned in the subject is Qumo brending of chinese i9220 PAD 5" MT6575 (e1809c_v75) Android 4.0.3
Great thanks if anyone can help.
PS. Sorry for my English.
Click to expand...
Click to collapse
I dont think there is one for that as that is not an official version of Android. Very few China based Android phones are supported by AOSP. You may have to start it yourself if you want it. The first thing you will need to do is have the OEM post the kernel source code for the device. This will be your biggest challenge. As most China OEM dont respect the GPL laws
zelendel said:
I dont think there is one for that as that is not an official version of Android. Very few China based Android phones are supported by AOSP. You may have to start it yourself if you want it. The first thing you will need to do is have the OEM post the kernel source code for the device. This will be your biggest challenge. As most China OEM dont respect the GPL laws
Click to expand...
Click to collapse
Ok
What if there is no source of kernel? Can I use compiled kernel (3.0.13) from current firmware (4.0.3) or this is impossible?
rippak said:
Ok
What if there is no source of kernel? Can I use compiled kernel (3.0.13) from current firmware (4.0.3) or this is impossible?
Click to expand...
Click to collapse
Without kernel source your kinda out of luck. No that kernel will not work on AOSP as that 4.0.3 is not an official android version. It is a hacked together version. Your best bet would be to sell it and get something that is not a knock off.
zelendel said:
Without kernel source your kinda out of luck. No that kernel will not work on AOSP as that 4.0.3 is not an official android version. It is a hacked together version. Your best bet would be to sell it and get something that is not a knock off.
Click to expand...
Click to collapse
Just for fun: wrote to "developer" for sources.
rippak said:
Just for fun: wrote to "developer" for sources.
Click to expand...
Click to collapse
Got to write to the OEM. Only they will be able to release the kernel source. Good luck. Dont hold on to hope though. They are not forced to post kernel source like everyone else.
zelendel said:
Got to write to the OEM. Only they will be able to release the kernel source. Good luck. Dont hold on to hope though. They are not forced to post kernel source like everyone else.
Click to expand...
Click to collapse
Don't you know is it real to compile with another kernel for same CPU MT6575?
Found some links to kernel sources for other phones - seems to be working for different devices.

[Q] A little help

Hey guys,may I know "In order to make a build for your device, you will need a suitably device configuration. Often these are included within the main source download, or are obtained through a method documented by the developers of the ROM." <<<<<where can I get this?
Should be the source code, i guess.
old.splatterhand said:
Should be the source code, i guess.
Click to expand...
Click to collapse
Kernel source code?
I think so.
Where can I find proprietary binaries?
Kernel Source code can be found at www.htcdev.com
After it is released.
old.splatterhand said:
Kernel Source code can be found at www.htcdev.com
After it is released.
Click to expand...
Click to collapse
And the binaries are located in the source code?I'm asking all this questions because I'm in the midst of developing.And to further understand so that it would be easier for me.
I'm no kernel dev, so i can't answer more than this.
It's ok.

Enable SWAP from kernel Source

T-mobile Prism II released the kernel source
https://github.com/Prism2/HUAWEI-U8686-Open-Source-U8686-JellyBean-kernel-3.4.0-
That is the link for the source kernel i found with a simple search.
This phone is so close to having a custom rom. Rooted, bootloader unlocked and CWM_recovery has already been made possible on this forum.
So my question is... Where would add the line CONFIG_SWAP=y in that open source kernel.
Is that all that needs to be done to this kernel to enable swap?
I'm sure it simple anyone know?
Diehardshorty said:
I'm sure it simple anyone know?
Click to expand...
Click to collapse
Its a little more complex
Guide for Jellybean can be found HERE
Thanks a lot for that link.
I'm very inexperienced with android and that doesnt look easy. Anyone interested in helping me with this?

Bootloader unlocking guide and kernel source

So guys finally realme allow us to unlock ( it will take longer time for unlocking as they will review your application than provide a ota which includes the fastboot binary) the bootloader of our realme 2 pro. They have also released the lite version of kernel source ( have not released full kernel source code!).
Guide for bootloader unlocking-
https://c.realme.com/in/post-details/1085078965883764736
Kernel source code- https://github.com/sirwhanq/Realme-2-Pro-8.1-kernel-source
Guys share your views here after unlocking the bootloader.
Sum1992 said:
So guys finally realme allow us to unlock ( it will take longer time for unlocking as they will review your application than provide a ota which includes the fastboot binary) the bootloader of our realme 2 pro. They have also released the lite version of kernel source ( have not released full kernel source code!).
Guide for bootloader unlocking-
https://c.realme.com/in/post-details/1085078965883764736
Kernel source code- https://github.com/sirwhanq/Realme-2-Pro-8.1-kernel-source
Click to expand...
Click to collapse
What Is Full Kernel Source Code...
Oxygen OS is even better than stock android so...?
Sandeep Jakkampudi said:
What Is Full Kernel Source Code...
Click to expand...
Click to collapse
It's is mandatory for creating device tree.
I wish they should have given an easy procedure and don't have to wait to unlock our bootloader. Also i dunno know when the development will start or whether we'll get to see any custom roms. Hope the developers will take interest in this phone.
I hope to see development soon
Sumesh Kharnotia said:
I wish they should have given an easy procedure and don't have to wait to unlock our bootloader. Also i dunno know when the development will start or whether we'll get to see any custom roms. Hope the developers will take interest in this phone.
Click to expand...
Click to collapse
Yeah the procedure is lengthy and complicated! Development will start after releases of full kernel source code.
How Much Time Taken For TWRP Recovery Build...
Sum1992 said:
It's is mandatory for creating device tree.
Click to expand...
Click to collapse
So without device tree no custom roms can be built.
Then what can be done with lite kernel source?
You are a old member.
Use search option before posting.
Already there are two threads for bootloader unlock and kernel sources news and guide. Don't create duplicate threads.
https://forum.xda-developers.com/realme-2-pro/how-to/realme-2-pro-bootloader-unlock-kernal-t3890093
https://forum.xda-developers.com/realme-2-pro/how-to/unlock-bootloader-application-tutorial-t3890183
cc: @the Doctor
tech mashido said:
You are a old member.
Use search option before posting.
Already there are two threads for bootloader unlock and kernel sources news and guide. Don't create duplicate threads.
https://forum.xda-developers.com/realme-2-pro/how-to/realme-2-pro-bootloader-unlock-kernal-t3890093
https://forum.xda-developers.com/realme-2-pro/how-to/unlock-bootloader-application-tutorial-t3890183
cc: @the Doctor
Click to expand...
Click to collapse
See my thread creation time and compare it with them!
Sum1992 said:
So guys finally realme allow us to unlock ( it will take longer time for unlocking as they will review your application than provide a ota which includes the fastboot binary) the bootloader of our realme 2 pro. They have also released the lite version of kernel source ( have not released full kernel source code!).
Guide for bootloader unlocking-
https://c.realme.com/in/post-details/1085078965883764736
Kernel source code- https://github.com/sirwhanq/Realme-2-Pro-8.1-kernel-source
Click to expand...
Click to collapse
Per the sticky titled "Development Forum Rules," you may not post in this section unless you are posting your own work on a ROM, kernel, recovery, or mod.
THREAD CLOSED

Is There a Custom Kernel Available for Nokia 3 TA 1032

My device is Nokia 3 TA 1032 running Android Pie rooted using Magisk and with TWRP custom recovery with kernel version 3.18.119+ ....
Is there a custom Kernel available for this device which is 3.19 or above.?.?.
If so ...can anyone provide me the link please.?.?.
And if not...does anyone know about porting/compiling kernel for this device.?.?.
please...i need some help....
https://ibb.*co/ MCBrDtC
mechano59 said:
My device is Nokia 3 TA 1032 running Android Pie rooted using Magisk and with TWRP custom recovery with kernel version 3.18.119+ ....
Is there a custom Kernel available for this device which is 3.19 or above.?.?.
If so ...can anyone provide me the link please.?.?.
And if not...does anyone know about porting/compiling kernel for this device.?.?.
please...i need some help....
https://ibb.*co/ MCBrDtC
Click to expand...
Click to collapse
I dont' know if there's a custom kernel for this device. But you can download the source code form here https://www.nokia.com/phones/en_int/opensource to compile it and add features by yourself.
Isrks said:
I dont' know if there's a custom kernel for this device. But you can download the source code form here https://www.nokia.com/phones/en_int/opensource to compile it and add features by yourself.
Click to expand...
Click to collapse
https://ibb. co/WWFxSsb
sir there seems to be multiple files...which one should i download.?.?. I am really new to this...
and I will be very grateful if you can point to any tutorials or blog posts on how to modify kernels coz i cant seem to find any...
mechano59 said:
https://ibb. co/WWFxSsb
sir there seems to be multiple files...which one should i download.?.?. I am really new to this...
and I will be very grateful if you can point to any tutorials or blog posts on how to modify kernels coz i cant seem to find any...
Click to expand...
Click to collapse
To compile a kernel from source you can follow this tutorial.
https://forum.xda-developers.com/android/software/ultimate-guide-compile-android-kernel-t2871276
There are more threads, this is an example.
The build number in your screenshot (5_180) tells the number of the kernel version you need to download (i want think so ), in this case is the Nokia3_V5.180.tar.bz2 file.
Isrks said:
To compile a kernel from source you can follow this tutorial.
https://forum.xda-developers.com/android/software/ultimate-guide-compile-android-kernel-t2871276
There are more threads, this is an example.
The build number in your screenshot (5_180) tells the number of the kernel version you need to download (i want think so ), in this case is the Nokia3_V5.180.tar.bz2 file.
Click to expand...
Click to collapse
Thank you very much sir....will see if i can do anything with it...
(very sorry for the late reply... )
mechano59 said:
Thank you very much sir....will see if i can do anything with it...
(very sorry for the late reply... )
Click to expand...
Click to collapse
With having a linux environment you can build a kernel from source reading the guides. Adding features is more difficult because the main reason: this device has mediatek SoC.

Categories

Resources