[Q] Implement Recovery in Kernel - Xperia Z1 Compact Q&A, Help & Troubleshooting

Hi all,
I lately tried to build a stock kernel from source. It worked well, but I have 2 questions now.
Thats the first kernel i ever built. So I'm really new to that.
How can implement a recovery to the kernel?
And after flashing my kernel I can't modify files in /system. What do I have to do that I get root access with my kernel?
I hope someone can help me.

May be that thread helps: https://forum.xda-developers.com/showthread.php?t=3301605

Klaus N. said:
May be that thread helps: https://forum.xda-developers.com/showthread.php?t=3301605
Click to expand...
Click to collapse
Thanks. That's a beginnig.
I will try to do something with that.

Related

[Q] Help with kernals

what do they mean ? and can i get the links to have a custom kernal ?
Gazorra said:
what do they mean ? and can i get the links to have a custom kernal ?
Click to expand...
Click to collapse
Look in the devellopment secrion of this forum and you'll find all kinds of custom kernels with guidance on how to flash them.
Thx
Thanks mate
Gazorra said:
what do they mean ? and can i get the links to have a custom kernal ?
Click to expand...
Click to collapse
Hi,
From Faux123's thread (simple but clear):
What is a Kernel? The Kernel is the Foundation in which everything else builds upon in any software system.
[Car Analogy]: Kernel is like the Engine, Electrical system and the Transmission to a car. The Library, Framework and the Apps [AKA ROM] are the body frame and the rest of the Car.
Click to expand...
Click to collapse
For those kind of questions Google is your best friend
Don't know if you have a cdma/gsm/Sprint Gnex but here are a few kernels:
http://forum.xda-developers.com/showthread.php?t=1414850
http://forum.xda-developers.com/showthread.php?t=1367341
http://forum.xda-developers.com/showthread.php?t=1455874
http://forum.xda-developers.com/showthread.php?t=1438417
http://forum.xda-developers.com/showthread.php?t=1437633
http://forum.xda-developers.com/showthread.php?t=1414364
http://forum.xda-developers.com/showthread.php?t=1508068
http://forum.xda-developers.com/showthread.php?t=1586508
And,please,do not ask which one is best:there's already a bunch of questions like that here or in the general section.
Read the last feedbacks in each thread of each kernel and test by yourself...
The dev section and the search fonction are awesome!
And it's KERNEL not KERNAL...

[Q] Help about kernel..

Hello, im newbie and im noob. Please help me. What is kernel?? and what can kernel do to our device? im planning to change my kernel on maroc's kernel. i dont understand hows the step to change kernel. please help.
Is android general is asking prohibited>? idont thinkso. so icreated a thread i just want a clear steps cos i dont understand the steps by the owner and the google too. ty
renr29 said:
Hello, im newbie and im noob. Please help me. What is kernel?? and what can kernel do to our device? im planning to change my kernel on maroc's kernel. i dont understand hows the step to change kernel. please help.
Click to expand...
Click to collapse
Best advice for you better not to try things if your not sure because if you mess it up then it would be over. before you try something then you should KNOW the DO's and DONT's and you should know how to go back or FIX the problem at anytime.
well...there's FAQ thread here. we should ask any question there, not here. maybe you've seen that there're lot of user who didn't obey it. this is because they want to get a quick responses for their post. nevertheless, most of more experienced user will ignore this kind of post. there's no point asking a question here if you need an answer for an expert.
btw, I'll try to answer your question. kernel is a part of os which used by the program (or OS) to communicate with the hardware or the reverse. it also used to boot up and load the OS to the computer (or device). it controlling the app and the hardware behaviour and setting. the structure is kind of like this.
programs<-->kernel<-->hardware
for an instance, when you use a music player, the music player is transmit the digital data to the kernel, then the kernel send the data to speaker as analog data. the same principal works for another app. you'll need googles help if you want to know much more about kernel.
So can i change kernel on my stock rom dxlc1?can i use maroc?
it has bugs...do it with your own risk
kurotsugi said:
it has bugs...do it with your own risk
Click to expand...
Click to collapse
I don't think there are serious bugs if you flashed it on stock rom. For me it's quite stable to use for normal usage. use the latest version
What does it do ?
Are you using it now sir? im not sure if ill use it i dont know how it works.
What do you mean? Im using sd partition and link2sd. so it causes error if i use them ?
BTW bro off topic . when im using link 2sd. and im moving installed apps, and when i install new apps. i check the automatic link? whats the meaning of that linking. thanks
renr29 said:
BTW bro off topic . when im using link 2sd. and im moving installed apps, and when i install new apps. i check the automatic link? whats the meaning of that linking. thanks
Click to expand...
Click to collapse
Up my question ^_^
Partition your sdcard
Sent from my Nexus One using Tapatalk
altruistic666 said:
Partition your sdcard
Sent from my Nexus One using Tapatalk
Click to expand...
Click to collapse
?? Your out off topic bro

4.3 ROMs?

What ROMs are okay to flash if you have the Knox bootloader. Im so confused about this Knox thing. Ive read if it doesnt change your bootloader you will be fine and others saying i have to wait for a stok mk3 .tar (i do believe thats the right one) file to be available. one dev posted a rooted 4.3 rom and he said this wont mess with the bootloader. im just nervous dont want to brick my phone. someone please help and shed some light on this confusing situation
This should be Q and A section, and Cnexus posted a FAQ about this in general section....
Sent from my SPH-L710 using Tapatalk
sorry about that
and i think i read what he posted but im still confused its such vague answers. idk why people cant just say yes or no. instead of elongating there answers. I just want to know if there are ROMs that i can flash while on the obKNOXious bootloader
StonerSteve420 said:
sorry about that
and i think i read what he posted but im still confused its such vague answers. idk why people cant just say yes or no. instead of elongating there answers. I just want to know if there are ROMs that i can flash while on the obKNOXious bootloader
Click to expand...
Click to collapse
I'm running the cm11/kitkat experimental build and I have the new knox bootloader, the rom requires some tweaking, I will post it soon if the original dev doesnt incorporate my fixes.
StonerSteve420 said:
sorry about that
and i think i read what he posted but im still confused its such vague answers. idk why people cant just say yes or no. instead of elongating there answers. I just want to know if there are ROMs that i can flash while on the obKNOXious bootloader
Click to expand...
Click to collapse
If you want a simple answer, then here it is: you can flash any rom you want.
Only one catch: do not EVER Odin a full stock tar with version < MK3 to your device or you will instantly brick.
PuffTheMagic said:
I'm running the cm11/kitkat experimental build and I have the new knox bootloader, the rom requires some tweaking, I will post it soon if the original dev doesnt incorporate my fixes.
Click to expand...
Click to collapse
i would be open to using that but CM11 has some problems not everything works. Im looking for a stable build. Camera video player etc all working idk im just lost with this knox thing man.
StonerSteve420 said:
i would be open to using that but CM11 has some problems not everything works. Im looking for a stable build. Camera video player etc all working idk im just lost with this knox thing man.
Click to expand...
Click to collapse
Whats not working in CM11 for you?
CNexus said:
If you want a simple answer, then here it is: you can flash any rom you want.
Only one catch: do not EVER Odin a full stock tar with version < MK3 to your device or you will instantly brick.
Click to expand...
Click to collapse
Thank you. First answer I've been able to understand. Just stay away from Odin and .tar files. About to flash your ROM so I can have root and from what I've been reading pretty good battery life as well. Thanks for your work man.
PuffTheMagic said:
Whats not working in CM11 for you?
Click to expand...
Click to collapse
last i read the camera may cause reboots and i do believe there was one other thing
StonerSteve420 said:
last i read the camera may cause reboots and i do believe there was one other thing
Click to expand...
Click to collapse
I've been running it with ART and I haven't had it reboot on me yet. I think once I was doing something with the camera gallery and the camera 'broke" and required a restart but I can't remember if that was when I was playing with cm10.2 or cm11.
PuffTheMagic said:
I've been running it with ART and I haven't had it reboot on me yet. I think once I was doing something with the camera gallery and the camera 'broke" and required a restart but I can't remember if that was when I was playing with cm10.2 or cm11.
Click to expand...
Click to collapse
well if this is the case than how did you get CM11 working? did you just download and flash from the OP if so can you share the link with me. And what is ART?
StonerSteve420 said:
well if this is the case than how did you get CM11 working? did you just download and flash from the OP if so can you share the link with me. And what is ART?
Click to expand...
Click to collapse
The original ROM checks for "know" baseband versions to make sure you dont try flashing the ROM on the wrong device. I had to unpack the ROM, add support for the new baseband and then repack the ROM inorder to get it to install. I also change he kernel cmdline to set SELinux to permissive mode by default (like it was in 4.3). I will post the tweaked ROM shortly.
PuffTheMagic said:
The original ROM checks for "know" baseband versions to make sure you dont try flashing the ROM on the wrong device. I had to unpack the ROM, add support for the new baseband and then repack the ROM inorder to get it to install. I also change he kernel cmdline to set SELinux to permissive mode by default (like it was in 4.3). I will post the tweaked ROM shortly.
Click to expand...
Click to collapse
please do i would much appreciate it. wouldnt mind trying out CM11 and 4.4 kitkat
StonerSteve420 said:
please do i would much appreciate it. wouldnt mind trying out CM11 and 4.4 kitkat
Click to expand...
Click to collapse
Try this http://forum.xda-developers.com/showpost.php?p=47987693&postcount=875

[Q] How to deodex my lollipop stock rom?

Hi. I'm trying to get my drm functions back using this guide: http://forum.xda-developers.com/crossdevice-dev/sony/xperia-z1-z2-z3-series-devices-drm-t2930672
But I need a deodexed rom. I flashed lollipop, but I dont want to download a deodexed lollipop rom now because their sizes are too big and my internet here sucks. Is there any flashable file to deodex my rom? I've been searching but can't find anything.
Thanks in advance!
PS: Anyway, if it's not possible, this rom: http://forum.xda-developers.com/son...t/rom-d5503-14-5-0-242-customised-fr-t3099531
must be flashed through recovery? Do you recommend something else?
BrNoMen said:
Hi. I'm trying to get my drm functions back using this guide: http://forum.xda-developers.com/crossdevice-dev/sony/xperia-z1-z2-z3-series-devices-drm-t2930672
But I need a deodexed rom. I flashed lollipop, but I dont want to download a deodexed lollipop rom now because their sizes are too big and my internet here sucks. Is there any flashable file to deodex my rom? I've been searching but can't find anything.
Thanks in advance!
PS: Anyway, if it's not possible, this rom: http://forum.xda-developers.com/son...t/rom-d5503-14-5-0-242-customised-fr-t3099531
must be flashed through recovery? Do you recommend something else?
Click to expand...
Click to collapse
Try this: http://forum.xda-developers.com/and.../script-app-joeldroid-lollipop-batch-t2980857
or this: http://forum.xda-developers.com/and.../guide-android-l-5-0-lollipop-deodex-t2967242
but believe me munjeni´s ROM from here: http://forum.xda-developers.com/son...t/rom-d5503-14-5-0-242-customised-fr-t3099531 is great ...
moonryder said:
Try this: http://forum.xda-developers.com/and.../script-app-joeldroid-lollipop-batch-t2980857
or this: http://forum.xda-developers.com/and.../guide-android-l-5-0-lollipop-deodex-t2967242
but believe me munjeni´s ROM from here: http://forum.xda-developers.com/son...t/rom-d5503-14-5-0-242-customised-fr-t3099531 is great ...
Click to expand...
Click to collapse
Thanks for the answer.
Munjeni rom looks good, i think i will try it when i get home, where the internet is better.
Im kinda new with this. That rom must be flashed through recovery, right? does it needs to be cwm or twrp, or it doesmt matter?
Thanks again!
BrNoMen said:
Thanks for the answer.
Munjeni rom looks good, i think i will try it when i get home, where the internet is better.
Im kinda new with this. That rom must be flashed through recovery, right? does it needs to be cwm or twrp, or it doesmt matter?
Thanks again!
Click to expand...
Click to collapse
It doesn´t matter- i prefer TWRP
p.s. munjeni is a genius in compiling and programming - trust me (or better him)

S6 RAM Management issue fixed!!!

Read from post #80 on..
Can someone take the stock OE2 kernel and add this fix to it if possible?
Thanx
Joe, just wanted to say thank you for always giving us tips and teaching us. I truly and honestly appreciate all your hard work.
Mig1234 said:
Joe, just wanted to say thank you for always giving us tips and teaching us. I truly and honestly appreciate all your hard work.
Click to expand...
Click to collapse
I'm learning as well with you guys! Can't wait for the ROMs to kick off and this phone to really be used to it's full potential!
Hello guys, I just rooted the phone (even tho it came with an unlocked bootloader) I just checked the android development section... and there are no roms? Is that right or am I looking in the wrong subforum?
ninten5 said:
Hello guys, I just rooted the phone (even tho it came with an unlocked bootloader) I just checked the android development section... and there are no roms? Is that right or am I looking in the wrong subforum?
Click to expand...
Click to collapse
See the discussion over here: http://forum.xda-developers.com/sprint-galaxy-s6/help/roms-t3131294
I posted full instructions on that thread, but I am running this ROM http://forum.xda-developers.com/spr...ment/sac23ram9200srintdeoxedmoddedv1-t3107342 with the Ktoonsez kernel from here http://forum.xda-developers.com/spr...elopment/kernel-kt-sgs6-ocv-ktweaker-t3093009
Install TWRP or FlashFire, wipe, flash ROM and kernel and....PROFIT!
S6 Deep Sleep Fix Zip
Created by Chainfire, full details and link can be found here: http://gs6.wonderhowto.com/how-to/fix-deep-sleep-issues-caused-by-rooting-your-galaxy-s6-0161734/
@JoeFCaputo113, can you add to your tutorial? Thanks!
Wow @koop1955 you really are Einstein! I'll get to flashing right away, I have already rooted but had not encountered the deep sleep problem so I wont do that install yet.
koop1955 said:
Created by Chainfire, full details and link can be found here: http://gs6.wonderhowto.com/how-to/fix-deep-sleep-issues-caused-by-rooting-your-galaxy-s6-0161734/
@JoeFCaputo113, can you add to your tutorial? Thanks!
Click to expand...
Click to collapse
What's that for don't get it? I'm rooted and my phone sleeps fine. Only 5% in 7hrs of sleep last nite!
JoeFCaputo113 said:
What's that for don't get it? I'm rooted and my phone sleeps fine. Only 5% in 7hrs of sleep last nite!
Click to expand...
Click to collapse
If you are not experiencing the issue, then there is no need to flash.
If however you take the plunge and install TWRP, you will probably need this.
koop1955 said:
If you are not experiencing the issue, then there is no need to flash.
If however you take the plunge and install TWRP, you will probably need this.
Click to expand...
Click to collapse
Bingo... I went with the PingPongRoot+Flashfire route... no TWRP for me yet lol.
JoeFCaputo113 said:
Bingo... I went with the PingPongRoot+Flashfire route... no TWRP for me yet lol.
Click to expand...
Click to collapse
I tried to be clear that this was for the tutorial, not needed for you...yet.
If you are going to flash a ROM, even via FlashFire, I believe that you will trip Knox. Same with a custom kernel. (Joe, can you ask a dev?) That said, if flashing a ROM is in your future or if you want to include this in your tutorial, then you might as well flash and use TWRP. And if you flash TWRP, you should flash the patch.
Joe, I hope to see you on the Dark Side soon...we have cookies! (And some pretty cool ROMS!)
koop1955 said:
I tried to be clear that this was for the tutorial, not needed for you...yet.
If you are going to flash a ROM, even via FlashFire, I believe that you will trip Knox. Same with a custom kernel. (Joe, can you ask a dev?) That said, if flashing a ROM is in your future or if you want to include this in your tutorial, then you might as well flash and use TWRP. And if you flash TWRP, you should flash the patch.
Joe, I hope to see you on the Dark Side soon...we have cookies! (And some pretty cool ROMS!)
Click to expand...
Click to collapse
Kernels I know trip Knox, I don't know about ROMs though... and what is this dark side?!
Since this thread is very active thought id ask...any HTC One type skins or themes available?

Categories

Resources