Unpacking kernel - G2 Developer Discussion [Developers Only]

There are too many programs that is used to edit boot.img but after editing it, I always get stuck on fastboot or secure booting error.No problem at kitkat kernels but lp/mm kernels are problematic.Any ideas?

You need to have bump your repacked kernel. You can look for it here in G2 forums or G3.
Sent from my LG-D802 using XDA Premium 4 mobile app

krija said:
You need to have bump your repacked kernel. You can look for it here in G2 forums or G3.
Sent from my LG-D802 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Do cm kernels need bumping?

I think, yes. Here is little quote from lambda kernel thread:
Q.*How to install this kernel?
A.*Download the version you'd like to use and flash using a custom recovery like*TWRP. Be sure to use a bump-ready bootstack*for your variant. You should know all this once you're here.
Click to expand...
Click to collapse
Sent from my LG-D802 using XDA Premium 4 mobile app

krija said:
I think, yes. Here is little quote from lambda kernel thread:
Sent from my LG-D802 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
thanks, I will try.

wzedlare said:
There are too many programs that is used to edit boot.img but after editing it, I always get stuck on fastboot or secure booting error.No problem at kitkat kernels but lp/mm kernels are problematic.Any ideas?
Click to expand...
Click to collapse
I have a script that can unpack and repack a boot.img
Maybe this can help you to continue your work
http://forum.xda-developers.com/lg-g2/development-d802/kernel-lp-alternative-build-stock-t3141002

didhiy said:
I have a script that can unpack and repack a boot.img
Maybe this can help you to continue your work
http://forum.xda-developers.com/lg-g2/development-d802/kernel-lp-alternative-build-stock-t3141002
Click to expand...
Click to collapse
blastagator's bump zip solved the problem, even so thank you :good:

Related

[Q] Basic Kernel Question

G2x rooted running MIUI v1.0.1. Can you run any kernel with any ROM? Or do some not support others? Trying to run this kernel.
If the two work together, is there anything aside from the given instructions that I need to do?
1. reboot to CWM
2. Clear cache
3. Advanced, clear Dalvik
4. install zip from SDcard
5. Reboot
Click to expand...
Click to collapse
Also, if there's already a thread with basic kernel information, could you point me in the right direction?
Thanks, guys.
Hi,
Steps are correct. For about ROM and Kernel, I think yes, only some kernels run ok with roms.
Maybe I'm wrong... but my advice is don't take too much risks!
Bye, J.
Fix permission after flashing then reboot
Check dev section for kernel threads
Sent from my LG-P999 using xda premium
Waldano said:
Fix permission after flashing then reboot
Check dev section for kernel threads
Sent from my LG-P999 using xda premium
Click to expand...
Click to collapse
I did that and my phone just boots to a black screen? Goes through stock LG, fancy LG, then stays at a black screen.
Halp?
Maybe u r using wrong kernel. Latest kernels works with the latest nightly only, for other roms u should lash the older kernel, check the dev section
Sent from my LG-P999 using xda premium
Waldano said:
Maybe u r using wrong kernel. Latest kernels works with the latest nightly only, for other roms u should lash the older kernel, check the dev section
Sent from my LG-P999 using xda premium
Click to expand...
Click to collapse
So do I need to flash the previous MIUI kernel back to get my phone into functioning state? If so, where can I find it?
Check here
http://forum.xda-developers.com/showthread.php?p=18978599
Sent from my LG-P999 using xda premium
Waldano said:
Check here
http://forum.xda-developers.com/showthread.php?p=18978599
Sent from my LG-P999 using xda premium
Click to expand...
Click to collapse
Flashed this kernel and it worked like a charm.
Thanks, man.
ericalanMICHAEL said:
Flashed this kernel and it worked like a charm.
Thanks, man.
Click to expand...
Click to collapse
Sent from my LG-P999 using xda premium

[Theme][inverted] Google apps!!!

Hey guys just wanted to share this from Verizon forum looks promising. I asked the op if I could share he said as long as I didn't post the links so please do not repost the links in forum.
http://forum.xda-developers.com/showthread.php?t=2490100
[Theme][Inverted] Hangouts/GNow (10/19/13)
It's a trap!!
Team blackout app in the play store is nice too
Sent from my SAMSUNG-SM-N900A using XDA Premium 4 mobile app
Yes but the way this is done is pretty neat.
It's a trap!!
Is it possible to install this without flashing?
Sent from my SAMSUNG-SM-N900A using Xparent Purple Tapatalk 2
I've always had trouble with Google apps when trying to manually push them to the phone the Flash Gordon app let's you flash this without recovery.
It's a trap!!
firefreak664 said:
I've always had trouble with Google apps when trying to manually push them to the phone the Flash Gordon app let's you flash this without recovery.
It's a trap!!
Click to expand...
Click to collapse
It flashes the blackout apps too
Sent from my SAMSUNG-SM-N900A using XDA Premium 4 mobile app
The Flash Gordon app let's you flash almost anything except for roms I've flash a few mods with it already it works pretty good
It's a trap!!
firefreak664 said:
I've always had trouble with Google apps when trying to manually push them to the phone the Flash Gordon app let's you flash this without recovery.
It's a trap!!
Click to expand...
Click to collapse
Awesome. Great way of "flashing" Team Blackount .zip for gapps. Seriously, thanks a lot!
Doesn't flash the boot animation zips from venum
Sent from my SAMSUNG-SM-N900A using XDA Premium 4 mobile app
firefreak664 said:
Hey guys just wanted to share this from Verizon forum looks promising. I asked the op if I could share he said as long as I didn't post the links so please do not repost the links in forum.
http://forum.xda-developers.com/showthread.php?t=2490100
[Theme][Inverted] Hangouts/GNow (10/19/13)
It's a trap!!
Click to expand...
Click to collapse
Hope you enjoy them...
Gunthermic said:
Hope you enjoy them...
Click to expand...
Click to collapse
Yes sir thank you for your work keep it up, I see you've already added more.
It's a trap!!
Bataga said:
Doesn't flash the boot animation zips from venum
Sent from my SAMSUNG-SM-N900A using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Aroma zips don't work with Flash Gordon.
Sent from my SAMSUNG-SM-N900A using XDA Premium 4 mobile app
Boraltis said:
Aroma zips don't work with Flash Gordon.
Sent from my SAMSUNG-SM-N900A using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Are they aroma zips?
Sent from my SAMSUNG-SM-N900A using XDA Premium 4 mobile app
so has anyone tried this ? and confirmed working with no problems ?
I have always used black/inverted, this white is killing me lol
Yes I've been using this works great. I have came across some things that will not work with this but have not had any problems I couldn't fix.
It's a trap!!

[Q] How do I root my At&t Lg G2

I have an at&t Lg g2 with android 4.2.2 with kernel 3.4.0 and is running D80010o firmware I would like to know what method I should use to root it please help me!!!
maxster95 said:
I have an at&t Lg g2 with android 4.2.2 with kernel 3.4.0 I would like to know what method I should use to root it please help me!!!
Click to expand...
Click to collapse
It's pretty simple http://forum.xda-developers.com/showthread.php?t=2448887
Also if your phone is running D80010o firmware, flash back to stock D80010d firmware before rooting. Otherwise you might have issues when flashing certain roms.
Sent from my LG-D802 using XDA Premium 4 mobile app
Edit: Dr Buknasty already said what i was going to say...Instructions HERE
maxster95 said:
I have an at&t Lg g2 with android 4.2.2 with kernel 3.4.0 I would like to know what method I should use to root it please help me!!!
Click to expand...
Click to collapse
Sent from my LG-D800 using xda app-developers app
It is on D80010o how do I restore it so I can root it?
Sent from my LG-D800 using xda app-developers app
doktor buknasty said:
It's pretty simple http://forum.xda-developers.com/showthread.php?t=2448887
Also if your phone is running D80010o firmware, flash back to stock D80010d firmware before rooting. Otherwise you might have issues when flashing certain roms.
How do I flash it back? Please help me
Sent from my LG-D802 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Sent from my LG-D800 using xda app-developers app
AyDee said:
Edit: Dr Buknasty already said what i was going to say...Instructions HERE
Click to expand...
Click to collapse
maxster95 said:
Sent from my LG-D800 using xda app-developers app
Click to expand...
Click to collapse
Read the post I quoted from @AyDee
Sent from my SGH-I337 using XDA Premium 4 mobile app
doktor buknasty said:
Read the post I quoted from @AyDee
Sent from my SGH-I337 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I don't see anything about flashing it back to stock on that post
maxster95 said:
I don't see anything about flashing it back to stock on that post
Click to expand...
Click to collapse
Try this: http://forum.xda-developers.com/showthread.php?t=2448887
doktor buknasty said:
Try this: http://forum.xda-developers.com/showthread.php?t=2448887
Click to expand...
Click to collapse
It keeps taking me to the first page on how to root it when I click that link. If I just want to root it and keep stock rom do I need to flash it back?
maxster95 said:
It keeps taking me to the first page on how to root it when I click that link. If I just want to root it and keep stock rom do I need to flash it back?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2432476

[Q/A] ThunderZap Discussion and Q/A thread

This thread is intended for Q/A, discussion and beta testing to keep the main TZ thread clean.
yo
can you tell what to flash rist what bootjbcwm bootkkcwm whats the diferencess?
mischo12331 said:
can you tell what to flash rist what bootjbcwm bootkkcwm whats the diferencess?
Click to expand...
Click to collapse
what? :angel:
when you extract the zip there are many files. Iam using cwm recovery so iam asking what file i should use
bootjbcwm.img
or
bootkkcwm.img
thats what i want to know and stuck on the log screen
mischo12331 said:
when you extract the zip there are many files. Iam using cwm recovery so iam asking what file i should use
bootjbcwm.img
or
bootkkcwm.img
thats what i want to know and stuck on the log screen
Click to expand...
Click to collapse
Its already written there.. Jbcwm=cwm jb ver
kkcwm=cwm kk ver
I'm using the new kernel v4 twrp fw 14 at the new file I'm facing the same shutdown problem
Sent from my C2105 using XDA Premium 4 mobile app
I think there will be another beta version....
sherif_linkin said:
I'm using the new kernel v4 twrp fw 14 at the new file I'm facing the same shutdown problem
Sent from my C2105 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
@varun.chitre15 said that he will be releasing seperate beta version..
http://forum.xda-developers.com/showpost.php?p=50919616&postcount=548
sushobith said:
@varun.chitre15 already said that he will be releasing seperate beta version for that problem..
http://forum.xda-developers.com/showpost.php?p=50919616&postcount=548
Click to expand...
Click to collapse
I meant that version the beta one
Sent from my C2105 using XDA Premium 4 mobile app
tried everything!
varun.chitre15 said:
This thread is intended for Q/A, discussion and beta testing to keep the main TZ thread clean.
Click to expand...
Click to collapse
Tried fastboot and cwm of every boot image. clean flashed .14 before trying jb flavors.
and tried both CM11 and AOSPA Beta 6 and Omni ROM.
Still not crossing the TZ logo
sherif_linkin said:
I meant that version the beta one
Sent from my C2105 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
He said he will release another separate version, read it slowly..
sushobith said:
He said he will release another separate version, read it slowly..
Click to expand...
Click to collapse
The beta version is for people who stuck in the bootscreen i have the shutdown problem even with the new version
Sent from my C2105 using XDA Premium 4 mobile app
sherif_linkin said:
I meant that version the beta one
Sent from my C2105 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Alright try flashing this from fastboot
http://www.androidfilehost.com/?fid=23329332407577042
varun.chitre15 said:
Alright try flashing this from fastboot
http://www.androidfilehost.com/?fid=23329332407577042
Click to expand...
Click to collapse
Can i put it into the flashable file and flash it
Sent from my C2105 using XDA Premium 4 mobile app
sherif_linkin said:
Can i put it into the flashable file and flash it
Sent from my C2105 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Yes you can
Another thing which voltage i choose stock or the other one
Sent from my C2105 using XDA Premium 4 mobile app
So after flashing with fastboot, we have to flash the thunderzap4.0 zip which was released earlier??
Sent from my C2105 using xda app-developers app
Now i can confirm that there's no shutdown issue anymore
Sent from my C2105 using XDA Premium 4 mobile app
sherif_linkin said:
Now i can confirm that there's no shutdown issue anymore
Sent from my C2105 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Cool!
Enjoy and post issues here if you face any
CPU OC upto 1.7Ghz and GPU OC was causing it
I need more information about the sound and charger mod can be there a kernel with this features pre-activated and if i made it with terminal if i restart the phone things i have made will change
Sent from my C2105 using XDA Premium 4 mobile app
@sherif_linkin
Can you try this one more build?
http://www.androidfilehost.com/?fid=23329332407577050

[DEV]Galaxy S II Plus Development Thread

Hi XDA,
I created this thread for people, who want to talk about developing for our device, the GT-I9105(P). There are not many developers, who own our device, so I think this thread is a good start for people, who want to contribute to this community.
In this thread, you should be able to:
share ideas about fixes for issues, which exist one many ROMs
talk about kernel development
ask any development questions(that means NOT to request fixes for problem X)
share guides for building ROMs, modding your device, building kernels
request help for WIP projects
There are already several guides, which may help you with your problems:
[TUTORIAL] Compile rom from source [S2+]
[GUIDE] Deodexing your custom rom the easy way
[GUIDE] [I9105/P] How to deodex your system without using adb shell
[GUIDE][HOW-TO] How to make a Custom ROM based on Stock ROM the easy way
[HOW-TO] Samsung Galaxy S II Plus - Modding Guides
HOW TO... build kernel-unpack-pack-tar .. boot.img
Please don't ask questions, which don't belong here. I will report them as off-topic.
I will try to answer many questions, but this thread is made for everyone, who loves to help speeding up development for this device.
If you want to know something, just ask and if you know the answer, just answer.
I want to know how to decompile apk in linux
Sent from my GT-I9105 using XDA Premium 4 mobile app
khaledgomgoma said:
I want to know how to decompile apk in linux
Sent from my GT-I9105 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2213985
Can somebody help me? I am trying to port beanstalk from sii to sii plus i9105p but I get a bootloop. Any help?
Sent from my GT-I9105P using xda app-developers app
TechNoJerky said:
Can somebody help me? I am trying to port beanstalk from sii to sii plus i9105p but I get a bootloop. Any help?
Sent from my GT-I9105P using xda app-developers app
Click to expand...
Click to collapse
I never ported a rom like you do, I suggest you to compile it from source. Else you should better port it from grand
CoolDevelopment said:
I never proted a rom like you do, I suggest you to compile it from source. Else you should better port it from grand
Click to expand...
Click to collapse
kinda hard for me to compile it from source, but heck, i got the device to show the boot animation! before it would only get stuck on the samsung galaxy sii plus screen..
CoolDevelopment said:
http://forum.xda-developers.com/showthread.php?t=2213985
Click to expand...
Click to collapse
Will it work on linux
Sent from my GT-I9105 using XDA Premium 4 mobile app
khaledgomgoma said:
Will it work on linux
Sent from my GT-I9105 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Check the second message of the link to the thread you were given
when i build rom from working folder in kitchen
it has status 0 in cwm while flashing
Brian_SGW_CM9 said:
when i build rom from working folder in kitchen
it has status 0 in cwm while flashing
Click to expand...
Click to collapse
Can you be more detailed please?
Brian_SGW_CM9 said:
when i build rom from working folder in kitchen
it has status 0 in cwm while flashing
Click to expand...
Click to collapse
Look at your updater scripy maybe there is the problem
Sent from my GT-I9105P using xda app-developers app
Android ART or dalvik run time machine is better
Sent from my GT-I9105 using XDA Premium 4 mobile app
awesome cooldev.
i start adding lines in term (ubuntu)
and it says operation not permitted.
i really want to help community, but i need help
cicibanko101 said:
awesome cooldev.
i start adding lines in term (ubuntu)
and it says operation not permitted.
i really want to help community, but i need help
Click to expand...
Click to collapse
Adding lines to what? You are probably not in your directory
Sent from my GT-I9105P using XDA Premium 4 mobile app
Well i started adding lines in Terminal in Ubuntu.
Like in KINGbabasula's thread.
And when i hit enter it says : "Operation not permitted"
So Im stuck on that..
Sent from my GT-I9105P using XDA Premium 4 mobile app
cicibanko101 said:
Well i started adding lines in Terminal in Ubuntu.
Like in KINGbabasula's thread.
And when i hit enter it says : "Operation not permitted"
So Im stuck on that..
Sent from my GT-I9105P using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Then you are in a path outside your home directory or ~/bin/repo is not marked as executable
Thanks, any solution?
Sent from my GT-I9105P using XDA Premium 4 mobile app
cicibanko101 said:
Thanks, any solution?
Sent from my GT-I9105P using XDA Premium 4 mobile app
Click to expand...
Click to collapse
chmod +x ~/bin/repo
CoolDevelopment said:
Can you be more detailed please?
Click to expand...
Click to collapse
i chose some options available in kitchen
build rom from working and made it a zip
but then it says status 0 while i flash it with CWM
i dunno about update binary....
Brian_SGW_CM9 said:
i chose some options available in kitchen
build rom from working and made it a zip
but then it says status 0 while i flash it with CWM
i dunno about update binary....
Click to expand...
Click to collapse
Try to take an update binary from any other rom. And look into the updater script

Categories

Resources