yashsingh1/xdaforums huggingface dataset:
[XDA-University] junang:
Many thanks for the help sir, well i'm not really depend on the usb-cable because my usb port are limited( being occupied for another purposes)

also another reason for wifi is the device can be easily handed to my teammates for testing if using wifi and the best part of this method is it looks pretty cool ;)

let's wait for another person come up with solution.

I'm looking forward for google solution.

regard, :)
[XDA-University] Robbie P:
Have you tried the apps linked in OP? You might be able to send their logs over wifi;)

Sorry if not much help.
[XDA-University] sbrownla:
In-cred-i-ble

This is fantastic. Thank you.
[XDA-University] junang:
well i'm not familiar with those programs but i will try later :) i afraid i will come with another noob question after try those programs, so please bear with me :D
[XDA-University] Stryke_the_Orc:
No problem, that's why this guide is here:D;)

Slithering from the nether regions of a twisted mind and tarnished soul now Free
[XDA-University] ArjunrambZ:
hey

i have issues in ported rom there is no audio and gallery fc when playing any video,,can you help me out:confused:
[XDA-University] tdunham:
Audio not working for a ported rom can be because you did not copy over the appropriate hw folder(s) over from your stock rom when you ported it.

You could always use a third party gallery/video player app to get around that app issue as well. Zip up your logcat and post it for Stryke to look over to see if there is anything obvious that he can see that is causing issues.
[XDA-University] ArjunrambZ:
i have copied all the hw to port rom, but i cant find the problem's source, and how to post to stryke? can you elaborate should i post it here??

View attachment galaryfc.txt

View attachment noaudio.txt
[XDA-University] Stryke_the_Orc:
Posting here is fine, I'll get them later tonight after I get out of school and take a look:thumbup:

Slithering from the nether regions of a twisted mind and tarnished soul
[XDA-University] ArjunrambZ:
ok bro,thanks for replying :laugh:
[XDA-University] junang:
Hello

sorry for long reply, had a busy weeks :(

so far i'd tried the catlog, UI and the functionality meet my expectation :D

anyway i have sometips to anybody who also face my problem(logcat wont reappear again after some force-close).

To re-enable the logcat just reconnect the adb connection. i know it only help a bit, and requires more hand work :D

and another discovery (the problem can only happened if i start the apps in run mode then crash, if crashed in debug mode, so far nothing bad happened to logcat), have any idea?
[XDA-University] Stryke_the_Orc:
This may be by design, not 100% sure. Debug is designed to keep the logs running so you can troubleshoot, run mode is not.
[XDA-University] Stryke_the_Orc:
Your audio issue looks to be either a missing or corrupted libstagefright.so, I'd try pulling one from a working rom and simply inserting it into the rom.

Your gallery FC looks like you're also missing some dependent file or method, have you diffed the rom your porting with a stock rom for your device?

10-10 19:02:35.299 I/ActivityManager(474): Start proc com.android.gallery3d for activity com.android.gallery3d/.app.Gallery: pid=4097 uid=10022 gids={50022, 3003, 1015, 1028}
10-10 19:02:35.389 I/auditd (4108): Starting up
10-10 19:02:35.399 E/auditd (4108): Failed on audit_set_pid with error: Protocol not supported
10-10 19:02:35.399 I/auditd (4108): Exiting
[XDA-University] Stryke_the_Orc:
I would also like to extend my thanks to all those who have taken the poll, this is very informative about how helpful this guide truly is, and what uses you all have for it.:good:
[XDA-University] ArjunrambZ:
ok for audio i will try it out,,

and i used cm10.2 as base for porting,,
[XDA-University] yunusmessi:
Hi, I make a port rom and I stuck on boot loop. This is my first error. How can i fix it. I can upload full logcat if you want

--------- beginning of /dev/log/system

E/POAD ( 163): boot_mode = 0

E/POAD ( 163): update boot reason = 0

--------- beginning of /dev/log/main
[XDA-University] Stryke_the_Orc:
Yes, I'll need to see the entire log to help diagnose your problems:thumbup:

Slithering from the nether regions of a twisted mind and tarnished soul
[XDA-University] yunusmessi:
I added my entire log. Thanks you.
[XDA-University] Stryke_the_Orc:
To both of you guys whose logs I'm looking at, I likely won't have time tomorrow to look at the logs, but can get to them Saturday (It's 11:30pm on Thursday here, just for reference ;) ) I'm sorry for the inconvenience, but I'll get back to you as soon as I can :good:
[XDA-University] yunusmessi:
Thanks you, :good:
[XDA-University] njstein:
Thank you so much Stryke for this tutorial/guide. Now I REALLY understand how to get a good logcat and somewhat read it. With practice comes perfection! Thanks again!
[XDA-University] anddy777:
i have bootloop cycles more then 3 times but always offline , can help me ?

sorry for bad english :(
[XDA-University] Stryke_the_Orc:
If this is happening your device isn't even trying to boot the system, sounds like a kernel issue. Try grabbing a kernel log.
[XDA-University] Slimegod:
I'm stuck on the boot animation and I'm not able to get a log. Any way I can get on?
[XDA-University] Stryke_the_Orc:
Try grabbing a kernel log just to make sure the system is engaging, it may even point you to the problem.

Slithering from the nether regions of a twisted mind and tarnished soul
[XDA-University] Slimegod:
How do I do that. As soon as I restored my backup I was able to get a log so it's the ROM...
[XDA-University] Stryke_the_Orc:
In the op look for demesg log. Also check to be sure you still have system space available by comparing the size of your Roms system folder size to the total system space on your device. I've had bootloops that were caused by my boot animation being to large.

Slithering from the nether regions of a twisted mind and tarnished soul
[XDA-University] Slimegod:
Following the demeg log, if it's not connected to read a log, how do I connect it?
[XDA-University] Stryke_the_Orc:
If that log doesn't give you any hint as to what's going on, trial and error.

Slithering from the nether regions of a twisted mind and tarnished soul
[XDA-University] abo hani:
Thanks bro :D

1 question .... Can you post a logcat here ? because i need help .... my team port Z1 semEmail ... and there are some errors :/
[XDA-University] Stryke_the_Orc:
Yes you can:beer:

Slithering from the nether regions of a twisted mind and tarnished soul
[XDA-University] abo hani:
The ported app "Z1 SemcEmail.apk" to Xperia S .....

Thanks in advance :D
[XDA-University] Stryke_the_Orc:
Well, one thing I see repeatedly is

E/AwesomePlayer(2284): LPAPlayer::Clip duration setting of less than 30sec not supported, defaulting to 60sec

Beyond that, it looks like it may be trying to find a directory that might not exist, I'll be able to give you a better answer later when I have time to really look at this.
[XDA-University] ArjunrambZ:
ok ,i will try to find about it,,and please reply after you have looked,,,thankz for replying:laugh::laugh:
[XDA-University] Stryke_the_Orc:
Revamped the thread, a little more organized now.
[XDA-University] Stryke_the_Orc:
Your logs have got me a little stumped, I'm not too familiar with the audio side of things. It could be a codec, a missing or corrupted lib file, or something else entirely. I'll ask around and see if anyone may be able to help you :good:
[XDA-University] ArjunrambZ:
ok thankz bro,,i have replace all the lib files from base rom and flashed but the problem persist,,
[XDA-University] yakie47:
E:missing bitmap icon_att_fota_installing (code-6)

Hi,

booting to the stock recovery i get this error message that says: E:missing bitmap icon_att_fota_installing (code-6), and prior to that the phone would keep rebooting itself until it gets eventually stuck in a black screen while turned on, and it would do the same after flashing it and being stable for a few hours before going through the same problem again, i been trying to get a logcat while bootlooping but adb monitor reads no partitions even though it recognizes the phone, so Mr.Stryke_the_Orc got any idea what could be the problem?

thanks.
[XDA-University] Stryke_the_Orc:
Well, the error you're getting sounds like it's missing the icon for an over the air update, not sure why that would have any effect on your device:confused:

Try grabbing a demesg (kernel log) as outlined in post 3. It sounds like it may be a kernel issue to me. What are you running?
[XDA-University] yakie47:
I'm running jelly bean 4.1.2, and here is the kernel logcat attached. thanks.
[XDA-University] yakie47:
any news man?
[XDA-University] hafridi:
Great Info! Thank you! I actually use eclipse just to see my logcat
[XDA-University] Stryke_the_Orc:
If I don't get to it tonight I'll look at it tomorrow. Between work, school and family I'm pretty tied up at the moment. My apologies.

Slithering from the nether regions of a twisted mind and tarnished soul
[XDA-University] yakie47:
alright man take your time,

And to make thing easier here is a bootloop logcat i have managed to take by firstly flashing a stock 4.1.2 jelly bean firmware, the phone would boot up normally, and then i started running multiple apps and keeping them running in the background and directly turn it off and on again 4 or 5 times until eventually got to stuck in a bootloop, and i would end up with a similar bootloop by just taking off the battery while the phone is on and placing it again.
[XDA-University] desalesouche:
hi all.does someone know how can i set my terminal while compiling to keep all the output on screen .

for now, it doesn't keep all log if i go up on termianl screen some parts are not disponible.

thank you
[XDA-University] Stryke_the_Orc:
Good question. You do this the same way you output a logcat to a file by using the ">" command, ie...

lunch aosp_arm-eng > compilelog.txt

alternatively, if you want to see the output on screen and place it in a txt file you would use "| tee" command, ie...

lunch aosp_arm-eng | tee compilelog.txt

Hope this helps :D

Slithering from the nether regions of a twisted mind and tarnished soul
[XDA-University] Stryke_the_Orc:
Is this a ported ROM?

There are a ton of resource errors that are part of your headache, missing classes for various processes, and then there's this:

11-22 22:05:59.185: E/AndroidRuntime(3727): *** FATAL EXCEPTION IN SYSTEM PROCESS: android.server.ServerThread
11-22 22:05:59.185: E/AndroidRuntime(3727): dalvik.system.StaleDexCacheError: /system/framework/sechardware.jar
11-22 22:05:59.185: E/AndroidRuntime(3727):	at dalvik.system.DexFile.isDexOptNeeded(Native Method)
11-22 22:05:59.185: E/AndroidRuntime(3727):	at com.android.server.pm.PackageManagerService.<init>(PackageManagerService.java:1401)
11-22 22:05:59.185: E/AndroidRuntime(3727):	at com.android.server.pm.PackageManagerService.main(PackageManagerService.java:1223)
11-22 22:05:59.185: E/AndroidRuntime(3727):	at com.android.server.ServerThread.run(SystemServer.java:426)

to round it all off.
[XDA-University] yakie47:
so could be a hardware problem like the gpu for example or just a software one? because i keep getting the same errors on custom roms as well as stock firmwares,
[XDA-University] Stryke_the_Orc:
Before we rule out software, lets figure out a few things.

1a - You're having the same issues on both custom and stock firmware, are you using both custom and stock kernels?

1b - Or just keeping your custom kernel/recovery for flashing?

2 - You're absolutely positive the software you're flashing is for your device? (Sorry, but I have to ask...)

If yes to both 1a and 2, it could be faulty hardware, but I doubt it.

If yes to 1b, try using a stock kernel/recovery and see what happens...
[XDA-University] yakie47:
1a-1b- i tried stock kernel/recovery on stock firmwares and both kernels on custom roms, and the problem is the same, and it occurs even more on unstable custom roms,
[XDA-University] Stryke_the_Orc:
This could very well be a corruption of the emmc if it's also occurring on stock firmware. First and foremost, don't freak out. Lets try ruling out a few other things first.

Has the problem occurred since you've rooted your device?

Or has it just recently started happening?

What is the last thing you flashed before this occurred?
[XDA-University] desalesouche:
hi sir Stryke_the_Orc.

i could make a build for huawei u8860 (honor).i made a cm11 and a beantsalk 4.4 for it...

depednding the cwm or the twrp used, the rom is stuck on huawei logo, or on bootanimation..

i don't have my device foe the moment but here is one logcat sent by one the testors.

hope i will receve more.

do you think you could have an eye on it and advice me please?

thank you very much.

http://paste.ubuntu.com/6468318/
[XDA-University] yakie47:
the phone was bought second hand, it was 1st stock ics before it got rooted to be simunlocked in some phone shops as the binary counter indicates, after that the phone would work normally may be some reboots in the beginning from time to time, but recently things got worst, so i had to flash it with stock and custom roms to get it to boot, and sometimes even flash doesn't work, only after leaving it turned off for a 30min or something then turn it on again that's when it gets to wok normally but it would start rebooting all over again till eventually stock in a bootloop or the boot screen..,

as for the emmc, i've just checked it out with the emmc check.apk and it said that the chip is safe as well as the memory blocks.
[XDA-University] Stryke_the_Orc:
Based on this, it sounds as though the root method used may be causing some issues. If you can, get ahold of a completely stock, unrooted ROM from the manufacturer (perhaps even compiled from source) and test to make sure that hardware is not the issue. It doesn't sound like anything hardware related to me, but not knowing the device or physically having it, I can't give you a complete diagnosis.
[XDA-University] yakie47:
i guess you were right about the emmc thing, check this stock firmware bootloop logcat, but the weird thing is i get no errors scanning the emmc!
[XDA-University] Xdevillived666:
Hey guys

Firstly- this thread is great for noobs like me. Thanks for making it. Next thing

I was hoping someone could help me with a logcat I have from an Mms app that is sending but not receiving. Its just one error in particular Im not sure about... I dont wanna post it here and detract the thread,so i someone could respond or pm me,that would be awesome:)
[XDA-University] Stryke_the_Orc:
You're welcome to post it here, but please either use pastebin, code tags or hide tags. If you post here another member with your issue may already know a fix or the answer you get could help them:thumbup:

Slithering from the nether regions of a twisted mind and tarnished soul
[XDA-University] Stryke_the_Orc:
I'll take a look at this tonight.

Slithering from the nether regions of a twisted mind and tarnished soul
[XDA-University] Xdevillived666:
Its attached

Thanks ahead of time to anyone who checks it(I pastebinned it,but it wouldnt let me link it,and I didnt wanna fill twenty bloks here with the report). Im curious about these two and if they have any relevance as to why i'm getting :"Unfortunately,Messaging has stopped." after receiving a message,and "process com.android.mms" has stopper after sending mms(though it sends just fine) ...

Process: com.android.mms, PID: 5844

channel '421cd1d8 com.android.mms/com.android.mms.ui.ComposeMessageActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
[XDA-University] keifus.rahn:
Dose any one know how to fix this prob i pulled a logcat and this is what i have gotten any help would be greatly appreciated ;)

I/rmt_storage< 3409>: rmt_storage user app start

E/rmt_storage< 3409>: unable to open /dev/rmt_storage

I/audited <3405>: starting up

E/audited <3405>:Failed on Audit_set_pid with error: protocol not supported

I/Netd < 3406>: netd 1.0 starting

I/audited <3405>: exiting
[XDA-University] Xdevillived666:
I'd appreciate some help if anyone can give it. Heck,I'd even pay :)
[XDA-University] Stryke_the_Orc:
My apologies, I haven't had time to look over the logs yet.

Slithering from the nether regions of a twisted mind and tarnished soul
[XDA-University] desalesouche:
waiting patiently. glad that i can receve some help.
[XDA-University] Goldie:
11-25 21:50:58.746 E/AndroidRuntime(5844): EXCEPTION: main

11-25 21:50:58.746 E/AndroidRuntime(5844): Process: com.android.mms, PID: 5844

11-25 21:50:58.746 E/AndroidRuntime(5844): java.lang.RuntimeException: Unable to instantiate receiver com.android.mms.SmsReceiver: java.lang.ClassNotFoundException: Didn't find class "com.android.mms.SmsReceiver" on path: DexPathList[[zip file "/system/priv-app/Mms.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]

This is the problem. Deodexed rom? Maybe something didn't work right during that process. Not really sure though. Do you have that class if you decompile?
[XDA-University] Goldie:
When does it happen? What are you doing?
[XDA-University] Xdevillived666:
Im a noob ,so sorry.

Thanks man. To be honest,Im a complete noob. Its an app from 4.2.2 and Im trying to run it on a 4.4 rom for my i9300( Onmirom cm11 unofficial) .I think its deodexed,as none of the apks have odexed in front of the names.

"com.android.mms.SmsReceiver" Sorry to be even more of a noob,but where could I find this?
[XDA-University] Goldie:
I guess thats why then. The receiver in 4.4 must be handled in a different way to 4.2.2. That file would be in com/android/mms/ in the decompiled apk
[XDA-University] Stryke_the_Orc:
Thank you for your help Goldie:beer:

Slithering from the nether regions of a twisted mind and tarnished soul
[XDA-University] keifus.rahn:
Im porting a cm-11 rom to my device and its been sticking at bootanimation and that when i do a logcat and it says that over and over. :(
[XDA-University] Stryke_the_Orc:
For ease of reading and to keep the thread neat, please use either code or hide tags on your log. You may also use pastebin.

Thank you.

Slithering from the nether regions of a twisted mind and tarnished soul
[XDA-University] Stryke_the_Orc:
Also, your kernel is looking for a governor that doesn't exist, an init.d script that doesn't exist and you have memory leaks.

Slithering from the nether regions of a twisted mind and tarnished soul
[XDA-University] Goldie:
Lol...all in all....looking good :D
[XDA-University] Xdevillived666:
Thanks man!!! I'll see what I can do [MENTION=5088242]Cuzz1369[/MENTION]

Here's the problem...
[XDA-University] Xdevillived666:
Ahhh

I couldnt find it there... WOuld it be listed as that verbatim,or is it a smali file??
[XDA-University] Goldie:
Its a smali file. In that folder
[XDA-University] Xdevillived666:
Ahhhhh

Ok. Its there. What should I do next?
[XDA-University] Stryke_the_Orc:
Search for the method that was throwing errors and edit/replace/add as needed to fix your error. I am without a PC until I can fix my boot issues so unfortunately I can't be more specific at the moment:(

Slithering from the nether regions of a twisted mind and tarnished soul
[XDA-University] Xdevillived666:
You guys kick (you know what). I'll wait till you get a PC as I'm just starting to learn all this stuff. I'm gonna try a build from scratch using the 4.4 MMS code and eclipse+ SDK.... I wanna learn.
[XDA-University] Abhishek_DK:
Help

Hi Guys needhelp with this Logcat here

Newbie to Porting

http://www.4shared.com/office/2P20ES8i/alogcat2013-12-11-06-05-300000.html
[XDA-University] Goldie:
Can you not pastebin in or mediafire or anywhere but blooming 4shared!
[XDA-University] tom1491:
I'm searching for the app and see this log cat lol.
[XDA-University] Stryke_the_Orc:
There a quite a few good apps and PC programs out courtesy of our developers. That reminds me, I need to update the list when I have a minute:p

Slithering from the nether regions of a twisted mind and tarnished soul
[XDA-University] khan_frd2002:
Hi Brother.....I Am Porting A Rom in That I get This Error

E/Vold(110): Sleep 2s to make sure that coldboot() events are handled

E/POAD(147): update boot reason = 0

E/POAD(147): boot_mode = 0

Not Able To get This...Please Help

Full Log Here Brother
[XDA-University] Stryke_the_Orc:
Actually, it looks as though your problem may be this:

D/NetlinkEvent( 106): NL action '1'

D/NetlinkEvent( 106): NL subsystem 'block'

D/NetlinkEvent( 106): NL param 'DEVPATH=/devices/platform/mtk-sd.0/mmc_host/mmc0/mmc0:0001/block/mmcblk0/mmcblk0boot0'

D/NetlinkEvent( 106): NL param 'MAJOR=179'

D/NetlinkEvent( 106): NL param 'MINOR=32'

D/NetlinkEvent( 106): NL param 'DEVNAME=mmcblk0boot0'

D/NetlinkEvent( 106): NL param 'DEVTYPE=disk'

D/NetlinkEvent( 106): NL param 'NPARTS=0'

I/VolumeManager( 106): boot disk, skip!!!

W/VolumeManager( 106): [COLOR="red"]No volumes handled block event for '/devices/platform/mtk-sd.0/mmc_host/mmc0/mmc0:0001/block/mmcblk0/mmcblk0boot0'[/COLOR]

D/NetlinkEvent( 106): NL action '1'

D/NetlinkEvent( 106): NL subsystem 'block'

D/NetlinkEvent( 106): NL param 'DEVPATH=/devices/platform/mtk-sd.0/mmc_host/mmc0/mmc0:0001/block/mmcblk0/mmcblk0boot1'

D/NetlinkEvent( 106): NL param 'MAJOR=179'

D/NetlinkEvent( 106): NL param 'MINOR=64'

D/NetlinkEvent( 106): NL param 'DEVNAME=mmcblk0boot1'

D/NetlinkEvent( 106): NL param 'DEVTYPE=disk'

D/NetlinkEvent( 106): NL param 'NPARTS=0'

I/VolumeManager( 106): boot disk, skip!!!

W/VolumeManager( 106): [COLOR="Red"]No volumes handled block event for '/devices/platform/mtk-sd.0/mmc_host/mmc0/mmc0:0001/block/mmcblk0/mmcblk0boot1[/COLOR]'

It looks like the system is looking for partitions that do not exist.

If you boot back to a working ROM and run the command "mount" in Terminal Emulator, it will spit out a list of all your current mount points, then you'd just need to replace the mount points in your ported ROM's updater script with those belonging to your device. The only exception to this being if the file structure has changed radically from the version you're running to the version being ported.

When my device got Jellybean, this wouldn't work because of the addition of entirely new partitions. Be careful what you attempt to port as it could easily brick your device.
[XDA-University] desalesouche:
hi can you help me ...

4.2.2 is booting but no camera....

thank you.

http://pastebin.com/HLGxfz2j
[XDA-University] Stryke_the_Orc:
E/AndroidRuntime( 2576): FATAL EXCEPTION: Camera Handler ThreadE/AndroidRuntime( 2576): Process: com.android.camera2, PID: 2576E/AndroidRuntime( 2576): java.lang.RuntimeException: setParameters failedE/AndroidRuntime( 2576): * * * *at android.hardware.Camera.native_setParameters(Native Method)E/AndroidRuntime( 2576): * * * *at android.hardware.Camera.setParameters(Camera.java:1695)E/AndroidRuntime( 2576): * * * *at com.android.camera.AndroidCameraManagerImpl$CameraHandler.handleMessage(AndroidCameraManagerImpl.java:298)E/AndroidRuntime( 2576): * * * *at android.os.Handler.dispatchMessage(Handler.java:102)E/AndroidRuntime( 2576): * * * *at android.os.Looper.loop(Looper.java:136)E/AndroidRuntime( 2576): * * * *at android.os.HandlerThread.run(HandlerThread.java:61)

Your native parameters don't match the parameters the camera is expecting.

Slithering from the nether regions of a twisted mind and tarnished soul
[XDA-University] desalesouche:
hi sir.

i have now working camera but still some bugs left.

here is logcat: http://pastebin.com/B5EHwVXe

would you help me? thank you
[XDA-University] zeekforit:
Can anyone help me with these.

i am currently stuck on 2nd phase of boot in my lewa porting

these were the errors i recieved on log cat

thanks for those people who wants to help me.

already solved my problem thanks btw.
[Java for Android App Development] fabiosarts:
any ideas about using /framework/base from git to compile trebulchet or systemui?

i'm using IntelliJ IDEA

thank you
[Java for Android App Development] nikwen:
This is the Trebuchet repo: https://github.com/CyanogenMod/android_packages_apps_Trebuchet
[Java for Android App Development] fabiosarts:
i got the trebuche package and others i would need by downloading the entire cm10 source git using repo, the only problem is the libraries i need to compile it