Hi guys, finally a was able to get a logcat from my device:
https://forum.xda-developers.com/chef-central/android/starting-adb-boot-process-debugging-t3559980
Righ now the device boots into optimizing apps, then gets into a bootloop when "starting apps" appears, just reboot.
Directory with all the files (dmesg, logcat, tombstone and ndk-atack debug): https://drive.google.com/open?id=0ByjBTzGuQ9FIaWJ4RjBkZ1RWSDQ
Thanks alot for your time!
Nobody? As far i google it probably is zygote dying and killing all the child process....
Tombstone added. This is when the system bootloop:
Code:
Abort message: 'frameworks/av/media/libmedia/MediaProfiles.cpp:326 CHECK(quality != -1) failed.'
I found this: https://forum.xda-developers.com/showthread.php?t=2589516
I try with a similar solution for my device (Snadragon 805) i try media_profiles.xml and media_codecs.xml from shamu and quark (twin devices) but with the same result.
Also i try with stock libmedia.so and libmedia_jni.so in vendor tree, but it bootloop in bootanimation...i'm close bun any help will be appreciated!
EDIT: I jut solve this bootloop removing the 4k profile...
Added media_profiles and media_codecs
Finally i get rid of the bootloop related to media_profiles.xml, i just delete the 4k profile, seems to work on stock but not on CM.
I'm still on a bootloop but this is more nasty...i have no idea why this happen and i cant understand the logs at all.
I just post dmesg, logcat, tombstone and ndk-stack debuged tombstone....any hel will be appreciated!
As far i see the device crash here:
Code:
/data/dalvik-cache/arm/[email protected]@[email protected] (offset 0x80b000)
I don't know but probably seems to be related with dex2oat? with jar files....
I think i put some propietares odexed jar files in a deodexed rom....but i don't know why services and frameork crash...
I was playing around with some ART config https://source.android.com/devices/tech/dalvik/configure.html
But no luck, probably the crash isn't related to ART at all...anyone see something in the logs that can help me to start to search a solution?
Thanks in advance
Finally i found the reason of the bootloop. Looking at the tombstone i found the string "antutu". Doing a "grep" in CM sources i found it's related to "Perfomance Manager Service" here "vendor/cm/overlay/common/vendor/cmsdk/cm/res/res/values/config.xml". So disabling the service in "/vendor/cmsdk/cm/res/res/values/config.xml" (with an overlay) i got my rom booting.
Code:
<!-- <item>org.cyanogenmod.platform.internal.PerformanceManagerService</item> -->
But this come with nasty consecuenses, because mpdecision goes mad and only activate one core of four....So, digging some more i found out that probably only need to disable "Performance Profiles" in source, but i have no idea how to do it...a little step, btw...
This is what i need to disable:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Related
Hi,
First post here, hello! and I'm new to android and smartphones in general, be gentle!
I have a Samsung Galaxy SII and I'm one of the ones who suffer from the "echo problem" during calls. In my case, turning off noise cancellation fixes the problem. The only problem is, as you might know, that you can't disable it permanently (without editing the Phone.apk).
What I'm trying to do is what's stated in this thread: http://forum.xda-developers.com/showthread.php?t=1372718
(I can't post there need 10 posts)
First of all, the software I'm using is as follows;
ROM: CheckROM v4
Kernal: DarkKnight v2.3
Modem: KI4
Am I right in thinking that my ROM is deodexed?
So, what I've done:
1. Install AndroidSDK and ADB. I followed this guide: http://www.youtube.com/watch?v=y6K1XLmafPc&feature=player_embedded
2. I found the Phone.apk in my phone and put it on my PC.
3. I've attempted to decompile Phone.apk using APKTool, using this guide: http://www.miui-au.com/add-ons/apktool/
This is where I'm stuck, I've gotten up to the stage where you put "apktool d Settings.apk" in the command prompt. This is the error I get:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Now, I may be wrong but is this because it's a "Themed" apk?
I would appreciate any help! Thanks.
I've already replied on the other forum, but I'll add it here incase anyone else has the same problem.
You need to add the file "twframework-res.apk" to where apktool is aswell. Then after doing "apktool if framework-res.apk" do "apktool if twframework-res.apk" then carry on as normal .
Bloomfield87 said:
I've already replied on the other forum, but I'll add it here incase anyone else has the same problem.
You need to add the file "twframework-res.apk" to where apktool is aswell. Then after doing "apktool if framework-res.apk" do "apktool if twframework-res.apk" then carry on as normal .
Click to expand...
Click to collapse
Ah great, that seemed to work thank you!
Now I need to edit it and re-compile it again. Hopefully I can manage that, but it's likely I'll have a problem, will post back if I do.
I know there is other tools out there, I was bored and decided to write up a tool that runs the root script in a GUI for windows.I just wanted something to do and this is what I came up with.
Special Thanks To:
Regaw - AndroidLib
pedrotorresfilho
kholk
miloj - Exploit binary
First things first. This program runs a commands at startup. It will verify if the device is a razr, it will verify only 1 device is plugged it. It does have minor error checking. It's mainly just to look cool. While it does root again I was bored. This really isnt anything new.
NOTE: To exit the application you click the back button. This will exit the app.
The home button will take you to this thread.
The Menu button i'm not sure what to do.
The Search button i'm not sure what to do. // Will probably set it up for donation link for the guys above.
Also I know the file size is big, lol like i said i did this while being bored its more focused on the look. It uses some extra dlls etc in order to do transparency and listbox images.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
[Download Link]
Download Here
+1..
another guide..
thank for sharing...
Link is online now.
Fixed a minor bug where software would crash during restart of device.
Nice tool, thanks :good:
nice tool...
downloading..
wowww.. interactive tools for root..
downloading now..
and I will tested at ICS Asia Retail..
report ASAP..
Hi!
Why is the adb process persistent? After running this aplication we cannot delete de folder or disable the adb process in background.
--Edit--
I may have found an answer: You've used a 32bit library (MS Windows (GUI) Intel 80386 32-bit). You should add a statment in OP it's for 32bit versions of windows.
Thanks
32Bit should run fine on 64bit machines, just need to place adb-killserver on shut down and that will stop adb. I will do that today.
All versions of CWM recovery I've tried and built for the HTC Desire SV (dual sim) has this strange behaviour: when scrolling down through the menu, the screen jumps some characters for every odd menu item, and is correctly displayed for every even menu item.
This is with CWM Recovery 6.0.3.6.
Is this a bug, or any way to configure my source files to correct this?
picture
Here's a picture:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
jheller said:
Here's a picture:
Click to expand...
Click to collapse
Happens also on 6.0.1.2. More obervations: the first 50 pixels or so are missing in the rendering of the page (can be seen in the bottom left corner: a black row of pixels, under "Warning"). Having a look at ui.c, miniui.c, seems to be a bug when flipping pages.
Fixed by disabling page flipping
Fixed it by changing some code in bootable/recovery/minui/graphics/c ....
This is where it goes wrong:
vi.yoffset = n * vi.yres;
Somehow, this also introduces an x-offset, at least on my device.
Although exact root-cause is yet unclear, I made a non-page flipping CWM recovery. Let me know if anyone's interested.
The quick fix can be downloaded from this thread: http://forum.xda-developers.com/showthread.php?t=2487211. Will probably commit this fix upstream on github ad well, once I figured out how.
I still wonder if this bug is device related, please post a reply and let me know if you also experience it, which device, which ROM, etc.
jheller said:
The quick fix can be downloaded from this thread: http://forum.xda-developers.com/showthread.php?t=2487211. Will probably commit this fix upstream on github ad well, once I figured out how.
I still wonder if this bug is device related, please post a reply and let me know if you also experience it, which device, which ROM, etc.
Click to expand...
Click to collapse
I also get the exact same issue on my device.
HTC Desire 300
Stock android 4.1.2
CWM = Philz-cmw6-v5.15.9_base_6.0.3.7_by_SPaWn
Hey there.
I have since a few days the new ShieldTV remote with IR function and netflix button. Since yesterday I try to change the NvIRTuner.apk (com.nvidia.irtuner) or its database or the IR calls. Unfortunately without success so far.
The database is built very interesting. I'm talking about the O1R_UPDATE_19NOV20.sqlite here.
In the table M_Codes you can find all IR codes. Before the corresponding Java class determines the device which one has selected in the IR-AV-Toogle menu. In my case a LG TV with the id 1970. This Id can be seen in the setup.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Here a Logcat excerpt, if I press my menu button to trigger the HDMI toggle:
07-11 13:37:30.050 4415 4601 D ShieldBluetoothIRInterface: *****REPORT*****0 - Pastebin.com
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
pastebin.com
Good to see the actual IR_Code that is taken, or its alias:
INPUT SCROLL
What I have tried so far:-I replaced all IR codes in O1R_UPDATE_19NOV20.sqlite with Channel_UP and then moved this db to /data/data/com.nvidia.irtuner/databases with su-rights.
-> Unfortunately the system app com.nvidia.irtuner seems to read the db inital only once. I can't get it to read my db. I don't understand why. No matter if I reset the app, replaced the O1R_UPDATE_19NOV20.sqlite and give appropriate chown and chmod rights or reset the app before.
-My second attempt was a modified APK. Unfortunately, this can not be installed, because it must be signed by nvidia. I have root, but I don't know what to change in the /system/packages.xml so that the system would accept the app.
->When I try to install it, I only get the message that you have to sign this apk appropriately for the user.
-Then I tried to reproduce the service call from the logcat but unfortunately I don't know what to do.
Does anyone have a tip for me?
Greetings by Idijt
Read First.
I do not own or made this kernel. The owner/developer is @Laulan56, all the credits, copyright are belong to the original owner.
Warning:
It's your choice to use it or not.
I do not responsible for what happened to you.
If you messed it up and you point your finger at me, i will laugh so hard at you.
Marisa OSS Kernel was build for toward performance, efficiency, while also maintaining battery backup.
Please Note:
The Marisa kernel is only work on OSS AOSP Android 12.
Changelogs of R3:
-Import Anti flicker(DC dimming) Support(NEED TEST)
-Use efficient CPU frequencies and busy costs
-Some more that idk...
[Check more on GitHub for details]
Instructions:
•Enter recovery mode, install Magisk first as it required, then find the file you downloaded in storage and install it.
•Clean "Davik-ART" and "Cache" after done and before reboot (Optional).
Bugs:
•Weird or corrupt color when the brightness is set to low enough. Avoid set the brightness to lowest or your device screen will become total black, if you are stuck, then reboot.
•You may experience minor lags of animation in some apps.
•Slow charging? Go to system/vendor/etc and remove all the files with name "thermal-xxx", "thermald-devices" and reboot (It's recommend you to take backup before remove them), if the system is blocked you from delete it, then boot to recovery mode and go to file manager or something like that, if it not, then reboot few more time until it's working.
•It's the only fix i did found so far, and on't worry about overheating, kernel or the ROM (maybe) have msm or caf thermal. When it reach 45°-46°, the charging will slow down.
•However, don't run any heavy app like 3D Games, Video Editor or Benchmark during charging, or your device will get huge lags, freeze and the fast charging will stopped working until you reboot it.
Also don't use or uninstall any Magisk modules that affect charging.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
FKM profile will not be available, due to problem while trying to saving profile in app.
That's all of it.
Leave some thanks if it work for you.
thank you very much!!!
Really appreciate the work
could you update it to the latest revision
Naveen Narendra said:
Really appreciate the work
could you update it to the latest revision
Click to expand...
Click to collapse
dude I'm not a dev, ask @laulan