yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] stevotdo:
Couldn't agree more! Thank you mifl! It would seem you've put a lot of work into this, thank you.
[Miscellaneous Android Development] kagedws6:
ty too stevotdo! for all the work you've done to date and also that you've already given urself to do in the future!
[Miscellaneous Android Development] mifl:
Thanks guys.

I will try continue working: a guide on how to be compiled and advance in the compatibility of the ROM.

But I have to learn to handle the tools of Google Project Hosting, to include sources files, and use the Wiki for tutorials.

Not answer many post, because the lack of English makes me take long to answer them.

If possible I would like people to collaborate on the project. Providing corrections, suggestions and modifications to the code of the ROM.

A greeting.
[Miscellaneous Android Development] davepmer:
Need to change the prebuilts and the fstabs. the partition information is wrong in the prebuilts and in the emmc fstab
[Miscellaneous Android Development] davepmer:
well I changed the prebuilts and all the partition info I could find. it compiles fine, but will not even bring up adb. not really sure what is wrong.

here are the device files I tried to fix. http://www.4shared.com/zip/0obdiB7y/presto_device_fixed.html?refurl=d1url

fyi I did not flash the boot.img, not brave enough
[Miscellaneous Android Development] kagedws6:
added your files to the googlecode site
[Miscellaneous Android Development] stevotdo:
Believe that you need a valid cm7 ramdisk in the boot.img for it to start loading. If you aren't sure about the precompiled kernel you could always split the boot.img and insert your own.

Better yet you could reboot to fastboot and "fastboot boot boot.img" with the cm7 boot.img and on the next boot it will revert to the original boot.img
[Miscellaneous Android Development] mifl:
Hi

The first thank all the work they are doing.

As I said previously my work would begin development of the ROM, and so we could all collaborate.

To add further modifications as soon as possible to the project file and not saturate, they appreciate it used a standard format.

Example:

In the file "recovery.fstab" in the root directory: mmcblk0p14 is data (it has 13)

Change:

/data ext4 /dev/block/mmcblk0p13

By the following:

/data ext4 /dev/block/mmcblk0p14

Following this format, the members of the project: "kagedws6", like myself, or anyone who wants to join the project, we add the change as soon as possible.

Thank you all again.

A greeting.
[Miscellaneous Android Development] davepmer:
when I try to fastboot boot.boot.img I get an image incomplete error. also the size of my boot.img is wrong, it is way too small. My compiled boot.img is 4.6 megs in size. the boot.img from my cwm recovery backup is 10.5 megs. I am missing something in the compiled kernel.
[Miscellaneous Android Development] stevotdo:
I ran into that a couple months ago. I still have no idea how to remedy that. I just got done compiling so maybe I can try to figure out what's going on.

I know that the zimage is 4.5 meg (same as when you split the stock boot.img) so I'm wandering what the secret sauce here is we are missing

Edit: I also think it would be worth tearing down the prestoroot.img also. What ever the secret sauce is, it has to be in there too. Since it is the only modified boot.img that we know of that has booted on this thing.
[Miscellaneous Android Development] kagedws6:
is the ramdisk.gz missing? from what I understand both the zImage and the ramdisk have to be bundled in the boot.img.

*DEV TOOLS* - Pack & Repack Boot.img Files - for Windows USERS shows how to pull it apart and repack it in windows. I'm just going threw the excruciating long download of cygwin
[Miscellaneous Android Development] davepmer:
Just as difficult actually. Our problem is more of what the presto (burst) does not have that other phones do. The presto does not have a RTC. One of the stuck at the bootup animation errrors is an error that amounts to unable to set time clock. Now our ICS rom gets the same error, but somewhere in the lib files our ICS rom ignores the "fatal error" and continues. With the ported lib files the fatal error is fatal and the system starts looping.

The few times I get enough copied from out ICS to get past the RTC error I get into a build / VM mismatch 28 vs 27 actually. apparently our ICS is build 28 and CM9 is build 27.

The only way past that is to use nearly all our ICS bin lib and framework (not actually a bad idea as our ICS is all newer than CM9) that actually will boot, but to get settings, contacts and phone to all work I use the files from our ICS, use mms from ours too, it just looks prettier CM9's is kind of drab (no color).

The best port I have so far has been from 20121022 and it is a lot of the present ICS with a little CM9.1.0 but it does boot and most things work least seem too. But it is nearly all our ICS. But like I said our ICS is newer than CM9.1.0

---------- Post added at 02:44 AM ---------- Previous post was at 02:33 AM ----------
[Miscellaneous Android Development] davepmer:
Ok been brain storming and I would like input. I am condsidering trying to reassign the internal partitions of the presto.

What I am thinking of doing is removing the internal SD, assigning the present /sdcard/external_SD to be /sdcard, making the current internal SD to be /data (yes 16gig of app space) using the present 1gig data for sysyem (yes 1gig system partition) just not sure what to do with the present 500meg system partition. Was thinking swap but not sure it would ever get used

Any input?

Fyi found out the presto will use swap space if it has it available
[Miscellaneous Android Development] alenhoff:
personally the extra app space would be nice, and if the system will use the swap space then all the better.
[Miscellaneous Android Development] kagedws6:
If it will work I think it would be a good idea
[Miscellaneous Android Development] davepmer:
Well a presto using swap space is confirmed
[Miscellaneous Android Development] alenhoff:
have you already made the mods to the partitions on your device? any change in performance?
[Miscellaneous Android Development] davepmer:
I have not changed the partitions yet, I added a swap file to see if it would actually use swap at all, and it does. I haven't tested performance. Have a question, anyone know if the partitions would have different read write life expectancies? I personally don't believe they would. I believe they are just different partitions on the same emmc memory chip. But if I am going to change the system partition I would like to know for sure. Oh don't get me wrong I see no problem at all with changing the system partition to p14. The problem would be making a swap file of p13 since that would get written to fairly often compared to nearly never being written to now.
[Miscellaneous Android Development] alenhoff:
i had planned on taking my burst apart and taking note of the internals, including jtag possibilities as well as the exact chips that it is using. i'll see if i can see exactly what emmc chip they are using so i can check out the specs of the read/write life expectancy. i agree though that they are more than likely using one chip with multiple partitions as to using multiple chips. more chips usually equals higher cost which pantech especially is not to likely to do with the price of the phone itself. but i will let you know a little later tonight.

Update: i have gathered some of the info on a few of the chips. including what your interested in and it does have one chip that contains both the nand and ddr.. i still have some research to do regarding the other chips i have found inside the burst. also found a possible jtag for the device but i'll have to test further.

Processor: Qualcomm Snapdragon S3 dual-core mobile processor (APQ8060)

Storage: Samsung KMKYL000VM-B603 Multichip package 16gb nand, 1gb ram

Wireless Device: Qualcomm MDM9200

Multiband power amplifier: ACPM-7251 – Quad-Band GSM/EDGE and Dual-Band UMTS (B1/B5)

• Quad Band GSM/EDGE (GSM850/900, DCS1800/PCS1900)

hope that helps you out. since its all one chip it i wouldn't think it would change things dramatically. i have contacted samsung to try to get ahold of the read/write expectancy specs to give you a better idea.
[Miscellaneous Android Development] rticphreeze:
BLN

Anyone interested in creating a custom kernel for BLN control (Touchkey Blacklight Notifications) or working on the BLN mod?
[Miscellaneous Android Development] davepmer:
Back light notification? Might be a small problem the presto has an amoled screen no real back light, but might be able to use the cam flash but that would be one very bright notification

---------- Post added at 03:07 AM ---------- Previous post was at 03:01 AM ----------

Fyi I have made a rom to return back to the present 1g data 590m system and 12 G internal SD. Of course that means I have a prototype rom that should make it no internal SD, 12g data, 1g system and 590m swap. No I have not tried it yet. Not sure I am brave enough.
[Miscellaneous Android Development] alenhoff:
if you have a link i will go ahead and be the guinea pig. just let me know, either pm me or email me. i will say that is a big change and if it works will make insufficient space a problem of the past for most lol. if you want i'll download both versions and if the first works i'll do the other to make sure it reverts to stock partitions.
[Miscellaneous Android Development] rticphreeze:
BLN

I meant the capacitive button backlight notifications. Since the presto doesn't have a led notification light. Just like for the Galaxy SII http://www.xda-developers.com/android/backlight-notifications-mod-for-galaxy-sii/
[Miscellaneous Android Development] davepmer:
FYI now testing. I have mmcblk0p13 as swap, mmcblk0p14 as system, mmcblk0p27 as data

I have restored all my apps and have used 670m of space I have 11g free for apps and related data.

still working on the setting storage present app shows my sd card as internal guess it is having trouble with only one sdcard.

btw swap is in use and pretty active actually the presto is very much into having a swap space
[Miscellaneous Android Development] davepmer:
well slight problem, one I did not think about. when you try to use the presto for usb storage, you get the sdcard, and unfortunately you get the data partition mounted as well. Not sure how to stop that, least not yet. kind of surprised it actually mounts it since it is not a vfat partition anymore. still work to do I see since it wont remount the sdcard either.

oh here is some prove.

starting to believe the sdcard usb problem is in the app not in my setup. anyone help me find and modify the app?
[Miscellaneous Android Development] alenhoff:
i'm checking code in some of the common apk's from google. i'll let you know if i find anything. is your rom still showing sdcard and the external sdcard mounted? and if it is showing the internal card mounted as sdcard is it showing data files or blank?
[Miscellaneous Android Development] davepmer:
I think I found everything but the setting storage. That just fails if you do not have an internal sd. Everything else seems ok. I will say that 12g data partition has a lot more overhead than the 1 g partition did.

uploading an rar of the files now, it is a big one as I have the files to return to normal as well

Ran into a possible problem. It might be better if I could find a way to change the phone id. So that someone wont be able to accidentaly write a mmcblk0p13 system rom to a phone converted to mmcblk0p14 system. No 100% sure the outcome would be good. It could soft brick the device, or it could actually work if the zip rom also flashes the recovery partition and somehow wipes the data partition (not likely)
[Miscellaneous Android Development] kagedws6:
this is off subject but I got CWM pulled from rom manager for the burst so no one else downloads the messed up version until we can get a fixed one working on there.

also had to update the original post in this thread to make it conform to the dev section requirements. Waiting to see if it passes now.
[Miscellaneous Android Development] davepmer:
Well did it pass?
[Miscellaneous Android Development] kagedws6:
was told to add the links from my sig to the first post as well as any source links we have in addition to the original changes I had made. I haven't heard any feedback since tho.
[Miscellaneous Android Development] mrakattack:
Anyone have any luck finding when the radio img is stored? I know that I brought up building a aosp rom for this phone, and I know it's quite the undertaking but be worth a shot lol
[Miscellaneous Android Development] davepmer:
when or do you mean where?

It is stored during a pdl flash or one of the complete cwm zip file updates. now where it is stored is another problem. I believe it is stored inside mmcblk0p19 in files dsp1.mdn and dsp2.mdn

---------- Post added at 02:39 AM ---------- Previous post was at 02:29 AM ----------

Now I have a question, anyone know how the usb storage in system settings usb connection settings works?

I have been trying to rework the way the partitions are used, I have had no problem reassigning system and data, but when I have to reassign the internal sdcard I break something one way was to just not have an internal storage and give the whole 12 G to the data partition. that broke system settings storage. What I wanted to do was to make the internal sd a folder inside the data partition so it was not a fixed size but data and internal sd would share the 12G . that worked but broke system settings usb connections usb storage. adn had to be mounted in the init.rc file as it would not auto mount.

So I tried splitting the 12 G mmcblk0p27 into 2 files and using virtual devices. That works, but breaks system settings usb connections setting usb storage. It does auto mount sdcard and sdcard/external_sd and system settings storage works

would really like to use the sub folder way but the virtual devices would be fine too, I do not understand what is breaking the usb storage
[Miscellaneous Android Development] ccdreadcc:
dave..

im not sure if this is relevant.. but it might help u one way or other?

http://xdaforums.com/showthread.php?t=1233340
[Miscellaneous Android Development] mrakattack:
Both lol if one could figure out how to pull the radios we could get the cm9 build working lol I've been toying with the idea if deving an aosp rom...
[Miscellaneous Android Development] davepmer:
ah why pull the radio? just use the scripts and load the files up like pantech does. The radio should be up and working before init.rc completes

---------- Post added at 04:12 PM ---------- Previous post was at 04:09 PM ----------

Well I know what the problem is, not how to fix it but maybe knowing will help some how. The problem is that once mounted it can not unmount the virtual partition. the weird part is that if I set it up to not auto load, and manually load the partition, it will umount just fine.

back to the drawing board
[Miscellaneous Android Development] mrakattack:
Now the noob question, do I pull the proprietary bins from /system/bin/? Sorry, just really excited about my first build lol
[Miscellaneous Android Development] davepmer:
Those files are all over the place. There are bin files you will need and yes they are in the bin folder but you will need etc/wl (wifi) etc/firmware (radio) lib/modules lib/hw lib/egl and some of the lib so files
[Miscellaneous Android Development] mrakattack:
So any easy way of getting them all, like a device tree or git? Lol
[Miscellaneous Android Development] kagedws6:
mifl has this so far

https://github.com/mifl/android_device_pantech_presto

pushed mifl's updates to main repository for cyanogenmod

https://github.com/CyanogenMod/android_device_pantech_presto
[Miscellaneous Android Development] mrakattack:
Sorry I keep bugging all you fine people with dumb questions, but I appreciate all the help of just want to make sure that I have everything before attempting an aosp build lol
[Miscellaneous Android Development] kagedws6:
I just wish I could be of more help to everyone. I'm never at home long enough to get anything accomplished and I'm still in the learning phase
[Miscellaneous Android Development] mrakattack:
All I need is the driver code for usb
[Miscellaneous Android Development] mifl:
CyanogenMod

Hello:

Like I said I'm still working on the port of "CyanogenMod".

In compiling the local port, but has dependencies, and these have not been included in the main repository.

In the days following update my GitHub, with changes made on my pc. So anyone who wants can try to compile the rom.

Have you patience.

A greeting to all.
[Miscellaneous Android Development] mrakattack:
Be ok once you update your git if I use it? Lol
[Miscellaneous Android Development] mrakattack:
Got all the files needed, just need to know when to put them, since I assume that once you put everything together where it should be, I can then proceed with building the rom?
[Miscellaneous Android Development] mifl:
You can find information on the following post:

[CM10 GUIDE] How to build your own CyanogenMod ROM from 10 sources for LG P990 O2X:

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

This would be for the burst, but it is for CM7 and is outdated. I will try to update the previous post soon.

http://xdaforums.com/showpost.php?p=30259476&postcount=45

Greetings
[Miscellaneous Android Development] mrakattack:
Not going with CM, building from AOSP source... Will these guides work for that?
[Miscellaneous Android Development] mifl:
Then you have to do is use Codeaurora repositories:

https://www.codeaurora.org/gitweb/quic/la/.

There is information in the WIKI:

https://www.codeaurora.org/xwiki/bin/QAEP/

Once you get synchronize the repository, you must modify the project msm8660_surf. This has made pantech, to build Burst ROM.

You have much work to do, but only to try, you can learn a lot.

Greetings.
[Miscellaneous Android Development] ninjah:
Thank you! trying to compile.
[Miscellaneous Android Development] mrakattack:
I'm thinking of we had a working aosp rom, then we'd have a base to modify with some stuff from CM and other stuffs lol
[Miscellaneous Android Development] ninjah:
ok newb question, but where i can find prebuilt toolchains for compile kernel?
[Miscellaneous Android Development] mifl:
The repository automatically download the prebuilt toolchains.

I suggest that you replace the kernel directory, by the official Pantech kernel.

If you do so, you'll have to start kernel development from zero, because you would not have all the necessary drivers.

Greetings.
[Miscellaneous Android Development] ninjah:
ok, im compiled cm10 with kernel, but it dont boot.

in adb it says:

exec '/system/bin/sh' failed: No such file or directory (2)

i think it cant mount /system

in init.rc of compiled kernel:

on fs

# mount mtd partitions

# Mount /system rw first to give the filesystem a chance to save a checkpoint

mount yaffs2 mtd@system /system

#mount yaffs2 mtd@system /system ro remount

but our fs is EXT4
[Miscellaneous Android Development] ccdreadcc:
do u have a repo?
[Miscellaneous Android Development] ninjah:
i used Mifl repo

https://github.com/mifl
[Miscellaneous Android Development] ccdreadcc:
that is aosp repo?

anybody have a cm repo?
[Miscellaneous Android Development] mifl:
The repository is an adaptation for CyanogenMod. It's a working base, and unfortunately no one has shared another.

From what I've found in the kernel source, Pantech has used the same sources to compile the rom.

If you do not mind, try to compile it, and comment your impressions.

Greetings.
[Miscellaneous Android Development] ccdreadcc:
can u adapt the cwm to work on both storage blocks? sd and external sd?
[Miscellaneous Android Development] mifl:
You're right.

I think the problem is that the file "init.target.rc" that are in the repository, not the same as the official rom.

I'll try to change it fast.

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

If anyone has the full pdl pantech extracted, would be nice to include a link to download.

Greetings.
[Miscellaneous Android Development] ninjah:
changed some staff in init.rc and init.target.rc and now:

some (not critical?) errors with

W/Vold ( 265): Duplicate state (1)
D/DirectVolume( 265): DirectVolume::handlePartitionAdded -> MAJOR 179, MINOR 9, PARTN 9
W/Vold ( 265): Duplicate state (1)
D/DirectVolume( 265): DirectVolume::handlePartitionAdded -> MAJOR 179, MINOR 10, PARTN 10
W/Vold ( 265): Duplicate state (1)
D/DirectVolume( 265): DirectVolume::handlePartitionAdded -> MAJOR 179, MINOR 11, PARTN 11
W/Vold ( 265): Duplicate state (1)
D/DirectVolume( 265): DirectVolume::handlePartitionAdded -> MAJOR 179, MINOR 12, PARTN 12
W/Vold ( 265): Duplicate state (1)
D/DirectVolume( 265): DirectVolume::handlePartitionAdded -> MAJOR 179, MINOR 13, PARTN 13
W/Vold ( 265): Duplicate state (1)
D/DirectVolume( 265): DirectVolume::handlePartitionAdded -> MAJOR 179, MINOR 14, PARTN 14
W/Vold ( 265): Duplicate state (1)
D/DirectVolume( 265): DirectVolume::handlePartitionAdded -> MAJOR 179, MINOR 15, PARTN 15
W/Vold ( 265): Duplicate state (1)
D/DirectVolume( 265): DirectVolume::handlePartitionAdded -> MAJOR 179, MINOR 16, PARTN 16
W/Vold ( 265): Duplicate state (1)
D/DirectVolume( 265): DirectVolume::handlePartitionAdded -> MAJOR 179, MINOR 17, PARTN 17
W/Vold ( 265): Duplicate state (1)
D/DirectVolume( 265): DirectVolume::handlePartitionAdded -> MAJOR 179, MINOR 18, PARTN 18
W/Vold ( 265): Duplicate state (1)
D/DirectVolume( 265): DirectVolume::handlePartitionAdded -> MAJOR 179, MINOR 19, PARTN 19
W/Vold ( 265): Duplicate state (1)
D/DirectVolume( 265): DirectVolume::handlePartitionAdded -> MAJOR 179, MINOR 20, PARTN 20
W/Vold ( 265): Duplicate state (1)
D/DirectVolume( 265): DirectVolume::handlePartitionAdded -> MAJOR 179, MINOR 21, PARTN 21
W/Vold ( 265): Duplicate state (1)
D/DirectVolume( 265): DirectVolume::handlePartitionAdded -> MAJOR 179, MINOR 22, PARTN 22

and so on

I/Netd ( 6926): Netd 1.0 starting
E/BandwidthController( 6926): runIptablesCmd(): failed /system/bin/iptables -t raw -N bw_raw_PREROUTING res=768
E/BandwidthController( 6926): runIptablesCmd(): failed /system/bin/ip6tables -t raw -N bw_raw_PREROUTING res=768
E/BandwidthController( 6926): runIptablesCmd(): failed /system/bin/iptables -t raw -A bw_raw_PREROUTING ! -i lo+ -m owner --socket-exists res=768
E/BandwidthController( 6926): runIptablesCmd(): failed /system/bin/ip6tables -t raw -A bw_raw_PREROUTING ! -i lo+ -m owner --socket-exists res=768
D/MDnsDS ( 6926): MDnsSdListener::Hander starting up
D/MDnsDS ( 6926): MDnsSdListener starting to monitor

on other boot it display just this:

I/Netd ( 424): Netd 1.0 starting
I/Netd ( 459): Netd 1.0 starting
I/Netd ( 470): Netd 1.0 starting
I/Netd ( 480): Netd 1.0 starting
I/Netd ( 488): Netd 1.0 starting
I/Netd ( 497): Netd 1.0 starting
I/Netd ( 505): Netd 1.0 starting
I/Netd ( 515): Netd 1.0 starting
I/Netd ( 523): Netd 1.0 starting

and another issue:

su - not working - permission denied
[Miscellaneous Android Development] mifl:
would have to try replacing the vold.fstab by Pantech.

It's in the folder: device/pantech/presto/prebuilt/system/etc/vold.fstab

I just came from work and I could not prove anything.

Not work "$ su" may be because you have not download the necessary prebuilts from cyanogenmod by running:

Download the necessary prebuilts from cyanogenmod by running

$ ~/vendor/cm/get-prebuilts

Greetings.
[Miscellaneous Android Development] mrakattack:
Getting so many errors trying to compile kernel from source, so I gave up lol
[Miscellaneous Android Development] ninjah:
what kind of errors? are u using Mifl repo?
[Miscellaneous Android Development] mifl:
If we give up, we will never have the port of CyanogenMod. Nobody supports our phone.

There is the option to compile the rom with a prebuilt kernel. Including modules pantech rom.

Greetings.
[Miscellaneous Android Development] mrakattack:
I am just trying to compile the kernel from pantechs source