yashsingh1/xdaforums huggingface dataset:
[HD2 Android NAND Development] gilbert32:
[MENTION=382340]walter79[/MENTION] if you compiled the new kernel, i seen a new commit (update msm_mdp.h)

try reverting it and see if it changes

https://github.com/TeamNightmare/an...mmit/051f67180949f5137a8d4f1077f48d4a76c56bac
[HD2 Android NAND Development] walter79:
it is not a kernel problem. same problem if i use tytungs kernel.
[HD2 Android NAND Development] Robbie P:
Does it change with different dpi?

Seems like the gpu is being called twice, or that the screen memory is being overwritten with an offset.

Sorry if not much help. I posted for help in the RC forum earlier, awaiting any reply.
[HD2 Android NAND Development] walter79:
Did not work seems to be a gralloc problem.
[HD2 Android NAND Development] :
Its a change in display-legacy trying to figure out what it is will have it fixed ASAP just having a lack of time for the next month or so until school calms down and football is over
[HD2 Android NAND Development] walter79:
Thanks, with some modification it was possible to build a Android 4.3 Carbon rom with your source files. Pixeldroid setup his linux machine to build it too.
[HD2 Android NAND Development] -pixelfreak-:
re

yes this night my linux machine have compiled my carbon rom 4.3.... i have the same problem with display... i will search later the mistake..

big thanks to walter79...:laugh:

Pixelfreak
[HD2 Android NAND Development] :
For now use the evervolv display-legacy
[HD2 Android NAND Development] walter79:
This one?

https://github.com/Evervolv/android_hardware_qcom_display-legacy/tree/jellybean-4.3
[HD2 Android NAND Development] -pixelfreak-:
re

what is with this files from ev HERE

pixelfreak
[HD2 Android NAND Development] NxStep:
Those won't work with our device, you will get egl errors and not working display, tried it before.

Display-legacy from evervolv works fine, I've built 4.3 with that about a month ago already.
[HD2 Android NAND Development] -pixelfreak-:
re

a dev from carbon team write me i must search in the overlay....

pixelfreak
[HD2 Android NAND Development] -pixelfreak-:
re

i have insert the display-legacy from evervolv in my carbon repo and have the same mistake with flickering.....

pixelfreak
[HD2 Android NAND Development] chautruongthinh:
You can tell me how to fix it?? I try port but it's not auto seclect network!!
[HD2 Android NAND Development] macs18max:
Walter/PixelF... Gilbert is right . Revert the msm_mdp.h commit gilbert mentioned and rebuild the ROM with evervolv's displaty legacy..... should fix the problem

display-legacy uses kernel object files to build, that is the reason why changing the msm_mdp.h file will change display related files when building the ROM
[HD2 Android NAND Development] -pixelfreak-:
re

okay i will change this later...i have other problem with this kernel i have no ADB Connect...what must i change for working ADB...walter79 is outside and can not help me.LOL

pixelfreak
[HD2 Android NAND Development] walter79:
German "Autobahn". Will try to compile new kernel and rom tomorrow.
[HD2 Android NAND Development] -pixelfreak-:
re

LOL.....
[HD2 Android NAND Development] ad2003:
Datenautobahn....
[HD2 Android NAND Development] macs18max:
Use this in the init.rc files

http://xdaforums.com/showpost.php?p=42202228&postcount=728
[HD2 Android NAND Development] -pixelfreak-:
re

ahhhhhh many thanks bro.

pixelfreak
[HD2 Android NAND Development] walter79:
Sportsstar did you plan to update "refs/tags/android-4.3_r2.2" to Update upstream refs to android-4.3_r3 ?
[HD2 Android NAND Development] -pixelfreak-:
re

yesterday i have change with walter79 the msm_mdp.h and the displaty legacy from ev....so far so good...in the comiling prozess we have a error wit QSDCamera or so.....

macs18max can you make a upload from the moded files Please thats we can test this ???? you can send me a PM....

many thanks

Pixelfreak
[HD2 Android NAND Development] macs18max:
device>htc>qsd8k-common>camera>Android.mk

Remove line

LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include
LOCAL_ADDITIONAL_DEPENDENCIES := $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr

And try..

I use sportsstar repo too
[HD2 Android NAND Development] gilbert32:
add the missing file
[HD2 Android NAND Development] -pixelfreak-:
re

haha is inside this is not so easy this corbon compile

pixelfreak
[HD2 Android NAND Development] -pixelfreak-:
re

Import includes file: /home/pixelfreak/android/carbon/out/target/product/leo/obj/SHARED_LIBRARIES/copybit.qsd8k_intermediates/import_includes
device/htc/qsd8k-common/camera/QcomCamera.cpp:25:27: fatal error: linux/msm_mdp.h: No such file or directory

i think the new build JSS15J have a mistake

pixelfreak
[HD2 Android NAND Development] NxStep:
Try adding these files manually: https://github.com/Sportsstar89/android_device_htc_qsd8k-common/tree/cm-10.1/include/linux

(You see they are missing from the new repo)
[HD2 Android NAND Development] walter79:
I think it is only a kernel problem. Compiled new build without any changes and replaced boot.img and kernel modules.

JLS36C build.
[HD2 Android NAND Development] macs18max:
OK bro.. Job made easy for you.. Please Pllease backup you original files (Don't balme me if anything goes wrong)... Delete your and Replace it with the zip.... Try to recompile by cleaning everything..

make clobber

. build/envsetup.sh

lunch

make -j10 ( or any other number )

EDIT: Also note that I use evervolvs repo in regards to hardware related files..... And sportsstar device>htc>leo files....
[HD2 Android NAND Development] -pixelfreak-:
re

i have insert your repo files and the same mistake with display_legacy. after this i make clean and insert the files from nextStep and the same mistake.....

if i make the repo download i have the carbon rom for other devices.

i insert the:

- device/htc/leo and msm8660-common and qdd8k-common

- hardware/msm7k and qcom

- kernel/htc/leo and msm8660

- vendor/htc/leo and qsd8k-common

from sportsstar89 github teamnightmare. you can make a new repo from sportsstarś git and comile and you have the same flickering

pixelfreak
[HD2 Android NAND Development] zagzag99:
Can you share this build to try and dust off an old HD2 ?
[HD2 Android NAND Development] -pixelfreak-:
re

i have a bug in my build in the statusbar under apps menu i have blurry icons... one has an idea...the ADB write me no error

pixelfreak
[HD2 Android NAND Development] walter79:
Can someone help to fix ADB on my latest build?

CM10.2 - leo

Download: http://sdrv.ms/15tQEgx
[HD2 Android NAND Development] macs18max:
I cannot download ur rom, but if you are using 3.0.16 refer to this post

http://xdaforums.com/showpost.php?p=42202228&postcount=728

You need to add this line...

# enable adb early

write /sys/class/android_usb/android0/iSerial 0123456789ABCDEF

You can see the attached file, as an example how securecrt manage to patch 4.2.2 initrd.gz with these lines
[HD2 Android NAND Development] securecrt:
how about the stability of the cm10.2 on HD2?

I
[HD2 Android NAND Development] -pixelfreak-:
re

we can not fix and make stable the 10.2 with non ADB !!!!

problem with:

- WIFI and mobile network switch / with insert sim card / with non sim card no problem (wifi on - off no problem)

- no compile with bluetooth app and bluedroid in the repo. we must delete tis app and folder for the compile. repo sync nothing helps. compile abortion because bluetooth and bluedroid

pixelfreak
[HD2 Android NAND Development] securecrt:
Did you try this?

http://xdaforums.com/showpost.php?p=42202228&postcount=728
[HD2 Android NAND Development] -pixelfreak-:
re

yes walter79 have test this. i have insert the tytung kernel and this works good withg adb.

pixelfreak
[HD2 Android NAND Development] walter79:
Why not ask others? No one like to waste time for fix problems that were fixed in past. You need correct phone.apk to fix the gsm problem too.
[HD2 Android NAND Development] walter79:
Did not work.
[HD2 Android NAND Development] tytung:
Good. You found a new method to fix the GSM problem. Congrats.

Please 'share' how you did it ASAP. :fingers-crossed:

I'm also wondering where are the source code of your modified kernel 3.0.91?

BTW, I never modify the CM phone app.

Look. There're so many approaches to fixing the same problem. You just made a new progress.
[HD2 Android NAND Development] walter79:
Check my github for kernel source.
[HD2 Android NAND Development] tytung:
Thanks. https://github.com/walter79/android_kernel_htc_leo

It's originally based on Marc's kernel 3.0.16.

You should credit him clearly in your git description.

Without Marc, no one can get a bootable 3.0 kernel.
[HD2 Android NAND Development] :
WinZip ports are useless. Your not actually fixing it your just replacing files. Anyone can replace files. To get a true fix we need to figure out what to change in the source to fix the problem. All other fixes are useless as you can't build from source with a prebuilt telephony-common.jar. That's just stupid. I fixed suspend in the 3.0 kernel. However, it seems BT is borked in the kernel. C'mon guys let's all get with the open source programs this is Android not Windows XP that you are trying to modify
[HD2 Android NAND Development] walter79:
check my git for telephony-common.jar fix but you still need to replace phone.apk.
[HD2 Android NAND Development] walter79:
Can someone help with this problem? I switch to marc1706 kernel. (2.6.35)
[HD2 Android NAND Development] gilbert32:
yes. i can. switch to compile kernel using an older toolchain (2010q3) AFAIR
[HD2 Android NAND Development] walter79:
Thanks, what is the best toolchain for this kernel? Can i use newer then 4.4.3? With 2.6.35 kernel i got a lot of missing /linux/msm_mdp.h errors during compile display-leagcy.
[HD2 Android NAND Development] gilbert32:
i think only 4.4.3 works with this kernel. you can test any other one. but that's what developers said if i recall correctly
[HD2 Android NAND Development] macs18max:
[MENTION=382340]walter79[/MENTION] FYI. Yesterday I was playing around and compile kernel 3.0.xx on teamnighmare github and managed to get adb working by reverting this commit

https://github.com/TeamNightmare/an...mmit/ee2c10522c941f0c87af3066f176b148629d104d

And adding the adb iserial line mentioned earlier in intrd.gz. Also enable in developers option. Sorry I haven't tried your rom. I used sportsstars latest cm10.2 rom
[HD2 Android NAND Development] aazzam16661:
On the Sense 5 port, we use 3.0 kernel from Teamnightmare but we dont need to revert anything just add The adb serial line and it work. But we use The 3.0_pmem branch as base now it sense5 branch, it should be the same as the cm10.2 branch.
[HD2 Android NAND Development] macs18max:
Yes the changes were done after you have port to sense(pmem based). (a month ago) So those lines are not commented // in sense or pmem, but they are commented in cm10.2. branch
[HD2 Android NAND Development] walter79:
If someone like to test this cm-10.2 (Android 4.3.1)

Download: http://d-h.st/5EG

2.6.35.14 kernel based on marc1706 kernel. Source can find on my github. (2.6.35 branch)

Maybe someone find a way to fix mobile data.

Calling, Wifi and bluetooth is working.

Mobile network seach is fixed with 2 files from tytung (telephony framework and phone.apk)

There are no public source for this fix.

Some files in /lib/hw and 4 file in /lib are build with sportsstar89 3.x kernel. (gralloc ....)

2.6.35 kernel give me some compile errors with "my" display-legacy.

I will write later a how to compile your own cm-10.2.

EDIT:

My local_manifest.xml

<?xml version="1.0" encoding="UTF-8"?>
<manifest>

<!-- CM removals -->
<remove-project name="CyanogenMod/android_hardware_libhardware" />
<remove-project name="CyanogenMod/android_hardware_broadcom_wlan" />

<!-- Device Repos -->
<project path="device/htc/leo" name="walter79/android_device_htc_leo" remote="github" revision="cm-10.2-bcm4329" />
<project path="device/htc/qsd8k-common" name="walter79/android_device_htc_qsd8k-common" remote="github" revision="cm-10.2-2.6.35" />

<!-- Kernel Repos -->
<project path="kernel/htc/leo" name="walter79/android_kernel_htc_leo_2.6.35-mark1706-based" remote="github" revision="cm-10.2" />

<!-- Hardware Repos -->
<project path="hardware/libhardware" name="walter79/android_hardware_libhardware" remote="github" revision="cm-10.2" />
<project path="hardware/qcom/audio-legacy" name="Evervolv/android_hardware_qcom_audio-legacy" remote="github" revision="jellybean-4.3" />
<project path="hardware/qcom/display-legacy" name="walter79/android_hardware_qcom_display-legacy" remote="github" revision="cm-10.2" />
<project path="hardware/qcom/gps-legacy" name="Evervolv/android_hardware_qcom_gps-legacy" remote="github" revision="jellybean-4.3" />
<project path="hardware/qcom/media-legacy" name="Evervolv/android_hardware_qcom_media-legacy" remote="github" revision="jellybean-4.3" />

<!-- Vendors -->
<project path="vendor/htc" name="walter79/proprietary_vendor_htc" remote="github" revision="cm-10.2" />

<!-- WIFI BCM4329 -->
<project path="hardware/broadcom/wlan" name="walter79/android_hardware_broadcom_wlan" remote="github" revision="cm-10.2-bcm4329" />

<!-- Toolchain -->
<project path="prebuilts/gcc/linux-x86/arm/arm-eabi-4.4.3" name="STS-Dev-Team/arm-eabi-4.4.3" remote="github" revision="master" />

</manifest>
[HD2 Android NAND Development] tytung:
I'm wondering why you changed the kernel name from marc1706s_jb_0.1.3 to walter79.

You should consider keeping the original developer name since you didn't change any source code.

BTW, it seems that WiFi scanning is not working when using bcm4329 WiFi driver.

You can still connect to a WiFi access point, but you won't see the updated WiFi AP list on the move if you don't turn WiFi off and then on.
[HD2 Android NAND Development] chautruongthinh:
- adb does not seem to work, I have to get logcat but failed (use your kernel)

- I have just tried change your kernel to Tytung Kernel R2 and Data work great!! I tried delete this line in build.prop

and replace with line:

EDIT: Data only work with MAGLDR (work with RMNET & PPP). It's not work with CLK
[HD2 Android NAND Development] walter79:
I changed the name because i am working on get bcmdhd working too. Source not published yet.
[HD2 Android NAND Development] walter79:
Adb works, maybe you need to delete .android_secure on your sdcard and update your adb binary on your PC. Android 4.3 needs a newer one. Check settings usb debugging and root = APPS+ADB
[HD2 Android NAND Development] chautruongthinh:
Does your kernel work with aMAGLDR??
[HD2 Android NAND Development] walter79:
I only work with clk. I did not test magldr.
[HD2 Android NAND Development] chautruongthinh:
OK. I will try it now!! I hope it will work with magldr!
[HD2 Android NAND Development] walter79:
W/pppd ( 1931): Could not determine remote IP address: defaulting to 10.64.64.64
I/

Got this problem if mobile data is on. (CLK)

Did someone has this in past and know a way to fix it?
[HD2 Android NAND Development] chautruongthinh:
I can't not disable Data!!

Edit: Your kernel work with MAGLDR (i use NativeSD). But it's very slowly in first boot
[HD2 Android NAND Development] walter79:
Do you get "device offline" error (adb devices)?
[HD2 Android NAND Development] chautruongthinh:
Yes, i get "device offline" error (adb devices)

edit: i have solved it
[HD2 Android NAND Development] gujiangjiang:
Thanks for your work

Can you upload this 3.0 kernel with NativeSD Function....
[HD2 Android NAND Development] chautruongthinh:
I can only upload if i have with the consent of Walter79
[HD2 Android NAND Development] -pixelfreak-:
re

send me your fix for adb please .

many thanks

pixelfreak
[HD2 Android NAND Development] chautruongthinh:
You can't get logcat in fisrt boot!! You can only get logcat at nextboot!! Here to fix adb

When you use adb, your phone will ask you Allow | Not Allow your computer to use adb, you press Allow to accept and now adb will work!!
[HD2 Android NAND Development] walter79:
@ Pixelfreak ADB works only for 2.6.35 kernel.

mobile data and nativeSD work now too.

Will do some test with 3.xx kernel and upload later a new build.
[HD2 Android NAND Development] Proz00:
hey guys im a bit rusty my bro want to flash this rom to magldr not clk

how should i flash the kernel ?
[Java for Android App Development] alobo:
Hey XDA - I just wanted to share some useful information I came across while developing my app:

App performance is crucial if you want your users to enjoy using your app - the goal is to reduce lag.

There are many ways one can achieve this:

Using multithreading

Simplifying View hierarchy

Reducing Overdraw

Pixel Overdraw occurs when an app repaints a pixel multiple times. This is something we don't really think about, but can have a massive effect on our performance.

Enabling Profiling:

Fortunately, Android has some built in tools to help us developers. (You can find these under Developer Settings)

You'll want to turn on:

1) Force GPU Rendering

2) Show GPU Overdraw

Next, simply restart the app you want to profile and voila - areas of the screen are 'painted' in a variety of colours!

Interpreting Results:

These colours have significant meaning

No color: No overdraw.The pixel was painted only once.

Blue: 1x Overdraw

Green 2x Overdraw

Light red: 3x Overdraw

Dark red: 4x Overdraw

Fixing The Problem:

You'll want to dig in your XML layout files and look for areas of overlap. The biggest issue is if you are drawing backgrounds on top of each other. In my case, my app was drawing 4 backgrounds: one for the activity, one for the fragment, one for the ListView and one for the list item. Then text was drawn on top. As the the image at the bottom of this post suggests, it wasn't pretty.

The solution was simple:

android:background="@null"

I simply removed the unnecessary backgrounds.

Your solutions may not be as easy, but it doesn't hurt to give it a try. In fact, the scrolling performance of my app improved dramatically - it's now buttery smooth!

Some Results:

Credits to Romain Guy. He has a full tutorial on his blog that you should definitely check out.

Please let me know what worked for you and do share any tips you have to optimize app performance!
[Java for Android App Development] salam0smy:
thanks a lot.. a will be using this on my app and see the resaults
[Java for Android App Development] je2854:
Where do you find the XML files to modify?
[Java for Android App Development] officialavram:
-deleted-
[Java for Android App Development] alobo:
I'm referring to your app's XML layout files, which can be found in res/layout.
[Java for Android App Development] molzz:
does this work with emulators?i tried checking both overdraw and gpu rendering from dev setting in 4.2 emulator but opening apps does not show me anything
[Java for Android App Development] alobo:
Apparently you have to check 'User Host GPU' when creating your virtual device. Check this answer for more information.
[Java for Android App Development] zyngawow:
Nice! I'll check it out :)
[Java for Android App Development] SergeyPo:
Yes, thanks Romain Guy for this tip. Actually I would recomend to watch all videos with him -- he gives a lot of valuable hints.
[Java for Android App Development] adicool:
You should not use android:background = null, rather set the background to null in your onCreate.
[Java for Android App Development] Vervolf:
Thanks a lot! I'll try it.
[Java for Android App Development] bangdes:
woaaa... great work!! it can be set generally? I mean with that code?
[Sprint Samsung Galaxy Note II] Mundo Hackz:
need help finding out build.prop tweaks so it can speed up 3G,battery,wi-fi connectivity or is it another file that has to be edit???
[Galaxy S III Q&A, Help & Troubleshooting] hezirance:
I don't know how to go CM 10.1 temasek build from XXEMG4. Whenever I try, it'd always show up no service or no signal at all

Things I've tried (Take note I've Wipe Cache and Data all the time)

1. Flashed build then flashed modem from JustArchi

2. Flashed build then Gapps then Modem

3, Backed Up using ktool, flashed build then gapps then modem, then restored efs

4. Repeated number 4 over and over again

Any help would be appreciated!! I really wanna try Temasek's 116.1 build since it looks very promising and it's his last unofficial build of 4.2.2 :o
[Galaxy S III Q&A, Help & Troubleshooting] slaphead20:
Did you flash MG4 modem again?

I think you need to flash a version without ril
[Galaxy S III Q&A, Help & Troubleshooting] hezirance:
Yes I've done that already. I've flashed the emergency.zip of JustArchi already with modem XXEMG4 yet it marked no signal. Thank goodness I made a backup of my Rom
[Galaxy S III Q&A, Help & Troubleshooting] katinatez:
Try a different recovery like philz custom cwm, to really wipe everything out, make a clean slate to work on.

Sent from my GT-I9300
[Galaxy S III Q&A, Help & Troubleshooting] hezirance:
same result, no service :(

Here's what I did

1. Flashed Philz

2. Clear data to flash new rom

3. gapps

4. flashed modem

5. Restored efs

Note: My Imei is present and my baseband is XXEMG4 but I still have no signal and no service.. I dont know what to do :/

Edit: It worked!! Thanks so much!! I can finally use it :) I just had to wait for an hour or so. Thank you! :)
[Galaxy S III Q&A, Help & Troubleshooting] katinatez:
Glad you got it working!

Sent from my GT-I9300
[Galaxy S III Q&A, Help & Troubleshooting] hezirance:
I give up :((

It keeps becoming no signal over and over again. I guess I gotta stick to sammy roms... Thanks for the helps!
[Galaxy S III Q&A, Help & Troubleshooting] danarama:
You could try the MG2 modem
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Bishal Pranto Roy:
I Am currently Using xNXT with stock player on my LWW.

But As I Use Viper Sound Mod I am unable to use walkman with it.But In a GB rom like this one- X-Gamer 2.3.7 V1.8

Supports it And Its quite Light .

.

.

So Can Anyone Port it For me and all Mdpi??
[Android Q&A, Help & Troubleshooting] cjd80:
Something cool about the new-ish facebook messenger app is that you can also use it for your SMS text messaging. Is there an app out there like this that also integrates other messaging clients like Hangouts?

Ideally, I'd like something that has SMS, facebook messenger, and google hangout conversations all in one list, with an icon on each conversation indicating what service it is associated with. Another (maybe better) option would be to have a tab for each service along the top of the interface so you can switch between them and stay organized.

I've looked around and found several multi-client messengers like Trillian or IM+, but none of them seem to do SMS as well.
[Samsung Galaxy Nexus] HTID_Pyro:
I was just wondering what everyone's favorite 4.3 ROM was. Feel free to post what ROM is your favorite and why.

Sent from My Little Pony using a Galaxy Nexus
[Samsung Galaxy Nexus] HTID_Pyro:
Because its always nice knowing the pros and cons of different ROMs and the reasons why people have them.
[Samsung Galaxy Nexus] HTID_Pyro:
Didn't ask what the best ROM is I asked what peoples favorite 4.3 ROM and the pros and cons of it...I like seeing why people like the ROMs they use and why.

Sent from My Little Pony using a Galaxy Nexus
[Samsung Galaxy Nexus] Seraz007:
There's already a thread fo that :)

http://xdaforums.com/showthread.php?t=1636471
[MDA II, XDA II, 2060 General] DjSwift:
WHen i hard reset.. there is no option to install corporate version!..

Unless its located somewhere else.

Also my ROM version is 1.10.00 WWE

ExtRom is 1.10.124

Am I up to date with these?

THx a lot

DJ
[MDA II, XDA II, 2060 General] rictec:
please tell me

what is corporate version? it is a new version ?
[MDA II, XDA II, 2060 General] DjSwift:
well..i..heard..it..eliminates..freezing..

I..just..dont..know..how..to..get..it..on.

I..also..wanna..remove..the..o2..interface..but...i..dont..get..the..option..to..install..the...corporate..version..as..mentioned..in..some..other..posts.

p.s..

i..do..a..lot..of..reading..and..try..to..find..answers..via..search.

I..am..a..little..stuck..and..ive..put..my..xda2i..aside..for..2..whole..months..now.

I..dont..want..it..to..go..to..waste..so..if..u..got..a..little.time..please..help..me..out

Regards

DJ

(My..spacebar..has..broken..hence..the..dots..LOL)