yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] mrakattack:
Sorry I've been MIA, was away for the weekend for my first anniversary, and with Xmas and everything I won't have time to make any progress on my aosp rom until later this week. Glad to see all the exciting news with the cm port, keep up the good work ^_^
[Miscellaneous Android Development] mrakattack:
Quick question, could I use the ics kernel with a jb aosp rom or will it require backporting to work?
[Miscellaneous Android Development] mifl:
In this case, the kernel compiled from source, together with the ROM. Maybe the module Wireless (wlan.ko), has to be copied before packaging the update.zip

Greetings.
[Miscellaneous Android Development] ninjah:
ugh...i tryed to make my own repo for presto...it compile, but there is no framework2.jar and so on...anyone now what the reason?
[Miscellaneous Android Development] mifl:
Is the project hosted on a server?

Greetings.
[Miscellaneous Android Development] ninjah:
nope its on my local computer
[Miscellaneous Android Development] ujjwalchhabra:
Can the dev's breif about the rom progress ? Both AOSP And CM10 :D I'm waiting for a some sorta proper build of any of the rom :D
[Miscellaneous Android Development] cfmusicman:
They booted CM10 if i am correct and they are just fixing the kernel for it then it should be ready if i am not mistaken (i am not a dev BTW)
[Miscellaneous Android Development] mrakattack:
Aosp won't be ready for awhile due to some problems with my computer at this time, hopefully by next week I'll have some good news.

Going to try to build an ics rom first and then see if I can get a jb one as well.
[Miscellaneous Android Development] ujjwalchhabra:
I'm waiting bro :) . I'll try to port MIUI than :D .
[Miscellaneous Android Development] cfmusicman:
To be honest if you have the coding expertise i think it would be more productive to help with CM10 and then get everyone to work on MIUI because i think more people are waiting for CM10 than MIUI
[Miscellaneous Android Development] buzzdr0id:
CM10 means JB !! YaY ! Waiting........!!
[Miscellaneous Android Development] dragonmasterx:
I think he is a novice,he has some general idea but nothing more than that ,with no offense i believe modesty of him is better ,i just checked all post of him and there is nothing proving that he has the skills.

anyway just to report that miui launcher over the original rom is running fluently and even replace the lockscreen of pantech.
[Miscellaneous Android Development] ujjwalchhabra:
Till i read in guides it was kinda easy to port MIUI o.O I never said i'll build miui . I said i'll port it :p BTW by this new year or maybe before 5th of jan i'll release my rom ;)
[Miscellaneous Android Development] mifl:
Patience and comprehension

Please friends

This thread is to develop a ROM for our device. Everyone should contribute what they know.

These discussions do not help. When we get some significant progress, this will be communicated.

Not that it seems to you, but when there is a new post in this thread, I hope someone has found something that will help advance the development of the rom.

For these reasons, I ask all patience and comprehension. All of us working on the project have little experience and so we need as much help as possible.

I hope you understand my intentions, and that you will not be offended.

A greeting and thank you all.

PS: Sorry for my bad English.
[Miscellaneous Android Development] nightfire37:
Wow guys. I cannot wait for CM10. Thank you devs for putting your tine and effort to get Cm10 on this spectacular device. If you need any help such as testing, that's all I can give you. I have an unlocked version with developer options and I'm willing to provide anything you guys need.
[Miscellaneous Android Development] ZionFreak:
I have a question and thought someone might be able to help. I recently got a Pantech Burst and have been unsuccessful at rooting it. But that is not my question. I noticed one of my CPU cores is always offline and have yet to see it kick on. I am going to root and tweak with system tuner pro. But, is it normal for one of the cores to always be offline? I would think that this would effect performance. When CPU0 goes to 100‰ I would think CPU1 would kick on but it doesn't.
[Miscellaneous Android Development] cfmusicman:
I am sorry.
[Miscellaneous Android Development] diestarbucks:
Hello. Hope everyone is having a nice day and acting polite and civil to each other. :)

Cheers,

-DSB
[Miscellaneous Android Development] cfmusicman:
No more random conversation...go to the "pantech burst love" forum for that
[Miscellaneous Android Development] ccdreadcc:
almost all Android devices use only 1 core and the rest of cores are always offline..

It goes online when u specifically open an app that makes use of multiple cores.. Antutu is one of them..

Sent from my Potato ( '-')
[Miscellaneous Android Development] mrakattack:
I am getting frustrated as i do not want to sync the whole ics repo from code aurora, I only want to sync the msm8660_surf specific repo but I cannot figure out if there is a way to do it.
[Miscellaneous Android Development] mifl:
Hello:

I do not understand what you want to do. A repository by it self is useless. To compile a device must have the entire tree.

Compare these documents:

AOSP: https://android.googlesource.com/platform/manifest/+/android-4.0.4_r2.1/default.xml

CAF: https://www.codeaurora.org/gitweb/q...it;a=blob;f=default.xml;hb=refs/heads/ics_dev

The second has more content, because it adds specific repositories for Qualcomm devices.

Greetings.
[Miscellaneous Android Development] mrakattack:
Lol thanks, it's every time I try to sync up with the CAF repo I run out of time pulling the last 2,000,000 files and it takes forever, I've let it sit for a few hours... Just gotta be patient and let it go lol
[Miscellaneous Android Development] cfmusicman:
So I have absolutely no coding skills...but I want to help...what can I do :)
[Miscellaneous Android Development] ujjwalchhabra:
I need serious suggestions also . I have almost 2-3 hours everyday totally free to devote to android modding . I want to move to building from source now . Just a fair suggestion needed , How tough those things are ? I have programing skills in C only .
[Miscellaneous Android Development] ccdreadcc:
based on your programming skills, it can take up to 3 months or more for u to compile a successful build.

considering ur a noob, it may take more than a year or so.. :D
[Miscellaneous Android Development] bulletproof1013:
That's why there is normally a "team" .
[Miscellaneous Android Development] ccdreadcc:
any experts here can take a look at this mtd repartitioning script and see whether it is applicable on our device?

https://github.com/Firerat/CustomMTD

Source :

http://xdaforums.com/showthread.php?t=717874

What is CustomMTD?

CustomMTD (cMTD) is a utility for resizing the MTD partitions on Android Smartphones.

Based on an idea by lbcoder on XDA Forums, customMTD simply re-writes a special kernel cmdline found in boot.imgs, In practice we need to do this with both the recovery.img and your ROM's boot.img
[Miscellaneous Android Development] cfmusicman:
So I should stfu and let the experts do what they are good at? :)
[Miscellaneous Android Development] stevotdo:
Findings

Need to make a change in system.prop

remove this:

# System prop to turn on CdmaLTEPhone always

telephony.lteOnCdmaDevice=1

And add this:

# System props for telephony

telephony.lteOnGsmDevice=1

# System property for SIM

persist.radio.apm_sim_not_pwdn=1

Not sure if this is needed in cm.mk or if gsm is already covered by "$(call inherit-product, vendor/cm/config/common_full_phone.mk)"

$(call inherit-product, vendor/cm/config/gsm.mk)

This WILL break boot. Attached is a pastebin. I will have more time later this weeked. If you want to save rild for last then we could wait on these changes till after sd, audio, and wifi are sorted.

http://pastebin.com/bhV4wB2d
[Miscellaneous Android Development] mifl:
Thanks.

Add commit: https://github.com/mifl/android_dev...mmit/81311bea9a5076a26bc09de002aeed76fb181aef

Greetings.
[Miscellaneous Android Development] karandeepdps:
:)

Cheers :) Great going guys:fingers-crossed:

So what things need to be fixed.

https://github.com/attn1/android_kernel_pantech_p9070/tree/master/drivers/leds

Flashlight need to be fixed too.
[Miscellaneous Android Development] mifl:
Our intention is to get the boot device with essential services. Then go solving specific errors.

If you want, visit my github site, to see if you find errors.

Greetings.
[Miscellaneous Android Development] stevotdo:
Another change in system.prop

Add this for adb access by default at boot

# set mass storage to default

persist.sys.usb.config=mass_storage,adb
[Miscellaneous Android Development] stevotdo:
It looks like this:

Library 'libsyslog.so' not found))CANNOT LINK EXECUTABLE

is my current hang up for rild and qmuxd

127|shell@android:/ $ rild

link_image[1916]: 328 could not load needed library 'libril.so' for 'rild' (link_image[1916]: 328 could not load needed library 'libhardware_legacy.so' for 'libril.so' (link_image[1916]: 328 could not load needed library 'libnv.so' for 'libhardware_legacy.so' (link_image[1916]: 328 could not load needed library 'liboncrpc.so' for 'libnv.so' (link_image[1916]: 328 could not load needed library 'libdsm.so' for 'liboncrpc.so' (link_image[1916]: 328 could not load needed library 'libdiag.so' for 'libdsm.so' (link_image[1916]: 328 could not load needed library 'libsyslog.so' for 'libdiag.so' (load_library[1118]: Library '

libsyslog.so

'

not found)))))))CANNOT LINK EXECUTABLE

255|shell@android:/ $ qmuxd

link_image[1916]: 363 could not load needed library 'libdiag.so' for 'qmuxd' (link_image[1916]: 363 could not load needed library 'libsyslog.so' for 'libdiag.so' (load_library[1118]: Library '

libsyslog.so

' not found))CANNOT LINK EXECUTABLE

Edit: I added libsyslog.so to my vendor blobs and will compile again and see if it still complains.
[Miscellaneous Android Development] ninjah:
Im back. you no need to compile it again, you can just adb push this lib.
[Miscellaneous Android Development] mifl:
Hello:

These days I've made ​​many changes in the three repositories.

The more important, in the kernel: deleting the folder "bcm4329_presto".

If your have time, check for changes, to find errors.

Greetings.
[Miscellaneous Android Development] stevotdo:
Also add:

/lib/libnv_fusion.so to the list. It is needed by libhardware_legacy.so

and

/lib/libsyslog.so from earlier
[Miscellaneous Android Development] mifl:
Except libsyslog.so, all this libs compiling ok.

Please compile again, with the new changes, these files may not be necessary.

Greetings.
[Miscellaneous Android Development] stevotdo:
All right I compiled with your changes. I have spinning boot animation but it is stuck there. I haven't even looked at the logcat yet. Just wanted to let you know that this seems like progress.

Logcat: http://pastebin.com/TJBzd7Z4

Bad --> F/libc ( 235): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 235 (zygote)

Googled my fingers raw. This was fixed in cyanogenmod commits in July. I'm going to clean my build directory and see what happens this time.
[Miscellaneous Android Development] ninjah:
Hello, now we have sound working:

in /device/pantech/presto/Boardconfig.mk

# Audio

#BOARD_USES_ALSA_AUDIO := false

#BOARD_USES_AUDIO_LEGACY := true

#BOARD_USES_GENERIC_AUDIO := false

#BOARD_USE_QCOM_LPA := true

#TARGET_PROVIDES_LIBAUDIO := true

with this audio.primary.msm8660.so and audio_policy.msm8660.so will built that are needed for sound.

also error

Bad --> F/libc ( 235): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 235 (zygote)

is because we use bad media_profile.xml and may be bad media_codecs.xml, i have used these files from my old build and they worked.
[Miscellaneous Android Development] ujjwalchhabra:
I'm not able to complete the step 3 :/ . Here's the error i get :( . so i should install curl that way ? I'm using ubuntu 11.10
[Miscellaneous Android Development] ninjah:
yup, you need install curl that way.

Or you can use this manual http://xdaforums.com/showpost.php?p=33642150&postcount=1

---------- Post added at 03:39 PM ---------- Previous post was at 03:36 PM ----------

and about rild, this error occured:

I/rild ( 2499): Unable to open router port: Permission denied
I/rild ( 2499): ONCRPC Failed to open device: /dev/oncrpc/3001000e:00020000
I/rild ( 2499): ERR :MSG Open handle failed, unable to open program 3001000e ver 20001 NOT FOUND
I/rild ( 2499): :FILE vendor/qcom/proprietary/oncrpc/oncrpc/oncrpc_cb.c:LINE 232:ARG1 805371918:ARG2 131073:ARG3 0:
I/rild ( 2499): ERR :MSG Couldn't setup RPC call :FILE vendor/qcom/proprietary/oncrpc/oncrpc/oncrpc_cb.c:LINE 277:ARG1 0:ARG2 0:ARG3 0:
I/rild ( 2499): ERR :MSG Failed to lookup RPC client. prog = 805371918, vers = 131073, tout = 0 :FILE vendor/qcom/proprietary/common/build/fusion_api_makefiles/../../../modem-apis/msm8660_csfb_mdm9600/api/libs/remote_apis/nv_fusion/src/nv_fusion_clnt.c:LINE 33:ARG1 805371918:ARG2 131073:ARG3 0:
[Miscellaneous Android Development] ujjwalchhabra:
thanks bro :good: now Installing the Codeaurora ICS Repository , Its taking a lot time :/ . Hope I learn things under 6 months well :fingers-crossed:
[Miscellaneous Android Development] mrakattack:
I'm still trying to make a aosp rom myself, collaboration may be a good idea on this?
[Miscellaneous Android Development] ujjwalchhabra:
I can't say i might be helpfull :/ before 1 month i didn't knew what android actually is :/ Just learning bro :) . BTw it will take a lot time for the repo to get syncd also :/ Its 10-15gb big and my speed is 60kBps :( . You should go w/o me . I don't even what i'm gonna do next ? How i'm gonna fix bugs and all :rolleyes: just A total noob . Just started learning today . So after 6 months i might can contribute here actually :D .
[Miscellaneous Android Development] mifl:
If we do not define audio, should not work well?.

OK add to repo.

These files are extracted from the original rom?

Greetings.

---------- Post added at 06:13 PM ---------- Previous post was at 06:04 PM ----------

One question:

in this build: "bin/rild", "lib/libreference-ril.so" and "lib/libril.so", compile from source or are prebuilt. I always want to remove prebuilt files and these may be necessary.

Greetings.
[Miscellaneous Android Development] ninjah:
libril and rild compiled from source

media_profiles and media_codecs was in your repo

also i tryed manualy load bcm4329.ko but no luck:

busybox insmod /system/lib/modules/bcm4329.ko firmware_path=/system/etc/wl/bcm43291.bin nvram_path=/system/etc/wl/nvram.txt

wifi_set_power = 1
<3>[ 130.894592] wlan_power: 1
<4>[ 130.964782] wifi_set_carddetect = 1
<3>[ 130.964813] wlan_set_carddetect: 1
<6>[ 130.964843] mmc3: Slot status change detected (0 -> 1)
<4>[ 130.968963]
<4>[ 130.968994] Dongle Host Driver, version 4.218.248.23
<4>[ 131.029144] mmc3: queuing unknown CIS tuple 0x91 (3 bytes)
<6>[ 131.029266] mmc3: new SDIO card at address 0001
<4>[ 131.046051] DHD: dongle ram size is set to 393216(orig 393216)
<4>[ 134.212493] dhd_bus_rxctl: resumed on timeout
<4>[ 136.212493] dhd_bus_txctl: ctrl_frame_stat == TRUE
<4>[ 139.212524] dhd_bus_rxctl: resumed on timeout
<4>[ 139.217529] dhdsdio_probe: failed
<6>[ 150.316223] init: waitpid returned pid 1286, status = 00000000

---------- Post added at 05:41 PM ---------- Previous post was at 05:28 PM ----------

and we no need to use vendor audio.primary.msm8660.so and audio_policy.msm8660.so. it will build from source.
[Miscellaneous Android Development] mifl:
In wifi.mk:

WIFI_DRIVER_MODULE_ARG := "firmware_path=/vendor/firmware/fw_bcm4329.bin nvram_path=/vendor/firmware/nvram_net.txt iface_name=wlan"

This new route was modified in the kernel.

These files, I do not compile them well, do not understand why.

Arggggg...I'll throw the computer out the window.

Greetings.
[Miscellaneous Android Development] ninjah:
whats wrong?
[Miscellaneous Android Development] mifl:
Try these routes:

busybox insmod /system/lib/modules/bcm4329.ko firmware_path=/vendor/firmware/fw_bcm4329.bin nvram_path=/vendor/firmware/nvram_net.txt

Greetings.
[Miscellaneous Android Development] stevotdo:
Did you figure out why those libs are not compiling.
[Miscellaneous Android Development] mifl:
Now I am compiling the rom without private files. After the compilation, you can know that files compiled from source.

Tomorrow will attach a file with the compiled files.

Greetings.
[Miscellaneous Android Development] stevotdo:
I added a flag to my boardconfig that was supposed to resolve it but I'm not at home to see if it worked or not.

Edit:

Yeah that fixed the compile. I would add it to qcom_common.mk though.

COMMON_GLOBAL_CFLAGS += -DLEGACY_QCOM_VOICE

Information on the commit. The above flag is included in the BoardConfigCommon.mk for the samsung galaxy 2 i727 which is msm8660 and has the same qcom audio issue

Link to commit

http://review.cyanogenmod.org/#/c/25414/

Edit2: Boots up. Audio works.
[Miscellaneous Android Development] xxthe:
More progress I see.:D
[Miscellaneous Android Development] ninjah:
hmmm...thats very strange, im not using this flag, but i used it earliear in my own device tree.
[Miscellaneous Android Development] stevotdo:
I have Mifl's repo synced and without the flag I got things like this:

error: undefined reference to 'msm_start_voice_ext'

error: undefined reference to 'msm_set_voice_tx_mute_ext'

error: undefined reference to 'msm_start_voice_ext'

When Compiling these from source:

audio.primary.msm8660.so

audio_policy.msm8660.so

And then the build would fail.

http://pastebin.com/YCzCbGSr
[Miscellaneous Android Development] ninjah:
if this error occurred then yep we need use this flags, but i dont understand why in my opinion it not needed...may be its time to clean my working dir
[Miscellaneous Android Development] stevotdo:
Maybe a cleaning would help. We can wait and see if this was the problem mifl had earlier.

If it is, then we'll have to add it.
[Miscellaneous Android Development] mifl:
Good morning:

Attached the list of files installed: installed-files-20130109.txt.

The compilation was done with these conditions:

Directory "/ out" removed.

All repositories updated date: 20130109.

File "presto-vendor-blobs.mk" only the first 4 lines of code.

Verion of Java: "Java (TM) SE Runtime Environment (build 1.6.0_37-b06)"

Conclusion:

Now we have a list of all files that compile from source.

Files: audio.primary.msm8660.so and audio_policy.msm8660.so. not been compiled.

Greetings.
[Miscellaneous Android Development] mifl:
Proposal to organize teamwork

For anyone who wants to contribute to the project, I created an organization on Github: https://github.com/PrestoTeam.

Here have been added the three repositories needed to work:

https://github.com/PrestoTeam/android_device_pantech_presto

https://github.com/PrestoTeam/android_kernel_pantech_p9070

https://github.com/PrestoTeam/android_vendor_pantech_presto

These are the steps that I think we should follow:

Register an account on "Github". It is simple and there are many tutorials.

Make a backup of local files, to keep the changes you have made ​​each user.

Make a fork of the three repositories is on Github organization, and put in your local_manifest.xml.

Remove your "/ out" dir, $repo sync and compile again.

Well I think we can move faster. Without doubt the changes that each user has done on your computer. So each user, using the button "Pull Request", can send the modifications that wants, to repository team. We can discuss changes in the Github page or in this post.

I hope everyone likes this proposal.

------------------------------------------------------------------------------------

To begin working with the repositories, you can follow these links:

http://xdaforums.com/showpost.php?p=29936392&postcount=3

http://xdaforums.com/showpost.php?p=33642150&postcount=1

If you have questions about how to do any of the above steps ask here, we will try to help everyone to be resolved as quickly as possible.

Please friends, remember that this is a post to development our rom.

------------------------------------------------------------------------------------

Greetings.
[Miscellaneous Android Development] kagedws6:
forked all 3
[Miscellaneous Android Development] mifl:
Thanks, I was sure that you join the project

Please add a link to the previous organization post on the first page.

Greetings.
[Miscellaneous Android Development] kagedws6:
its updated on the main page and I removed the other github links from the first post and pointed everything to the second
[Miscellaneous Android Development] mifl:
It is the day of the cleanup and reorganization. This will be good for everyone.

Added to the first page: Compile Unofficial CyanogenMod 10 for Pantech Burst.

Added to the first page: Compile AOSP Codeaurora for Pantech Burst P9070 (presto)

.

Greetings.
[Miscellaneous Android Development] ninjah:
but how can i join the team? im newb in git and github )
[Miscellaneous Android Development] mifl:
If you already have an account on github, only need to press the button "Fork", for each of the repositories, which is placed at the top right.

https://help.github.com/articles/fork-a-repo

It will create three repositories in your account automatically so you can work on them.

Greetings.
[Miscellaneous Android Development] mifl:
First Pull Requests

You can see here: https://github.com/PrestoTeam/android_device_pantech_presto/pull/1. Very easy to try to adapt to the new working method.

You can add your response in a comment on website.

Greetings.
[Miscellaneous Android Development] ninjah:
delete my /out dir and have this error...have no idea whats wrong

make: *** No rule to make target `/home/jied83/cm/out/target/product/presto/obj/lib/libaudioalsa.so', needed by `/home/jied83/cm/out/target/product/presto/obj/SHARED_LIBRARIES/audio.primary.msm8660_intermediates/LINKED/audio.primary.msm8660.so'. Stop.
[Miscellaneous Android Development] mifl:
You added repository "android_device_pantech_vendor"?
[Miscellaneous Android Development] stevotdo:
I know there's a ramdisk in the output folder but it looked like it was only 146 Kb or so. Might look at it later tonight when I get home.
[Miscellaneous Android Development] kagedws6:
I'm still waiting on cygwin to finish downloading all its needed addons so I can run it lol. if I get it pulled apart I'll upload the pieces
[Miscellaneous Android Development] kagedws6:
*used guide*

So I pulled a working one apart and replaced the kernel with the compiled one.

20472098@WOOCCD895794 ~
$ cd /boot

20472098@WOOCCD895794 /boot
$ ./extractboot boot.img
Page size: 2048 (0x00000800)
Kernel size: 4463500 (0x00441b8c)
Ramdisk size: 372027 (0x0005ad3b)
Second size: 0 (0x00000000)
Board name:
Command line: console=ttyHSL0,115200,n8 androidboot.hardware=qcom loglevel=0
Writing boot.img-kernel ... complete.
Writing boot.img-ramdisk.gz ... complete.
2881 blocks

20472098@WOOCCD895794 /boot
$ ./packboot
Using base address 0x40200000
Using command line 'console=ttyHSL0,115200,n8 androidboot.hardware=qcom loglevel=0'

No errors

I then put it back together and I'm getting the boot.img is like half the original size (even tho the kernel files were pretty close to almost deadon the same size) and when I try to send to boot I get this

>fastboot boot boot_new.img
downloading 'boot.img'...
OKAY [ 1.168s]
booting...
FAILED (remote: incomplete bootimage)
finished. total time: 1.168s

This is for a Pantech Burst (p9070) if that helps at all

Original boot.img

New repacked boot.img
[Miscellaneous Android Development] mifl:
Kernel source from pantech.

Hi:

For those who want to compile the kernel for themselves, I have included a mirror in the project to download the source for Pantech: http://cyanogen-presto.googlecode.com/files/presto_kernel.gz

A greeting.
[Miscellaneous Android Development] stevotdo:
I changed some values in the boardconfig and am recompiling. I'll see if it makes any difference.
[Miscellaneous Android Development] N3Ti:
Sorry for hijacking this thread but does anyone know if crossover has bootloader locked? Couldn't find a better place to ask.