yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] mr72:
looks like the kernel in this CM10 doesn't support Fast Charge. this is a serious drag.

---------- Post added at 09:15 PM ---------- Previous post was at 08:33 PM ----------

Yes, but unfortunately those settings using #*#4636#*#* menu don't appear to be persistent through a reboot.
[Miscellaneous Android Development] alan-31:
See post #4 here: http://code.google.com/p/devsnest-d...ority Milestone Owner Reporter Summary Opened

If it charges around 1.5 minutes per percent for you, its charging ok. Computer USB takes 2.8 minutes per percent (almost double). This is ok/normal.

For me it charges as fast as it did on the stock. Check charging rates.
[Miscellaneous Android Development] affiatic:
LTE

Look at post 17 on this thread. It is about LTE on atrix hd. Build prop edit might be useful might not. I don't have LTE in my area

http://xdaforums.com/showthread.php?t=2225350&page=2
[Miscellaneous Android Development] mr72:
Please google "Android fast charge kernel", since your response has nothing to do with fast charge mode support in the CM10 kernel.

I didn't say "this doesn't charge faster than stock" and I also didn't say "this charges too slowly". I said specifically that this kernel doesn't support fast charge, which is true, and also it's a drag :)

I figure eventually we may have a kernel patch that allows fast charge mode.

---------- Post added at 03:53 PM ---------- Previous post was at 03:52 PM ----------

I posted a fix that works for AT&T LTE. And I have LTE here and I have tested it.

---------- Post added at 03:56 PM ---------- Previous post was at 03:53 PM ----------

FYI - battery life is about double on this CM10 than what I was getting with stock ICS/rooted. I got 16+ hours of use out of mine yesterday, it was at 37% end of the day. I was having to constantly charge my phone all day with stock ICS. Also CM10 is fast and reliable, besides the stock browser crashing (and apps that use it crash), it really is a huge improvement over stock in every single way.

I am using Snapdragon Battery Guru https://play.google.com/store/apps/details?id=com.xiam.snapdragon.app&hl=en so maybe it is improving things. Also I set the minimum CPU speed to 192MHz and continue using Interactive governor, I think that improves things at least a little.

Also, the Redbox app kills the battery by constantly checking location.

This is awesome news!!
[Miscellaneous Android Development] mr72:
BTW, here's what I've done to get my LTE settings to stick:

1. edit the /system/build.prop by adding the following line:

ro.telephony.default_network=LTE/GSM/CDMA auto (PRL)

2. Settings -> System -> Notification drawer -> Widget buttons -> Toggle LTE (checked)

3. Turn on the LTE in the toggle widget of the notification drawer

4. Perform the previous fix for LTE as mentioned before (which may not really matter)

5. Reboot the phone

On my phone, LTE on persists over reboots with these settings.

Part of this may be superfluous or unnecessary but it works as far as I can tell, so these steps get the job done. Have fun.
[Miscellaneous Android Development] mr72:
Hey devs,

This needs to get into the build.prop in the CM10 ROM:

ro.telephony.default_network=LTE/GSM/CDMA auto (PRL)

And while we are putting stuff in the build.prop, we also should change the following:

persist.sys.usb.config=ptp,adb
wifi.supplicant_scan_interval=180

This will fix LTE on AT&T and seems to allow it to stick through reboot. The ptp,adb allows it to work with adb on first boot rather than having to boot first then change the setting (big benefit if it doesn't boot and you need to get back to the recovery or adb push a file). The scan interval may improve battery performance, and in fact I have mine set to 600 sec. Battery stinks on wifi and I may investigate making this better, but the truth is I rarely use wifi.
[Miscellaneous Android Development] Leechoonhwee:
HI there,

Just wanted to ask whether the kernel source code is from Pantech or fork from another git and how do you guys determine the proprietary files ?

Vincent
[Miscellaneous Android Development] ujjwalchhabra:
Kernel source is from Pantech. Devs modified it to work with CM10 . And determine proprietary files ? What do you mean by that ? You can clone vendor repo to get those files or extract from phone itself .
[Miscellaneous Android Development] mr72:
New build of CM10 (April 21) is working really great. Thanks for fixing the LTE access as well as stock browser (and many apps that rely on it) crashing.

Latest issue affecting me: The built-in mic in my headset is not working at all for calls. Worked fine on stock ICS. Also not working is regular wired headphones (no mic) used for calls with internal phone mic, speakerphone style. This also worked on stock ICS. I am going to keep digging today and tomorrow to see if I can come up with a fix. If any of you guys know a workaround or fix, please speak up :)
[Miscellaneous Android Development] Leechoonhwee:
Reason I'm asking is because I'n building CM10 for A860K which also means that I need to build everything from scratch including the device tree and hence there is no vendor repo and there is no proprietary-file.txt to extract from phone. What I am planning to do is to dump the entire system folder in and see hows the compilation but if there is a better way I want to find out more about it. :)

I do have the kernel source from pantech but I am not sure whether is there a need to modify the source code to work with CM?
[Miscellaneous Android Development] mrakattack:
Syncing cm10.1 repo right now, and will try to build today if I have time. Someone said that I would have to change things to accept legacy drivers, how do I accomplish that?

Sent from my PantechP9070 on cm10 04213
[Miscellaneous Android Development] ujjwalchhabra:
well , you can use this file to extract the proprietary files from phone . Edit the links locations in the file and device code name also . yes you'll be needing to edit some portions of kernel . Rest you keep looking to Pantech Burst Repo and see commits how they solved problem , similarly you can also .
[Miscellaneous Android Development] xxthe:
You rename the proper files and stuff. I left a link with the guide to compile and just go through it and Dastin will point something out about legacy files
[Miscellaneous Android Development] Leechoonhwee:
I understand what you meant but the extract.sh is depending on the proprietary-files.txt to determine what are the library to extract but that's blank in my case. I guess I will pull the proprietary-files.txt from the repo and take a look inside however most of the library files should be different in my case because of the differences in hardware.

Thanks!
[Miscellaneous Android Development] mifl:
Hello needed a favor:

We have to move the module "libsky_touch" because it creates a conflict in the compilation, and does not allow build an alternative kernel to another directory.

Someone can do the following:

Enter the directory:

~/kernel/pantech/presto/drivers/input/touchscreen/atmel_touch_int/

Cut the folder:

SkyTouchConfig

And paste it in:

~/device/pantech/presto

Try Rebuild and if all is well, send a pull request to the two repositories affected.

Greetings.
[Miscellaneous Android Development] xxthe:
I adjusted the DPI to 225. Not as cramped anymore.
[Miscellaneous Android Development] mr72:
How did you adjust it on CM10? Did you patch the Play Store?
[Miscellaneous Android Development] xxthe:
Nah. In build.prop It's towards the bottom. You'll see something with density in it. set to 225 and reboot.
[Miscellaneous Android Development] adizz4:
Download density changer from play store.

I've been using 192dpi for a long time, its just better. :D

Sent from Pantech Burst using Tapatalk 2
[Miscellaneous Android Development] nightfire37:
Dont forget to reflash the gapps too because of the play store. Can cause display issues with apps you download from the play store if you dont reflash.

Sent from my Pantech Burst running CM10
[Miscellaneous Android Development] xxthe:
I don't have a issue xD

---------- Post added at 04:51 PM ---------- Previous post was at 04:50 PM ----------

That seems really small o.o
[Miscellaneous Android Development] Leechoonhwee:
Hi all,

Just wanted to check what are the things that are not working right now?

Vincent
[Miscellaneous Android Development] omdhar:
http://xdaforums.com/wiki/Pantech_Burst

Sent from my PantechP9070
[Miscellaneous Android Development] mrakattack:
Which device tree should I pull from the pantechdevteam git to compile cm10.1?

Sent from my PantechP9070 on cm10 04213
[Miscellaneous Android Development] xxthe:
Just the main one cx,
[Miscellaneous Android Development] mrakattack:
build/core/base_rules.mk:130: *** hardware/qcom/display/liblight: MODULE.TARGET.SHARED_LIBRARIES.lights.msm8660 already defined by device/pantech/qcom-common/liblights.

got this after doing . build/envsetup.sh && brunch presto
[Miscellaneous Android Development] ccdreadcc:
there are two instances of the same thing of you know what..
[Miscellaneous Android Development] mrakattack:
sorry for being captain obvious, first time doing a build, how can i resolve this ?
[Miscellaneous Android Development] xxthe:
I really do not have a clue to be honest. But I think you delete the one it is trying to build and use ours?
[Miscellaneous Android Development] mrakattack:
getting these errors when trying to build cm10.1 presto

build/core/Makefile:44: warning: overriding commands for target `/home/mrakuuls/android/cyanogenmod/jellybean/out/target/product/presto/system/etc/mkshrc'

build/core/base_rules.mk:502: warning: ignoring old commands for target `/home/mrakuuls/android/cyanogenmod/jellybean/out/target/product/presto/system/etc/mkshrc'

build/core/Makefile:44: warning: overriding commands for target `/home/mrakuuls/android/cyanogenmod/jellybean/out/target/product/presto/system/etc/permissions/android.software.live_wallpaper.xml'

build/core/base_rules.mk:502: warning: ignoring old commands for target `/home/mrakuuls/android/cyanogenmod/jellybean/out/target/product/presto/system/etc/permissions/android.software.live_wallpaper.xml'

build/core/Makefile:44: warning: overriding commands for target `/home/mrakuuls/android/cyanogenmod/jellybean/out/target/product/presto/system/lib/libgps.utils.so'

build/core/base_rules.mk:502: warning: ignoring old commands for target `/home/mrakuuls/android/cyanogenmod/jellybean/out/target/product/presto/system/lib/libgps.utils.so'

build/core/Makefile:44: warning: overriding commands for target `/home/mrakuuls/android/cyanogenmod/jellybean/out/target/product/presto/system/bin/rild'

build/core/base_rules.mk:502: warning: ignoring old commands for target `/home/mrakuuls/android/cyanogenmod/jellybean/out/target/product/presto/system/bin/rild'

build/core/Makefile:44: warning: overriding commands for target `/home/mrakuuls/android/cyanogenmod/jellybean/out/target/product/presto/system/lib/libreference-ril.so'

build/core/base_rules.mk:502: warning: ignoring old commands for target `/home/mrakuuls/android/cyanogenmod/jellybean/out/target/product/presto/system/lib/libreference-ril.so'

build/core/Makefile:44: warning: overriding commands for target `/home/mrakuuls/android/cyanogenmod/jellybean/out/target/product/presto/system/lib/libril.so'

build/core/base_rules.mk:502: warning: ignoring old commands for target `/home/mrakuuls/android/cyanogenmod/jellybean/out/target/product/presto/system/lib/libril.so'

build/core/Makefile:44: warning: overriding commands for target `/home/mrakuuls/android/cyanogenmod/jellybean/out/target/product/presto/root/ueventd.rc'

system/core/rootdir/Android.mk:53: warning: ignoring old commands for target `/home/mrakuuls/android/cyanogenmod/jellybean/out/target/product/presto/root/ueventd.rc'

build/core/Makefile:44: warning: overriding commands for target `/home/mrakuuls/android/cyanogenmod/jellybean/out/target/product/presto/system/etc/permissions/android.software.live_wallpaper.xml'

build/core/Makefile:44: warning: ignoring old commands for target `/home/mrakuuls/android/cyanogenmod/jellybean/out/target/product/presto/system/etc/permissions/android.software.live_wallpaper.xml'

build/core/Makefile:416: *** BOARD_FORCE_RAMDISK_ADDRESS has been deprecated. Use BOARD_MKBOOTIMG_ARGS.. Stop.
[Miscellaneous Android Development] stevotdo:
In BoardConfig.mk change the line of "BOARD_FORCE_RAMDISK_ADDRESS" to "BOARD_MKBOOTIMG_ARGS := --ramdisk_offset 0x01300000"

In device.mk

Change This:

# Radio fixes
FRAMEWORKS_BASE_SUBDIRS += ../../$(LOCAL_PATH)/ril/

To this:

# Radio fixes
FRAMEWORKS_OPT_SUBDIRS += ../../$(LOCAL_PATH)/ril/

Also the location of "PantechQualcommUiccRIL.java" will have to be moved from '/ril/telephony/java/com/android/internal/telephony/" to "/ril/opt/telephony/src/java/com/android/internal/"

Note: Depending on how far you get with this, It will complain about some overlays not being present in ....... Just delete the array that it complains about.
[Miscellaneous Android Development] mrakattack:
Thanks, going to try to build tomorrow as soon as possible, hopefully I can get a working cm10.1 rom... But I doubt it lol

Sent from my PantechP9070 on cm10 04213
[Miscellaneous Android Development] nightfire37:
good luck getting it to work
[Miscellaneous Android Development] mifl:
Whoever wants compiling CM10.1, can do it, but I think you will lose time. Before we must modify the kernel.
[Miscellaneous Android Development] mrakattack:
how do i fix this? Again, sorry for being a noob with this stuff...

Import includes file: /home/mrakuuls/android/cyanogenmod/jellybean/out/target/product/presto/obj/EXECUTABLES/bootanimation_intermediates/import_includes

make: *** No rule to make target `vendor/pantech/presto/proprietary/bin/btld', needed by `/home/mrakuuls/android/cyanogenmod/jellybean/out/target/product/presto/system/bin/btld'. Stop.

make: *** Waiting for unfinished jobs....
[Miscellaneous Android Development] mifl:
Synchronizing the repository: vendor_pantech_presto.

The line is not necessary.
[Miscellaneous Android Development] xxthe:
You can do it :D
[Miscellaneous Android Development] mrakattack:
I'm confused as to how to fix this? Do I just delete files/folder or a line somewhere and resync the repo? Lol

Sent from my PantechP9070 on cm10 04213
[Miscellaneous Android Development] xxthe:
He's saying to sync the repo?
[Miscellaneous Android Development] mrakattack:
Already did though lol oh well ill try to sync again when I get a chance and see if I can get further lol

Sent from my PantechP9070 on cm10 04213
[Miscellaneous Android Development] xxthe:
Well you know now to delete the arrays that are being produced
[Miscellaneous Android Development] stevotdo:
I had gotten it to compile a couple months ago. Yes, the kernel was the hangup. It would not boot far enough to get a Logcat.

I would suggest a separate thread as well for cm10.1
[Miscellaneous Android Development] xxthe:
Well that is great. I guess just to set up another git with another modified kernel?
[Miscellaneous Android Development] mifl:
Delete your fork that points to the main repository.

Create a new fork.

Remove a directory: ~/vendor/pantech/presto

Synchronizes the repository.

Greetings.

P.S.:

Questions in the forum, not send private messages please
[Miscellaneous Android Development] mrakattack:
Sorry :/ didn't want to flood the forum with noob questions , and i never forked from pantechdevteam's git, just followed dastins cm10.1 guide, and use some instructions from pantechdevteam's instructions on how to compile cm10 presto....so sorry for all the stupid questions, I havent done much coding with java and deving android, just some low leveling theming and rooting other peoples devices, xxthe, stevetodo,mifl, your help is very much appreciated, and thank you for putting up with me :)

Sent from my PantechP9070 on cm10 04213
[Miscellaneous Android Development] mrakattack:
just going to try building aosp instead lol
[Miscellaneous Android Development] pratyush997:
LOL, btw I read that burst will also have Slimbean :D
[Miscellaneous Android Development] Jdgp42:
Where did you read that?!!?! :D
[Miscellaneous Android Development] pratyush997:
Here
[Miscellaneous Android Development] xxthe:
Nothing wrong with AOSP :D

---------- Post added at 08:24 PM ---------- Previous post was at 08:16 PM ----------

Just has to be compiled .-.
[Miscellaneous Android Development] pratyush997:
Okay :)

Bursted via Burst.
[Miscellaneous Android Development] mrakattack:
Someone should start aosp presto thread ;)

Sent from my PantechP9070 on cm10 04213
[Miscellaneous Android Development] xxthe:
You do it. :p Since you're compiling.
[Miscellaneous Android Development] mrakattack:
Will do but I will still probably be bugging the hell outta you guys for help lol

Sent from my PantechP9070 on cm10 04213
[Miscellaneous Android Development] Jdgp42:
We will help go for it!
[Miscellaneous Android Development] mrakattack:
I'll just leave this right here... http://xdaforums.com/showthread.php?t=2260047

Feel free to delete if you wish ;)

Sent from my PantechP9070 on cm10 04213
[Miscellaneous Android Development] Leechoonhwee:
Hi mifl,

I went thru the recovery.fstab and compare it with the one extracted from my device itself it seems to be of a different format

in the repo

/boot	emmc	/dev/block/platform/msm_sdcc.1/by-num/p8

/cache	ext4	/dev/block/platform/msm_sdcc.1/by-num/p16

/data	ext4	/dev/block/platform/msm_sdcc.1/by-num/p14

#/misc	emmc	/dev/block/platform/msm_sdcc.1/by-num/p17

/recovery	emmc	/dev/block/platform/msm_sdcc.1/by-num/p18

/sdcard	vfat	/dev/block/mmcblk1p1	/dev/block/mmcblk1

/system	ext4	/dev/block/platform/msm_sdcc.1/by-num/p13

in the stock system

/boot	emmc	/dev/block/mmcblk0p7

/cache	ext4	/dev/block/mmcblk0p16

/data	ext4	/dev/block/mmcblk0p26

/fotamodem	vfat	/dev/block/mmcblk0p1

/recovery	emmc	/dev/block/mmcblk0p19

/sdcard	datamedia /dev/null

/external_sd vfat /dev/block/mmcblk1p1	/dev/block/mmcblk1

/system	ext4	/dev/block/mmcblk0p14

/misc	emmc	/dev/block/mmcblk0p18

/lk	emmc	/dev/block/mmcblk0p5

/info	emmc	/dev/block/mmcblk0p12

/tz	emmc	/dev/block/mmcblk0p8

/rpm	emmc	/dev/block/mmcblk0p6

/sbl1	emmc	/dev/block/mmcblk0p2

/sbl2	emmc	/dev/block/mmcblk0p3

/sbl3	emmc	/dev/block/mmcblk0p4

so in order to build the recovery for CM, which syntax should I use?

Thanks

Vincent
[Miscellaneous Android Development] mifl:
They are two different platforms, MSM8960 and MSM8660. For this reason these have different partitions.

I have a job I started for the Pantech Flex, you should check the repositories:

https://github.com/mifl/android_device_pantech_oscar

https://github.com/PantechDevTeam/android_device_pantech_qcom-common

https://github.com/mifl/android_device_pantech_msm8960-common

I hope you find it useful.
[Miscellaneous Android Development] Leechoonhwee:
Hi mifl,

Yes I know they are on different chipset but what I'm asking is the syntax that I should use because i see different syntax being used in the recovery.fstab.

eg

/recovery emmc /dev/block/platform/msm_sdcc.1/mmcblk0p19 (This is from oscar repo)

/recovery	emmc	/dev/block/platform/msm_sdcc.1/by-num/p19 (This is from another repo)

/recovery	emmc	/dev/block/mmcblk0p19 (This is from my stock recovery)

So I guess that they all work the same no matter which syntax I use?

Oh btw, I see that the repo are of Jellybean branch so can I use the common files to compile cm10.1?

Thanks

Vincent
[Miscellaneous Android Development] aed0101:
ICS does not require 3.0 kernel. Driver modules have to be updated though. Have you tried porting any AOSP build?
[Miscellaneous Android Development] kagedws6:
still couldn't hurt trying to get used to the new kernel as we will need it eventually
[Miscellaneous Android Development] kagedws6:
Side note:

How do we have our CWM added to the Rom Manager's list? right now it doesn't detect if you have CWM recovery installed and our device is not on the list so you cant' even let it know.

Also found AOKP Tutorial on building JB on Ubuntu 12
[Miscellaneous Android Development] aed0101:
Well. I guess priority is to make bootable cm7 first.

Does /System on Burst reside at /dev/block/mmcblk0p24?
[Miscellaneous Android Development] kagedws6:
this was posted here
[Miscellaneous Android Development] aed0101:
Thanks and sorry, already found it in init.rc
[Miscellaneous Android Development] kagedws6:
Its cool. If ya want access to the code.google.com page let me or any if us know.
[Miscellaneous Android Development] davepmer:
I might be getting somewhere. netd keeps restarting because zygote keeps crashing. so far I have tracked down that the libcamera_client.so and libcameraservice.so have to be compiled, not proprietary. still tracking more.

update--been tracking the problem and finding more or rather different proprietary files that we need. the libcamera_client route made libcamera.so a file we needed to compile and my cm7 source wont do that.

So I went a different route. I finally got zygote to start without an error, phone still wont boot, and still I get netd restarting but no other error.

also we need to set a link for dalvik-cache # ln -s /data/dalvik-cache /cache/dalvik-cache
[Miscellaneous Android Development] kagedws6:
Hell ya
[Miscellaneous Android Development] davepmer:
Yes I have, so far everything fails to compile if I select the samsung_oled video driver. Thats the one our presto (Burst) uses. I have not tried using our present kernel on any ics build yet. I am guessing that if we get the proprietary files right and can get a bootable cm7 build that the same device setup can be modified to to get a bootable ics build. just not there yet

here is my proprietary list so far, I believe a lot can come out but I know some that must stay in, have not typed up that list yet
[Miscellaneous Android Development] davepmer:
also new list least this is what I have found so far.

mmcblk0p1 /firmware

mmcblk0p8 /boot

mmcblk0p13 /system

mmcblk0p14 /data

mmcblk0p15 /persist

mmcblk0p16 /cache

mmcblk0p17 /tombstones

mmcblk0p18 /recovery

mmcblk0p19 /etc/firmware/misc_mdm

mmcblk0p27 /mnt/sdcard

mmcblk1p1 /mnt/sdcard/external_sd
[Miscellaneous Android Development] kagedws6:
added this to the burst essentials thread. figured I'd try and go back and grab anything special to the burst and throw it in one post for easy retrieval
[Miscellaneous Android Development] aed0101:
I see.

I do not have Burst yet. I've bought one, but I should get it next week when my friend comes back from US.

Can not try to compile myself as I am still on vacation and the only internet I have here is with my cell phone.

Not sure if anyone already tried to put the phone in BL mode on boot, bypassing adb reboot bootloader, by booting with vol up+power. Does it work? If it does, fastboot should be accessible too. That way it is pretty hard to brick the device even if system and recovery are screwed.

I've unpacked original Pantech's pdl using a python scrit written by iomonster (had to disable partition skipping and output directory as it was not working properly on my machine). I may be wrong, but it looks like the pdl flashes bootloader. I splited KERNEL.img (boot.img), but was unable to extract ramdisk. Maybe the image is damaged, can not check as I don't have the phone yet. Also was unable to open system.img. simg2img gives bad magic error, unyaffs segfaults (i think it should not work anyway as the img should be ext4). Maybe it came out corrupted.

Pantech themselves may be ready to help. Try contacting them on opensource.pantech.com

---------- Post added at 12:59 PM ---------- Previous post was at 12:38 PM ----------

Also pantech.framework should be removed from BOOTCLASSPATH in the boot.img you use to boot Cyanogenmod or AOSP.