Weird Kernel Build Problem - Vibrant Q&A, Help & Troubleshooting

Having some issues with custom kernels, so I thought I'd see if anyone else is hitting the same things. (Using the source from SGH-T959_Opensource.tar.gz)
The default config doesn't build at all.
In file included from init/main.c:79:
include/linux/kernel_sec_common.h:9: fatal error: mach/map.h: No such file or directory
My custom kernel builds fine (config tweaks, nothing seriously changed) but it hangs at boot (not completely unexpected) and shows the AT&T Worldphone logo (..thats somewhat unexpected.)
I am using the initrd (as a cpio still) from http://forum.xda-developers.com/showpost.php?p=7431131&postcount=268 and it seems to be ok, except for the whole not working thing..

Anybody? Surely someone has tried to boot a kernel from scratch..

Related

[Q] Galaxy Tab 10.1 P7510 AOSP 4.0.4 servicemanager Issues

Hi everyone:
I am attempting to boot AOSP 4.0.4 (r1) for the Galaxy Tab 10.1 wifi (GT-P7510). I have merged pershoot's CM9 3.1.10 kernel and been able to get through a few errors noticed in last_kmsg. However, I'm trying to figure out why servicemanager is now crashing and can't seem to get a hold of a logcat. I must be doing something stupidly simple incorrectly...have searched high and low and every example I have seen of someone complaining of a servicemanager crash with the same output has a logcat to provide.
Basically what's happening is I try to boot, see the Samsung Galaxy Tab logo, it sits for about 20 seconds and then auto-reboots back into recovery after the 4th servicemanager crash.
I edited the init.rc to increase loglevel to 8 which is showing me more detail, but not enough. I've attached my last_kmsg, init.rc and init.p3.rc to this thread in a zip file.
Here's what I'm doing to try and pull logcat:
1) Boot into recovery, wipe my device, install my rom/kernel + gapps
2) Run "adb logcat -v long > logcat.txt". I get the obvious "-waiting for device-" message
3) Attach device to computer
4) Reboot device and wait
When the device goes back into recovery after the failed boot, I check the output file and it's empty. What dumb thing am I forgetting? Or is it legit that the system is just not getting far enough into the boot sequence to start adbd?
Thanks all very much in advance for any assistance you can provide.
Never mind, worked it out on my own.
Sent from my Infamous Tab.

[Q] Debug JB build not loading past init logo.

I compiled JB 4.1.2 for my device. It compiled perfectly after fixing the device tree and adding new variables that it needed for JB. I had to use the 2.6.34 kernel as there was not enough information to easily port to 3.0.
Anyway, it flashed well. But, it will not load.
1. I see the logo displayed per uboot (logo.bmp)
2. I see the droid which is the init logo.
3. If this were like ICS, I would get the bootanimation.zip next. However, this goes to a blank screen.
It never comes up to load after the blank screen.
There isn't much in the way of ADB without WiFi unfortunately.
Any thoughts? I really could use some debugging help.

4.2.2 Porting Problems - Need a quick pointer

Hi All,
I've been trying to port a 4.2.2 ROM to my GT-I9210T that has been long forgotten by the carrier, but I'm stuck. I'm not asking for someone to solve it I just need a pointer on where to look next.
I've patched my 4.1.2 3.0.31 kernel with updated Ion, Video, GPU and sdcardfs - that all appears to work.
The donor ROM is from completely different hardware. My 4.1.2 init scripts wouldn't work so I've copied the donor scripts and modified where needed. I've still got some work to do here.
I've now got hardware acceleration, bootanimation and cache build working.
On first boot everything looks good until it finishes cache building, it then re-launches the boot animation under a new process.
If I reboot it hangs on the boot animation, if I kill the bootanimation I get a status bar at the top with a clock for a few seconds then it disappears.
I've attached dumpstate_sys and dumpstate_app.
Thanks
m0tter

[Lollipop] AOSP build for HTC Sensation (pyramid)

Hi
I tried to build AOSP ROM for my Sensation. I couldn't force it to build, so I had to change CM device tree (ivanich's one) to work with AOSP. When I got it working, checked configuration (everything is set properly) and started building. Had some troubles with building which I fixed (camera wrapper, removed Denoise and Facedetect).
Finally, I've built zip package. After flashing I just have black screen, which turns off and on for few seconds all the time (it's blinking). I took logcat, it looks like system can't load driver: http://pastebin.com/X9P5tSmQ
Could someone help me?
Thanks in advance.

[ROM][UNOFFICIAL] Cyanogenmod 11 LG L7 II CAF

DISCONTINUED DUE TO LOWER PERFORAMNCE THAN LEGACY!!!
CyanogenMod is a free, community built, aftermarket firmware distribution of Android 4.4 (KitKat), which is designed to increase performance and reliability over stock Android for your device.
CyanogenMod is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. CyanogenMod does still include various hardware-specific code, which is also slowly being open-sourced anyway.
All the source code for CyanogenMod is available in the CyanogenMod Github repo. And if you would like to contribute to CyanogenMod, please visit out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.
What are Nightly builds? Auto compiled builds of the latest CyanogenMod source from github. This version change each night and aren't officialy supported. If you find bugs/issues you can/must discuss here (do not submit nightlies bug on CyanogenMod issue tracker).
All bug reports that don't meet this conditions will be ignored:
You have the kernel provided in the zip file
You made a clean flash and didn't restore anything
You made a detailed review of the problem
You provide a logcat in a .txt file (Search internet)
You provide dmesg or last_kmsg if it is a kernel panic (Search internet)
EVERY AND ALL REPORTS OF BUGS WITHOUT LOGS WILL BE IGNORED. DO NOT POST WITHOUT LOGS BECAUSE NOTHING WILL BE SOLVED. THANKS. I CAN'T DO WITCHCRAFT.
What's working :
Booting
RIL and Mobile Data (Should work for Dual-Sim also) !!! SOMEONE CONFIRM
Storages (Internal and External)
Notification Led
Flashlight
Sound
Wi-Fi
Bluetooth
GPS
Tethering (BT, Wi-Fi, USB)
Sensors
Camera
Browser
Autoselecting your phone based on your MODEM partition
BATTERYLIFE SHOULD BE CRAAAAZYYYY
What's not working :
Video playback
Fm Radio
NFC (I never used it and it is a pain to separate from other versions other than P710)
Other things might be broken please report with logs
Instructions :
Reboot to recovery
Make a full wipe (/system, /data, /cache, /dalvik-cache)
Flash the CM11 zip
Flash Gapps (if you want)
Make factory reset
Reboot to system
Downloads :
ROM:
Older versions:
cm-11-20160222-UNOFFICIAL-vee7-RC1.zip
md5: abe9b3aaa42a3e8dd6f9bdd96bdb02c3
cm-11-20160222-UNOFFICIAL-vee7-RC2.zip
md5: 5dafd54589f603b43780bee5a5d134da
GAPPS:
pa_gapps-modular-nano-4.4.4-20150308-signed.zip
If you really appreciate my work on the L7 II series please consider getting me a coffee right now
Credits :
@Caio99BR
chil360
Y300 Team
TeamHackLg
CyanogenMod
Xda for this nice home
Donators (BIG THANKS!!!) :
XDA:DevDB Information
CM11 vee7 CAF, ROM for the LG Optimus L7 II
Contributors
neutrondev
ROM OS Version: 4.4.x KitKat
ROM Kernel: Linux 3.4.x
Based On: CM
Version Information
Status: Stable
Created 2016-02-22
Last Updated 2016-02-22
Reserved
Changelog :
22.02.2016 ---> Initial Release RC1
You have the bugs and what is working in the first post
24.02.2016 ---> RC2
overclocked cpu
added governors
added hardware monitoring for battery
probably fixed dual sim
Reserved
Wow! This so fast. hahaha!
I have P716 and I will flash then as soon as I download it.
'll test and post the feedback. If you need some test of roms for dual sim devices you can ask me.
Anyway thank's for your efforts for our device.
In P716 boot is run( although the boot in this is slightly slower than the other ROMs, but ok), so start the device,
sim card's are detecded, but when i try enable then, an error occurs and activation failed, and return to mesage "new sim card detected....", then I was not able to activate neither one sim card.
So, return to the welcome page and after choose the language, a bar run, and aking "just a sec...", after few minutes, setup wizard crashes "Unfortunately, Setup Wizard has stoped". Device does not start.
I was trying reboot for sometimes, but every time the same occurs.
I read and follow all instructions and flash this rom two times.
As the device does not start, I was unable to get Catlog. Sorry.
Edit:
Now I tried to flash without GAPPS and it worked.
But, Setup Wizard not loaded. it probably crash. Before the first boot go directly to the Home screen. All configuration, wifi, data, time, language, ... was done manually.
Too, simcard's faliled to activated. included by terminal. I will provide the logcat soon. I'm sleepy now. hehe
After, I reboot to recovery and flash GAPPS now it worked. When rebooted playstore app not works in first time, after new rebooted, playstore app works but was slowly for now all ok.
The rest all ok for now. too videoplayback is ok.
What is CAF? How is it different from normal and your previous cm11 build.
XDA-00 said:
What is CAF? How is it different from normal and your previous cm11 build.
Click to expand...
Click to collapse
First search result in google: https://www.reddit.com/r/Android/comments/1rt9md/eli5_what_is_caf_why_is_cm_going_caf_affects_the/
shhnedo said:
First search result in google: https://www.reddit.com/r/Android/comments/1rt9md/eli5_what_is_caf_why_is_cm_going_caf_affects_the/
Click to expand...
Click to collapse
So Qualcomm devices(like my p715) will have increased performance/battery life with custom roms having CAF. Right?
XDA-00 said:
So Qualcomm devices(like my p715) will have increased performance/battery life with custom roms having CAF. Right?
Click to expand...
Click to collapse
Something along those lines, yes.
Sorry i don't understand one thing, to flash this rom, and Also your cm12-13, i have to use twrp3 or can I use my old cwm, the old no-touch version? Sorry for my bad english
MustangBR said:
In P716 boot is run( although the boot in this is slightly slower than the other ROMs, but ok), so start the device,
sim card's are detecded, but when i try enable then, an error occurs and activation failed, and return to mesage "new sim card detected....", then I was not able to activate neither one sim card.
So, return to the welcome page and after choose the language, a bar run, and aking "just a sec...", after few minutes, setup wizard crashes "Unfortunately, Setup Wizard has stoped". Device does not start.
I was trying reboot for sometimes, but every time the same occurs.
I read and follow all instructions and flash this rom two times.
As the device does not start, I was unable to get Catlog. Sorry.
Edit:
Now I tried to flash without GAPPS and it worked.
But, Setup Wizard not loaded. it probably crash. Before the first boot go directly to the Home screen. All configuration, wifi, data, time, language, ... was done manually.
Too, simcard's faliled to activated. included by terminal. I will provide the logcat soon. I'm sleepy now. hehe
After, I reboot to recovery and flash GAPPS now it worked. When rebooted playstore app not works in first time, after new rebooted, playstore app works but was slowly for now all ok.
The rest all ok for now. too videoplayback is ok.
Click to expand...
Click to collapse
I need dmesg and logcat and logcat -b radio. we will fix it
@MustangBR
Flash this in recovery then tell me if it works.
https://www.androidfilehost.com/?fid=24421527759886035
shhnedo said:
Something along those lines, yes.
Click to expand...
Click to collapse
Great!
Its strange for me TWRP 3x recovery writes during installation about "unable to mount system on block 14 and data on block 20 device is busy".Nothing wrong,just strange.
First bug just on first start,setup wizard "unfortunatelly stopped" after lang selection,with or without SIM and all.Maybe reason is i am flashing not provided gApps pack but just micro[dont need lots of junk in /system]. Logcat named xD is in attached RAR.May be You will see what went wrong,sir.
Flashed without gApps,first start is working well=) .BTW if i install that micro gApps after first start,evth is fine.
Then,about camera.While focusing camera app crushes,the same was on Weritos CM with his videorecording fix.Logcat named camera attached[not filtered by error type and thats why too large,sorry].
Gonna test and look now,what else can I see.
Okay,turned developer settings ON,setted all animations to 0.5x,seems all works well on my 713.
And a question,will ART work better than Dalvik?
neutrondev said:
I need dmesg and logcat and logcat -b radio. we will fix it
@MustangBR
Flash this in recovery then tell me if it works.
https://www.androidfilehost.com/?fid=24421527759886035
Click to expand...
Click to collapse
Log are attached.
I was not able to download RIL_DS.zip, tried several mirror, but will not download.
I'll try to download more times, so get flash it I reply here.
Edit:
I was able to download now and flash it.
Remain the same any sim can not be activated. New log's below
MustangBR said:
Log are attached.
I was not able to download RIL_DS.zip, tried several mirror, but will not download.
I'll try to download more times, so get flash it I reply here.
Edit:
I was able to download now and flash it.
Remain the same any sim can not be activated. New log's below
Click to expand...
Click to collapse
I will look into it. It seems there are some issues .
@MustangBR add this line to build.prop and restart
ro.telephony.ril_class=LGEQualcommUiccRIL
Okay,played a bit with ROM.
First,smth is with lockscreen when music is played.Pictures sometime stuck,and even with player off it sometimes freezes a bit while unlocking.
Second,few times stuck on main screen with music played,one time phone even rebooted itself,other times i pulled battery.
Then,as in another CM builds,maximum volume is ABNORMAL high.
Also,sometimes battery indicates strange.I was goin home with 9%,then raised to 14% and now 20%.
Will try to catch error about freezes in music/locker soon,probably tomorrow will send an logcat.
ART works good=)
And my opinion:This will be the best ROM for vee7.Holds battery great,and works great[i changed launcher to Nova for myself to have biggest grid in menu]
And can i ask to add Smartass Governor to kernel?
DS_katauri said:
Okay,played a bit with ROM.
First,smth is with lockscreen when music is played.Pictures sometime stuck,and even with player off it sometimes freezes a bit while unlocking.
Second,few times stuck on main screen with music played,one time phone even rebooted itself,other times i pulled battery.
Then,as in another CM builds,maximum volume is ABNORMAL high.
Also,sometimes battery indicates strange.I was goin home with 9%,then raised to 14% and now 20%.
Will try to catch error about freezes in music/locker soon,probably tomorrow will send an logcat.
ART works good=)
And my opinion:This will be the best ROM for vee7.Holds battery great,and works great[i changed launcher to Nova for myself to have biggest grid in menu]
Click to expand...
Click to collapse
Will add governors and Hardware monitor of battery sure.
neutrondev said:
I will look into it. It seems there are some issues .
@MustangBR add this line to build.prop and restart
ro.telephony.ril_class=LGEQualcommUiccRIL
Click to expand...
Click to collapse
No way.
Now when to open dialer app this is crashes. The same occurs when trying to configure and activate simcard in configurations he crashes.
Also now show only one sim card symbol on the top bar of the screen, before this command appeared two.
I confirm all @DS_katauri has written. I noted the same things. + sometimes after pressing the power button to block screen and press it again to unblock screem takes several seconds with black screen until to show the screen.
GPS(included navigation mode), camera, wifi, sensors, usb, sound,video, browsers are fine, batterylife is unbelievable, very good.
Not a ROM bug,i forget to use some autostarts manager and disable sync=)
Seems ROM is stable,no reboots for night.Just damn gApps.
@MustangBR
Try the new version. Clean flash. Tell me if Dual Sim works.
@DS_katauri
Overclocked CPU and governors are there.
Also battery is monitored with kernel interface now.

Categories

Resources