[Lollipop] AOSP build for HTC Sensation (pyramid) - Android Q&A, Help & Troubleshooting

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.

Related

Build PA for M7ul -> permanently reboots

Hi there,
trying myself on compiling my "own" PA Build for my HTC one.
Basically i found everything i needed and get the build completed.
Compared to the builds from @slick_rick, my look very similar.
But after installing the rom on my One it reboots after a couple of seconds while updating the apps.
So i wiped the one and tried again. I could select the language and hit next. Again reboot.
Already switched from BBQ Linux to Ubuntu, but the problem stayed the same
Any help is appreciated. Maybe someone can point me a direction where to find somekind of logfile,as adb does not seem to be activated that early after device boot/initial setup.
THX
Chaos

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

[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.

CM13 MaX2 S19 UmBreLLaTeaM SpaiNTeaM

Hello partners!!!
Here we share the functional rom last for our MaX2!
At the request of many colleagues, I created this CM13 based on 29 September.
And adding the entire S19 firmware to have it fully updated and upgraded.
Fully functional quick and steady myself I was surprised with the performance tests ... 143,000 AnTuTu with hot enough to test mobile Cold believe can draw record numbers ...
To say that I still have problems with slow motion ....
I'm starting to not know where mistakes can be ....
Libs I managed to trace the entire structure of the official EUI and still does not work ....
Permits revised from top to bottom ...
Libs mother and CM13 ... zilch ...
Perhaps there may be something in the kernel (boot) but there are limited ...
As I change anything to do directly test the ROM does not start or comes into infinite loops ....
So ... I leave the rom completely finished but with 2 bugs.
And each user knows what he wants or what you need.
But the ROM is fully functional for day to day and is really fast and stable.
BUGS:
1 Slowmotion nonfunctional. The rest of the camera is fully functional with 21mpxl.
2nd nonfunctional IRDA. (With this ... if not roms stocks moment ... little we can do ...)
The first!!!! IMPORTANT
We do not force anyone has use or install the rom.
We do not make yourself responsible for possible errors or brik the terminal.
We simply share our work for all so that we can have the terminal in our language.
RoM CM13
CM13 based official of the day 29/09/2016
s19 official firmware with all its libs + kernel.
Rom eliminated completely stock only apks that created conflict with our terminal.
Doze functional.
Sound perfect.
wiffi
BT
Integrated Pico gapps
Some improvements in the build.prop
Installation Method
We have created a zip FULL.
ROM contains firmware s19 + recovery + 5.8 everything necessary for you to come firmware do not have problems to come and stay all properly installed and running smoothly or silly scares.
* Download rom.
* Enter the zip rom on your terminal.
* Restart recovery.
* Since the recovery to the wipes.
* Once the wipes, select the zip and install.
* Once installation is complete, restart System.
* Wait for the rom you first start, it takes a few minutes not alarmed.
downloads TeaMSpaiN
CM13 ROM S19: https://mega.nz/#!SwIHSB7C!rFQJsQxx-J-RI121GWsaC6DAhDkLHzJdDPvdVabZRRY
Your comments on this rom.
And if you find any bug report to try to fix them.
Greetings comrades!
DONATE PAYPAL: https://www.paypal.me/ParasiteYgaseOso
thanks for sharing this
Sent from my Le X821 using XDA-Developers mobile app
Thank you! I will try this rom.
Changing action of the left hardware button doesnt work, it just keeps working as "menu" button.
ArctiX said:
Changing action of the left hardware button doesnt work, it just keeps working as "menu" button.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showpost.php?p=68885350&postcount=235
meangreenie said:
http://forum.xda-developers.com/showpost.php?p=68885350&postcount=235
Click to expand...
Click to collapse
Thanks, that worked
Thanks for your work! Does Camera API 2 work this time?
I flashed this rom today. Everything works well for me!
wiped system and dirty flashed from previous cm13 and it seems to be running very well
Nice, smooth, we will see battery performance compared to Mokee.
- Camera2 api doesnt work
- Slowmotion doesnt work
- IR doesnt work
- For me, missing Aegis app from Mokee is a big step back
Sent from my Le X820 using Tapatalk
@ParasiTe_RemiX Did you build this from source or port from another device?
Beautiful ROM, but for me in Japan for some reason LTE is not working, I can get only HSPA. This is strange because in the stock eui I can use LTE no problem.
Also the hardware buttons light up when you touch the screen, on Eui they only lit up when you touched the buttons, not the screen.
Oh, and after checking now, the AudioFX doesn't work system wide, only in the cm music app, in e.g. YouTube or Tidal, it doesn't make any change in sound.
Notification light is blinking when charging, is there any way to make it always on and not blinking?
ArctiX said:
Also the hardware buttons light up when you touch the screen, on Eui they only lit up when you touched the buttons, not the screen.
Oh, and after checking now, the AudioFX doesn't work system wide, only in the cm music app, in e.g. YouTube or Tidal, it doesn't make any change in sound.
Notification light is blinking when charging, is there any way to make it always on and not blinking?
Click to expand...
Click to collapse
For the hardware buttons backlight, you can turn them off in settings/buttons or you can turn the brightness of them right down, via editing the max_brightness file.(can't remember the path name atm, but can easily google)
For the charging light, you can turn the charging light off in settings/display. The options for them don't seem to work unfortunately.
When I plugged my phone to the computer I noticed a blank file with no name and hard disk icon on my sd card, when I tried to delete it, it wiped my whole sd card! don't delete that file if you see it.
Hello, This ROM is also compatible with the version Le Max 2 Pro?
pickmod said:
Hello, This ROM is also compatible with the version Le Max 2 Pro?
Click to expand...
Click to collapse
No, you can't flash it for X620!
bahuy2003 said:
No, you can't flash it for X620!
Click to expand...
Click to collapse
I have Le Max 2 Pro X820... it is compatible?
Thank you, looks really production quality
This is extremely close to what I wanted from this device: Straighforward CM13 (ok, I'll want CM14 next), no bloat, functional and fast.
Also rooted, which means I control my device, not some vendor who wanted my money but fails to cede the control over what he sold.
And most importantly: No longer any of these Chinese apps, which refused to get uninstalled while they claimed about any privilege Android can provide.
I sure hope security patches will be coming for years as the device looks powerful enough to last a long time.
Only bug I've found so far is apps like Hangouts and Duo can't access the Camera for video calls. Apart from that, flawless so far.

How to get Vendor Blobs, Kernel source and Device Tree on an undeveloped device?

Hi,
I have a Red Hydrogen One, and nothing is available for this device, not a lot of dev have been playing with it and the project is dead from Red.
The phone can accept GSI Treble but a lot of little bugs occur since this phone has a holographic screen and 3D dual cameras.
For example, while the phone is sleeping the screen is always backlit. All the 3D screen effects are not working. The camera doesn't work. The notification LED doesn't work. and so on!
So I thought I would try to compile an AOSP rom geared toward that phone.
I have been searching quite a while and am hitting walls,
I am trying to get
1. Device tree: from what I gathered, that I can create manually.
2. Kernel source: is it possible to unpack/extract this from my boot.img? My research has been inconclusive.
2. Vendor Blobs: that I am not too sure yet. It seems to be a lot of lib files, anywhere I could find how to get this for my device from scratch?
Also, I am an intermediary coder at best, so if devs with more expertise think there are other ways (like modding an already built GSI) I am open to suggestions.
Thanks

Categories

Resources