• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root [WIP][DEV] Custom Recovery/Bootloader unlocking Work In Progress Thread

it is not packed, it is called "Little Kernel" but it really is not like the regular kernel, that is packed with a ramdisk

I have tried compiling my own aboot from the CAF source, I did one with out changing anything, then I went and changed a "1" to a "0" in the aboot.c files, and compiled again, afterwards I compared the two compiled files and there were a lot of differences, and all I did was changed one little thing

Did you try putting this aboot on the motion, see if it throws our security error or not? If it doesn't that may be our key, we will just compile our own aboot without the added security.

BTW, I also verified that it is for sure our aboot that is throwing the error. Found the exact string with HxD
 
Does anyone, anyone at all, know someone at LG? I've been trying everything I can think of, but until I hear back from someone at codefire, I'm at a standstill.
Also, can anyone explain what the 2ndinit is, if it is on our phone, and where I can find it?


the 2nd init is the type of recovery that this thread is about.

since you can not use a regular recovery.img on the recovery partition, because it needs to be signed, some people have found a way to put the recovery app on the main system partition, then you highjack the Android boot process by replacing some of the Android OS files, and give your self and option to boot into a recovery

It is not a true recovery, because if you flash another rom or format your system partition it is gone


Still Loading ...
 
Ok, so the phone does not come with 2nd init? If not, does the bootloader have to be unlocked to add it? If not, why bother unlocking the bootloader? From what I understand, we can just make a 2nd init with our custom roms, etc.
 
Sooo... If I may ask, what does all that mean? In semi-noob terms please :)

Sent from my potato

Ok, this is what I understand, I may be wrong.

Our kernel (uuh, kinda like a system base?) is based off another one called "little kernel". The kernel is stored in our aboot file. He got the sources, made a small change, and there was a lot of changes throughout the compiled program.
 
Did you try putting this aboot on the motion, see if it throws our security error or not? If it doesn't that may be our key, we will just compile our own aboot without the added security.

BTW, I also verified that it is for sure our aboot that is throwing the error. Found the exact string with HxD

the aboot I compile would not work on our phones, i did not customize it for our phone, and I dont know how to

what I was trying to find out was what the compiled code would look like if you changed a 1 to a 0

thought it would have been just a small change that could be made with a hex editor, but like I said, that one little change in the source, made the final compiled binary very different


I would actually feel more comfortable writing the aboot file that came with the freegee on my phone, than with the one I had compiled
 
Ok, this is what I understand, I may be wrong.

Our kernel (uuh, kinda like a system base?) is based off another one called "little kernel". The kernel is stored in our aboot file. He got the sources, made a small change, and there was a lot of changes throughout the compiled program.


they are two sepeare things, you have you regular kernel

and then you have your apps bootloader = aboot = little kernel

https://www.codeaurora.org/2010/03/02/little-kernel-based-android-bootloader/




,
 
Ok, so the phone does not come with 2nd init? If not, does the bootloader have to be unlocked to add it? If not, why bother unlocking the bootloader? From what I understand, we can just make a 2nd init with our custom roms, etc.


I have tried using the 2nd init, Optimus 4X Recovery installed

the problem I encounter was with the netd file that was being replaced

"you know that Andoid OS file you replace to high jack the Android boot process"

well the LG motions ROM did not like that netd file, and would not boot Android until you put the original netd file back


If we could get some type of 2nd init recovey to work, that would be good

but ultimately we want a new / hacked boot loader so that we can use custom kernels and such
 
So.. Without that private key, we are screwed?

Sent from my potato


well the freegee guys figured out a way to do it.

I would like to know how they did it

My guess is that they took a similar LG phone "same cpu and stuff" that had an aboot that does not require signed boot.img/recovery.img and loaded it to their phone and got lucky

I am probably wrong about that, they may also know some one in LG


I just really don't know how they did it, they are being secret about it, and they probably have good reason to be secret
 
I have tried using the 2nd init, Optimus 4X Recovery installed

the problem I encounter was with the netd file that was being replaced

"you know that Andoid OS file you replace to high jack the Android boot process"

well the LG motions ROM did not like that netd file, and would not boot Android until you put the original netd file back


If we could get some type of 2nd init recovey to work, that would be good

but ultimately we want a new / hacked boot loader so that we cab use custom kernels and such

i tried previously, im hoping january im able to get a motion, at which point im sure i could get a working bootstrap. unfortunately that is teh earliest i can say i would be able to commit to something like that

the optimus g got lucky in that the nexus 4 was so similar that even the board layout was the same. their "unlocked" bootloader allows them to unlock but no graphics in fastboot mode so they must do it blind (not that is truly horrible seeing as fastboot requires a computer).
 
So it is the other kernel that is there? What is the android file inside that zip?


Android Phone manufactures have to release the source code to the "Linux Kernel" in order to be compliant with GPL

A lot of the manufactures release this code, but in a broken state or they leave some thing critical out

They do not have to release the source code to their boot loaders, and if it is a Qualcom MSM cpu, most likely there aboot file is a variant of Little Kernel which is not under GPL and does not have to be released








.
 
i tried previously, im hoping january im able to get a motion, at which point im sure i could get a working bootstrap. unfortunately that is teh earliest i can say i would be able to commit to something like that

the optimus g got lucky in that the nexus 4 was so similar that even the board layout was the same. their "unlocked" bootloader allows them to unlock but no graphics in fastboot mode so they must do it blind (not that is truly horrible seeing as fastboot requires a computer).

so are they using the nexus 4 aboot ?
 
Okay...i love that this thread is getting tons of work going on with the bootloader and all....

can someone explain to me though, in easier to understand terms, why we can't use a modded version of the optimus 4x recovery 1.0 apk? it booted me into CWM, and I was able to navigate and reboot to system...
 
Okay...i love that this thread is getting tons of work going on with the bootloader and all....

can someone explain to me though, in easier to understand terms, why we can't use a modded version of the optimus 4x recovery 1.0 apk? it booted me into CWM, and I was able to navigate and reboot to system...

thats what im planning on doing we can figure out the bootloader nonsense later
 
Okay...i love that this thread is getting tons of work going on with the bootloader and all....

can someone explain to me though, in easier to understand terms, why we can't use a modded version of the optimus 4x recovery 1.0 apk? it booted me into CWM, and I was able to navigate and reboot to system...

Custom ROM's/kernel's I believe. I really am not sure, just knew people wanted it done, and I have nothing better to do.
 
okay :)

i'm reading through this thread and i'm like "awesome! sweet! sounds liek we got good people trying to unlock the bootloader!....wait....what happened to modding the apk?" lol
 
Back
Top Bottom