yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] ninjah:
su problem solved:

need ro.secure = 0 in default.prop

logcat

http://pastebin.com/z2RpD8nJ

dmesg

http://pastebin.com/mpQHCZdW

i think problem is servicemanager cant start (restart) -> zygote restart -> restart netd -> wake in dmesgs log

edit: servicemanager -> ok, problem with zygote
[Miscellaneous Android Development] mifl:
To create a insecure boot:

Add this lines to device.mk

# Insecure boot
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/default.prop:root/default.prop

Create the file default.prop in presto dir

#
# ADDITIONAL_DEFAULT_PROPERTIES
#
ro.secure=0
ro.allow.mock.location=1
ro.debuggable=1
persist.service.adb.enable=1
persist.sys.usb.config=adb

Now we have to recompile the rom and see if that fixes any errors.

I do not do the checks you have included. so I'd appreciate that you put some instructions of what to do to check them.

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

I've been looking for a way to emulate the rom in the android AVD, and not found anything, if you know how to do please write it here.

Greetings.
[Miscellaneous Android Development] mifl:
Update repository

Update the repository, including the following changes:

https://github.com/mifl/android_device_pantech_presto

Insecure boot.

Updated proprietary-files.txt.

cm.dependencies (kernel branch jellybean). It should automatically update the file local_manifest.xml.

https://github.com/mifl/android_kernel_pantech_p9070

Created branch jellybean

Delete AndroidKernel.mk (Ignored by CM)

https://github.com/mifl/android_vendor_pantech_presto

updated some dependencies

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

I hope that more users try to compile the ROM, and report bugs they find. This way we can advance faster.

Greetings.
[Miscellaneous Android Development] mrakattack:
I need to start working on my aosp rom lol going to try to build a rom then input our libs and such and see if it will work, then maybe once it's stable :/ try to backport some kernel modules if possible and try a 4.1/4.2 aosp build... Next time I try to compile kernel from source I'll post the terminal results and see if you lovely devs can help resolve my problem lol

I can only dream lol
[Miscellaneous Android Development] mifl:
Please comment on what you've done so far, try to help wherever I can.

Greetings.
[Miscellaneous Android Development] ninjah:
good. i will add my changes later.

but for now

I/surfaceflinger( 8630): link_image[1916]: 8631 could not load needed library 'libsurfaceflinger.so' for '/system/bin/surfaceflinger' (link_image[1916]: 8631 could not load needed library 'libdvm.so' for 'libsurfaceflinger.so' (link_image[1916]: 8631 could not load needed library 'libqc-opt.so' for 'libdvm.so' (reloc_library[1331]: 8631 cannot locate 'u_errorName_46'...
I/surfaceflinger( 8630): )))CANNOT LINK EXECUTABLE
I/logwrapper( 8630): /system/bin/surfaceflinger terminated by exit(255)
I/app_process( 8632): link_image[1916]: 8633 could not load needed library 'libandroid_runtime.so' for '/system/bin/app_process' (link_image[1916]: 8633 could not load needed library 'libdvm.so' for 'libandroid_runtime.so' (link_image[1916]: 8633 could not load needed library 'libqc-opt.so' for 'libdvm.so' (reloc_library[1331]: 8633 cannot locate 'u_errorName_46'...
I/app_process( 8632): )))CANNOT LINK EXECUTABLE

so problem is that libqc-opt.so cant be loaded.
[Miscellaneous Android Development] mifl:
Fix the first three points.

View Commit History:

https://github.com/mifl/android_device_pantech_presto/commits/jellybean

Thank you very much.
[Miscellaneous Android Development] mrakattack:
Okies mifl, I'm using your git and when trying to use lunch to build aosp I get an error "target arch not defined by board config: */*/board config.mk

And.... If anyone could help me, I synced the entire android repo and I want to be able to tell lunch to make 4.0.4 for the presto, since our kernel won't work with anything higher unless we get someone to backport modules

Edit: being an idiot, still need to sync the code aurora repo to build 4.0.4 for msm8660-surf lol

Probably won't be able to build until next week or whenever I can sync my repo lol
[Miscellaneous Android Development] mifl:
If you're building Android 4.0 from the repositories of CAF, all I can use my repository is the file: proprietary-files.txt

Modules and the kernel, you should extract from the device: system / lib / modules

Greetings.
[Miscellaneous Android Development] ujjwalchhabra:
I think if we make the Cyanogen 9 port perfect first will be better first ? than JB will be good as I think a good developer with good debugging knowledge can port CM9 from lg nitro in short time with little or no bugs . I've been in android since i bought burst only means not more than 25 days . You try to port CM9 please first . I'll make a MIUI port than based on ur ported CM9 . I loved the MIUI looks a lot :cool:
[Miscellaneous Android Development] ninjah:
E/hwcomposer( 237): draw: eglGetRenderBufferANDROID returned NULL buffer
E/ ( 237): getAndroidNativeRenderBuffer:: Unable to load or find the symbols
E/hwcomposer( 237): draw: eglGetRenderBufferANDROID returned NULL buffer
E/ ( 237): getAndroidNativeRenderBuffer:: Unable to load or find the symbols
E/hwcomposer( 237): draw: eglGetRenderBufferANDROID returned NULL buffer
E/ ( 237): getAndroidNativeRenderBuffer:: Unable to load or find the symbols
E/hwcomposer( 237): draw: eglGetRenderBufferANDROID returned NULL buffer
E/ ( 237): getAndroidNativeRenderBuffer:: Unable to load or find the symbols
E/hwcomposer( 237): draw: eglGetRenderBufferANDROID returned NULL buffer
E/ ( 237): getAndroidNativeRenderBuffer:: Unable to load or find the symbols
E/hwcomposer( 237): draw: eglGetRenderBufferANDROID returned NULL buffer
E/ ( 237): getAndroidNativeRenderBuffer:: Unable to load or find the symbols
E/hwcomposer( 237): draw: eglGetRenderBufferANDROID returned NULL buffer
E/ ( 237): getAndroidNativeRenderBuffer:: Unable to load or find the symbols
E/hwcomposer( 237): draw: eglGetRenderBufferANDROID returned NULL buffer
E/ ( 237): getAndroidNativeRenderBuffer:: Unable to load or find the symbols
E/hwcomposer( 237): draw: eglGetRenderBufferANDROID returned NULL buffer
E/ ( 237): getAndroidNativeRenderBuffer:: Unable to load or find the symbols
E/hwcomposer( 237): draw: eglGetRenderBufferANDROID returned NULL buffer
E/ ( 237): getAndroidNativeRenderBuffer:: Unable to load or find the symbols
E/hwcomposer( 237): draw: eglGetRenderBufferANDROID returned NULL buffer
E/ ( 237): getAndroidNativeRenderBuffer:: Unable to load or find the symbols
E/hwcomposer( 237): draw: eglGetRenderBufferANDROID returned NULL buffer

with this error, all things on screen is green and not readable

and some info:

in /device/pantech/presto/propriertary-files

# Prebuilt libraries

#lib/libbcc.so

#lib/libdvm.so

#lib/libmemalloc.so

#lib/liboverlay.so

#lib/hw/gralloc.msm8660.so

this is not vendors libs, we'll build own

---------- Post added at 07:00 PM ---------- Previous post was at 06:51 PM ----------

porting is not solution, someone tryed but fails, im also tryed, but it dont boot.

now we have almost working cm10, we need to solve problem with graphics(it work incorectly) and with rild(more complex problem)

btw LG Nitro - is xhdpi, our is hdpi
[Miscellaneous Android Development] mifl:
Does the compilation that gives the error you indicate you do with the recent changes in the repo today.?

Changed files you mentioned.

Greetings.
[Miscellaneous Android Development] ninjah:
im not sure, i have made many changes locally. im deleted all things that was built and building from a zero.
[Miscellaneous Android Development] stevotdo:
Perhaps time to start your own git? That way the two device trees can be compared.
[Miscellaneous Android Development] ninjah:
its a magic for me....i dont now how to do that
[Miscellaneous Android Development] ninjah:
And finaly it booted!

with some graphics problems in begining.

Touch - dont work(it work...but very strange)

wifi - dont work

bluetooth - dont check

rild - dont work
[Miscellaneous Android Development] Finn81:
great news anyway.you made a good job.
[Miscellaneous Android Development] stevotdo:
There's some info on github on how to set one up. I'm not very good with it.
[Miscellaneous Android Development] ninjah:
changes:

1) add proprietary files:

liboem_rapi.so (im not sure that it needed)

liboem_rapi_fusion.so (needed by mediaserver)

libnv.so (needed by mediaserver) im not sure that it proprietary

libdsm.so (needed by mediaserver) im not sure that it proprietary

2) in /device/pantech/presto/system.prop

delete

dalvik.vm.heapsize=48m

3) revert sw render to hw by:

0 1 adreno200

in /device/pantech/presto/prebuilt/lib/egl/egl.cfg
[Miscellaneous Android Development] stevotdo:
Very good progress. Care to upload the zip so I can take a look.
[Miscellaneous Android Development] ninjah:
Do not flash the firmware, it only for development use. its not working at all, it just boot.

It tested only with cwm 5.x.x. Do not use other recovery.

with loglevel 8 and logwrapper on some services

http://dl.dropbox.com/u/69831668/cm-10-20121216-UNOFFICIAL-presto.zip

btw sound also not working )) so it just booting, nothing else
[Miscellaneous Android Development] stevotdo:
Understood. Nonetheless, it's progress and I know everyone appreciates the work you are putting into this.

Edit : do I need to do anything special to get this to boot. I'm away from my computer right now but later I'll run a logcat to see what's going on.
[Miscellaneous Android Development] xxthe:
Won't let me open it. Just says invalid zip file... Speaking from opening as i were going to extract it btw.

Edit: Never mind. got it, about to try it.

---------- Post added at 12:27 AM ---------- Previous post was at 12:08 AM ----------

It says installing update but it isn't doing anything. It has been sitting here for awhile.

---------- Post added at 12:30 AM ---------- Previous post was at 12:27 AM ----------

Help would be lovely right now. It has been doing it for atleast ten minutes. No progress what so ever. I on't want to pull the battery in frar of brick

---------- Post added at 12:31 AM ---------- Previous post was at 12:30 AM ----------

Yay. It bricked my phone. Won't do anything
[Miscellaneous Android Development] stevotdo:
Pull the battery. Insert battery while holding power and volume down. You are now in recovery.

I've flashed this and restored 3 times. A brick would be impossible.

Also, unless someone is installing this to help with the development process. Then don't install it.

I'll logcat later tonight to see why it's not booting. Once again, this is a work in progress provided by ninjah for debugging.

---------- Post added at 05:10 PM ---------- Previous post was at 05:03 PM ----------

---------- Post added at 05:52 PM ---------- Previous post was at 05:10 PM ----------

Allright, I got it booted. Is it possible this is the not the most recent compile. I copied over the libs from your tar archive and it booted.

I now know what "Touch-dont work(it work....but very strange)" means...lol Maybe I'll get some time later to figure out.

Once again I can't express how thankful I am for your effort.
[Miscellaneous Android Development] xxthe:
I have done what you said. Doesnt work.
[Miscellaneous Android Development] stevotdo:
what cwm version where you using?

---------- Post added at 07:09 PM ---------- Previous post was at 07:07 PM ----------

If you replace /system/lib/hw/hwcomposer.msm8660.so with this one https://www.dropbox.com/s/iuqynrt3e5gxb7n/hwcomposer.msm8660.so

You can see the boot animation.
[Miscellaneous Android Development] xxthe:
Daves cwm6 my bootloader is unlocked. i have used it for a long time now. No issues

I'm going to the att store tomorrow to get a replacement.
[Miscellaneous Android Development] stevotdo:
Does the Pantech logo show up at all
[Miscellaneous Android Development] ninjah:
Ugh...

Do not flash the firmware, it only for development use. its not working at all, it just boot.

It tested only with cwm 5.x.x. Do not use other recovery.

where are from this lib?
[Miscellaneous Android Development] stevotdo:
It's from the stock rom.

As far as the odd touch behavior. All I've got so far is somewhere it's set to use mouse input. Still trying to run down where.
[Miscellaneous Android Development] ninjah:
thanks for info, it must be in boardconfig.mk, i will check

---------- Post added at 06:48 AM ---------- Previous post was at 06:15 AM ----------

ok, we need to recompile kernel, because mouse input turned on in defconfig, will check later

And dont forget to thanks Mifl - it make major contribution to dev process
[Miscellaneous Android Development] mifl:
Hardware libraries (HAL) are in file presto/qcom-common.mk

Investigating other ports, HAL always get to the phone. I've added the files to the repository.

The problem is that the vendor files, you have to add in parts, to ensure they do not break the build.

Greetings.
[Miscellaneous Android Development] ninjah:
HAL we built from source, except camera, thats why i had green bootscreen bug. We can test our prebuilt libs.

Today i will try to fix touch and check HAL libs, if i will have time enough.
[Miscellaneous Android Development] ujjwalchhabra:
they'll do for free ? Here We don't have any att store :( I live in india and i bought this handset due to good specs and cheap price only . Just a risk involved of no warranty + no service center available :crying: . Thats only reason sometimes i fear to do somethings :crying:
[Miscellaneous Android Development] stevotdo:
If a person is worried about screwing up there phone there are two points of advice I can give you.

1. Don't flash anything you find in this thread. These zips are meant for debugging. When someone gets a stable enough build, they will most likely start a separate thread for their rom or device tree.

2. Don't download recovery from rom manager. Either use 5.*** or the 6.** that Davepmer compiled.

Side note. I'm using cwm 6.*** by Dave and this test rom did not screw up my phone. I flashed it over 6 times and threw more libs and modules at it than I care to admit.
[Miscellaneous Android Development] ninjah:
Mifl, commit this change, we dont need this string, our heapsize is 256m, and it will be appended by build script.
[Miscellaneous Android Development] mifl:
OK changed.

I patched the wifi. have if it works.

Greetings.
[Miscellaneous Android Development] ujjwalchhabra:
I'm on estabins rom and thats using cwm 6 i think :/ BTw If i flash cwm 5.x now using adb will it brick or my cwm will be downgraded ? Or in estabins rom i remove " cwm-6.0.1.4-presto-20121006.img " and place cwm5.img in same place and remove this line from updater script " package_extract_file("cwm-6.0.1.4-presto-20121006.img", "/dev/block/mmcblk0p18"); " And add replace by this "package_extract_file("cwm5.img", "/dev/block/mmcblk0p18"); " that will work na ?

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

Just a sily question I don't want to break the spirit of you devs :P BTW till when you guys think our burst will get some stable CM10 build ? how much it will more take ?
[Miscellaneous Android Development] dragonmasterx:
i believe that the major step was taken if its boot it is a matter of correcting bugs and polishing the ram ,maybe the cm will come with a kernel ,i believe in a week or less we will have a stable cm for our pantech thnks to their hard work .
[Miscellaneous Android Development] stevotdo:
I would just flash it via adb. You will then have cwm 5.xxxx. Or if you want to replace it in estabins rom, just rename cwm5.img to cwm-6.0.1.4-presto-20121006.img Serves the same purpose.
[Miscellaneous Android Development] ujjwalchhabra:
yep forgot to rename ;) thats more easy way :D Will flash it today via adb now. There's no risk still My heart says to be with cwm 5 and I'll blindl listen to my heart . thanks anyways :p

---------- Post added at 06:29 PM ---------- Previous post was at 06:27 PM ----------

Yup I too think Kernel needs to be modified to work with AOSP roms . someone told me this :silly:
[Miscellaneous Android Development] mrakattack:
i feel dumb as i cannot figure out the code to sync the code aurora ics msm8660_surf manifest, keeps saying my connection is refused
[Miscellaneous Android Development] mifl:
Have synchronized already a repository (CyanogenMod or AOSP)?
[Miscellaneous Android Development] cfmusicman:
estabien's is running Davempr's cwm 6 btw
[Miscellaneous Android Development] mrakattack:
Yip synced the whole aosp repo without problems. I got a connection error when trying to pull from codeaurora
[Miscellaneous Android Development] xxthe:
Nothing at all. XD But my replacement will be here tomorrow or the next day, I asked them to send it with GB so that will be a plus.
[Miscellaneous Android Development] mrakattack:
Thanks, it's my first foray into compiling since I used Ubuntu a few years back, so forgive me for my noobness, all your help is much appreciated ^_^
[Miscellaneous Android Development] mifl:
Ok.

I'm no expert, there are many on this site, but I am very stubborn and curious.

Greetings.
[Miscellaneous Android Development] mifl:
Repair fix in Compile AOSP Codeaurora for Pantech Burst P9070 (presto)

It seems that everything works fine. But I have observed that there is an error in the script. In the first version, delete the changes made ​​in the files. I changed the script to fix the problem.

Greetings.
[Miscellaneous Android Development] dragonmasterx:
Can anybody share its rom for end user :) i would love some cyanogen magic on pantech as the pantech customisations are too heavy for me
[Miscellaneous Android Development] mifl:
Not to be rude, but you should read the previous posts.

The rom is in development.

Greetings.
[Miscellaneous Android Development] ujjwalchhabra:
I'm Very happy with mifl's effort in Burst development ^_^ . After reading few comments here , A new fresh feeling gets from inside that soon we gonna get AOSP roms :D . I can wait a lot for a stable build . But it seems I don't need much to :D . Seems We'll get something good before new year :D

Greetings .
[Miscellaneous Android Development] ninjah:
where i can see source of cwm6, or can u give it to me?
[Miscellaneous Android Development] ccdreadcc:
Guys anyone can include this patch for our kernel? Is it possible?

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

Btw its 2 way call recording patch..
[Miscellaneous Android Development] stevotdo:
This was the guide I used when I built it for the crossover. You can probably skip some steps. It looks like the source is already there when you sync the cyanogenmod jelly bean branch.

The key point is that you need to run the lunch command and select our presto. Then you can run "make -j4 recoveryimage" if that resulting image functions correctly then you can create a update zip package containing the new recovery with "make -j4 recoveryzip"

I probably won't be back on here until tomorrow. I have to travel for a neurosurgeon appointment.
[Miscellaneous Android Development] ninjah:
I actually tried to find out the source of cwm6 that was used by xxthe
[Miscellaneous Android Development] kagedws6:
you might have to pm him directly. Rom manager pulls from https://github.com/CyanogenMod/android and https://github.com/CyanogenMod/android_device_pantech_presto the latter being what probably needs to be corrected to prevent the rom manager version from bricking so damn much. I wish I had a spare burst because I'd send it to koush to have it made and imported into github so we can build CWM's on the fly.
[Miscellaneous Android Development] mifl:
Pantech kernel.

I've been looking at the kernel today.

It is a disaster, everything is made to get the update to ICS. Pantech joined parts of the kernel 2.6, with other parts of the kernel 3.0.

I think it's best to look for a clean kernel. The problem is that the drivers give problems. Use some that are rare:

Yamaha Corporation MS-3E (YAS530) triaxial geomagnetic sensor

Yamaha Corporation MS-x Orientation Sensor

Avago APDS-9190 Digital Proximity Sensor

If anyone knows a msm kernel stable and valid for CM10, please put a link to the repository.

Greetings.
[Miscellaneous Android Development] ujjwalchhabra:
I don't know much But i really want CM10 and hence will trying my best to help you . I don't know the links i'm giving will help you or not :/ But these 2 roms are from same chipset and correctly working for CM10 also . I don't know the device usses sensors of same company.

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

and

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

even galaxy note got same chipset . :/
[Miscellaneous Android Development] dragonmasterx:
nope even and if they share the same cpu they dont share the same internals so the kernel of them is different from the kernel of pantech as i understand some drivers cannot be obtained from the kernel of pantech and cannot be a correct implantation of them on cm,maybe a dev with some more soucres eventually will contribute its own help to the project.
[Miscellaneous Android Development] ujjwalchhabra:
this might help also o.O

http://xda-university.com/as-a-developer/getting-started-building-a-kernel-from-source

---------- Post added at 06:46 PM ---------- Previous post was at 06:32 PM ----------

Guys i'm having some problem :( . I made some rom with android kitchen than build it correctly . It does install correctly too but it gives an error status 7 while flashing :( . And when i boot the system it stucks at boot animation for ever . Boot animation never ends up with my homscreen . Somebody suggested me to replace the update binary with working one . I did and signed the zip again . But this time installation gets aborted . Whats the problem ? I'm using davemper's ICS as base . The one from clockworkmod site .
[Miscellaneous Android Development] Parcae:
I don't know if this helps, but the Samsung Galaxy Ace (GT-S5830i) uses the first two sensors you listed, so you might be able to get the drivers from here: http://xdaforums.com/showthread.php?t=1907298. Not knowing anything about kernels, I don't know if it's as simple as copying and pasting stuff.
[Miscellaneous Android Development] ujjwalchhabra:
Tried to fix the CM9 a bit but nothing worked . I forgot to edit the build.prop . Maybe that had fixed the bugs but i forgot and now I'm being lazy A** to make again a new zip -_-
[Miscellaneous Android Development] kagedws6:
davepmer had the same issue he stated he had to copy almost all our stock files over to make it work because if he didn't it would bootloop mostly because most other phones have a RTC and ours does not.
[Miscellaneous Android Development] ninjah:
progress:

touch now working -> thanks jznomoney for cm9

wifi and bt not working

home button also not working
[Miscellaneous Android Development] ujjwalchhabra:
You talking about CM10 right ?
[Miscellaneous Android Development] ninjah:
yep im about cm10
[Miscellaneous Android Development] stevotdo:
Awesome. Keep up the good work.
[Miscellaneous Android Development] ujjwalchhabra:
wifi i don't have at home and with bluetooth i can adjust ;) Rest everything working fine ? And touchscreen ? BTW home button is necessary also :(
[Miscellaneous Android Development] ninjah:
nope, rild also not working and sound too ) it useless for now.
[Miscellaneous Android Development] mifl:
Invalid route detected in kernel

Pantech kernel has a bug in the exit routes in some files "Makefile", to be repaired.

We must find:

KDIR := ../../../../../out/target/product/msm8660_surf/obj/KERNEL_OBJ/

And replaced by:

#KDIR := ../../../../../out/target/product/msm8660_surf/obj/KERNEL_OBJ/
KDIR := ../../../../../../../out/target/product/presto/obj/KERNEL_OBJ/

If you want help, you can search for the kernel repository: https://github.com/mifl/android_kernel_pantech_p9070. Write a post with the places you've found.

Note:

These changes only affect the branch jellybean. For the master branch paths are correct.

Greetings.