yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] Bluezzy:
Going well :D

SO I put git clone https://gerrit.googlesource.com/git-repo in terminal and just get this

remote: Counting objects: 108, done

remote: Finding sources: 100% (108/108)

remote: Total 2692 (delta 1487), reused 2692 (delta 1487)

Receiving objects: 100% (2692/2692), 2.03 MiB | 0 bytes/s, done.

Resolving deltas: 100% (1487/1487), done.
[Miscellaneous Android Development] loicdu:
Hello,

It seems a great work.

I try to do same thing for a similar phone for the first time (I have a strong experience in ROM customization, but not in porting ROM).

I just wonder how you create the device and vendor folders.

I meet lot of modification to do, not only in makefiles and MK files, but also in C and H files.

I wonder if their some "magic" tool to help me to do that modifications (path, include, configuration variable, ...). For now I spent more than 50 hours, on changing and it didn't compile yet.

I also wonder if theire some specific files to look to know the list of all export I have to do before compilation.

I didn't find any tutorial about this, expect those says to copy some existing files and adapt them.

Sorry if I post in wrong thread, please tell me where I can post it.

Thanks in advance of any help
[Miscellaneous Android Development] BENETNATH:
[MENTION=5686357]loicdu[/MENTION] : there is no 'magic tools' nor good tutos for that .

if you have absolutely no sources given by the phone brand, it will be painful ! what is your device ?

a good resource is there http://xdaforums.com/android/development
[Miscellaneous Android Development] loicdu:
Thanks for your answer.

My device is an Alcatel OT Idol mini (6012X) and... I've got all the code !!

http://sourceforge.net/projects/alcatel/files/OT_6012X_20131213.tar.xz/download

BUT, it seems to me to be in a mess, and nothing compiles : there are tens or hundreds of paths, include, export that don't match and I try to find a solution for each one... Maybe I missed something when creating the project, a script to launch, a way to create the folders, I don't know what... Your experience on Alcatel OT could be very helpfull !
[Miscellaneous Android Development] BeyondDali:
Ben , i need your help , i have alcatel ot 6030x (idol) , i have the full source code but my device don't have any device tree ,rom , etc , pls help? how to start the dev? where and how? i really need your help :( and i have ubuntu on my desktop
[Miscellaneous Android Development] jhelp:
Hello I work on Alcatel Idol Mini 6012X. Like you I took the code from : https://sourceforge.net/projects/alcatel/files/ the kernel files, and from AOSP the Android code. I have merged both. With lot of pain-full effort I managed to compile the kernel. (If you need more details don't hesitate to ask)

Now I have to create the device folder.

For create it : find a already created device folder (better for a phone near yours) then adapt it. Its the advice you can read in lot of place in Internet.

For the Alcatel case, I suggest you to do a "find -name device.mk" "find -name BoardConfig.mk" in the kernel code, if its like for me, you will find a "magic" folder with lot of interesting files ;)

Take a look also at this sites :

http://wiki.cyanogenmod.org/w/Doc:_porting_intro#Customize_the_files

http://community.arm.com/groups/and...-to-boot-porting-android-to-your-arm-platform

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

http://www.kandroid.org/online-pdk/guide/build_new_device.html

http://www.kandroid.org/online-pdk/guide/build_cookbook.html

Hope its help

JHelp
[Miscellaneous Android Development] namerke:
Hi Ben.

I want to compile AOSPA-legacy PA ROM for the OT-995, and so far i managed to create the local_manifest.xml and got all the sources with the repo sync just fine. I'm using this topic as a guide, and as i mentioned i got it until the "STEP 2: Adding device support to PA".

So, the problem is I can't really find any *.sh files that would help me with the proprietary files. Therefore I can't really figure out what lines should i use in the "/manifest/<device>.adds" and the "/manifest/<device>.removes" files. Is there any way to get info about proprietary-files without an .sh? Or it's acutally there and i'm the on who is blind?
[Miscellaneous Android Development] BENETNATH:
for aospa, no need to add anything in the .adds and .removes

the issue is that you'll need to use legacy branches not only for qcom parts, but also for frameworks/av

and aospa has modified deeply the av part, which make it difficult.

i frankly recommend to built a classical 10.2 before starting on new roms..
[Miscellaneous Android Development] namerke:
Well then I will start with an older branch, and see what can I achieve. I'm sure I'm not capable for the more advanced tasks yet, so if you say it's difficult, then I wont be able to do it in the near future. But i'm really interested in this topic and PA is the closest ROM for my taste. I can see now there is a big learning curve here, and I already asked questions in the compile topic that i know now i shouldn't had but i'm really willing to learn if you can guide me.

Ps. What about older PA builds? Do they need anything in .adds and .removes?
[Miscellaneous Android Development] namerke:
So, status update: I succesfully compiled the latest cm10.2 sources with Bagyusz's kernel&dev tree, it boots, and works with the gapps provided by bagyusz for the cm10.2. I can provide a link for it if you want. Actually it was a pain in the *ss because i got all sorts of errors in the beggining, that none of the guides and tutorials wrote a word about and had to resync and recompile a few times and dig deep with google. But enough with the crying.

I'm pretty happy now with the end result, but i'd like to move forward to my original goal, and that is PA. Was the last one with compatible frameworks compiled by you? As I can see Bagyusz includes legaCy frameworks/av for cm11, i guess then that is a no go for AOSPA? I'm not familiar with the frameworks yet. Is there any guide that i can follow for this, or its a mission impossible for me?
[Miscellaneous Android Development] BENETNATH:
it's feasible.

i dunno how far are the two trees

First step should be to give a try with the legacy framework/av tree

then, when it will compile and gives error like UI has crashed, you'll have to incorporate aospa commits missing.

the easiest way would be to find in github someone who did it already

but the reasonable option would be to go for Mokee, as there are really few option missing from AOSPA in mokee..
[Miscellaneous Android Development] namerke:
Well, i just built it without the legacy stuff, it boots up and there are some things that works :) . On the other hand there are things that does not work:

- there is no audio.

- proximity sensor does not work.

- gyroscope does not work.

- who knows what else, didn't have the time to test it out fully.

Would the legacyMod frameworks/av solve some of these things?

I've been told that I dont need the legacy/av and i can use an already compiled cm11 to replace the drivers, is that right? If it is, how can i do that? Simply copy over the files?
[Miscellaneous Android Development] BENETNATH:
If YOU compile, don't use files from other roms

Find the proper sources, ask to bagyusz, try, use legacy parts, media-caf, try again...:good:
[Miscellaneous Android Development] namerke:
Actually it was Bagyusz who said that its an easier way to replace files from the compiled ROM.

He provided a link for the audio part, this one, and one for the gyroscope that might work, but there are still some other drivers that will be missing if I compile with these.

I understand that it would be "healthier" to compile everything from source, but its really is time and resource consuming to do so.

I had errors several times today after compiling for an hour, so basically my whole day was spent on it because of some tiny errors. I can't even imagine how bad it would be with some deeper replacements. But anyway, i'm trying.
[Miscellaneous Android Development] BENETNATH:
ok,

i dunno how bagyusz is currently compiling. some files are indeed directly copied, but it's in the compilation process.

Courage :)
[Miscellaneous Android Development] namerke:
Hi! Yep, first i misunderstood Bagyusz, but it's all working now.

Thank your very much for your help. The ROM is up in it's thread, i hope everybody will have fun with it.
[Miscellaneous Android Development] beladroid:
I am trying to compile latest cm11 m6 using the bagyusz's manifest on bitbucket. (complete noob in this

The build command doesn't know where is cm_cocktail (ot995'code) is . How can I add that info for the building to start?

I hope someone can help ...

here is the code:

[acer@archbang cm11.0]$ . build/envsetup.sh
including device/generic/armv7-a-neon/vendorsetup.sh
including device/generic/goldfish/vendorsetup.sh
including device/generic/mips/vendorsetup.sh
including device/generic/x86/vendorsetup.sh
including vendor/cm/vendorsetup.sh
including sdk/bash_completion/adb.bash
including vendor/cm/bash_completion/git.bash
including vendor/cm/bash_completion/repo.bash
[acer@archbang cm11.0]$ brunch cocktail
including vendor/cm/vendorsetup.sh
ls: cannot access device/*/cocktail/cm.mk: No such file or directory
build/core/product_config.mk:233: *** Can not locate config makefile for product "cm_cocktail". Stop.
Device cocktail not found. Attempting to retrieve device repository from CyanogenMod Github ([url]http://github.com/CyanogenMod[/url]).
Repository for cocktail not found in the CyanogenMod Github repository list. If this is in error, you may need to manually add it to your local_manifests/roomservice.xml.
ls: cannot access device/*/cocktail/cm.mk: No such file or directory
build/core/product_config.mk:233: *** Can not locate config makefile for product "cm_cocktail". Stop.

** Don't have a product spec for: 'cm_cocktail'
** Do you have the right repo manifest?

No such item in brunch menu. Try 'breakfast'
[Miscellaneous Android Development] namerke:
LoL, nevermind, got figured it out.
[Miscellaneous Android Development] KOCOBO:
What to tipe here ? I used NAMERKE's source, i read tutorial but i didn't know what to add there. :/
[Miscellaneous Android Development] Adnihil:
Hey, I just started using my old OT995 again (new phone was bricked). It has GB H1N1 but it's laggy and the battery life is bad too. I see that there are a lot of new ROMs available now, up to JB 4.2, but is it even a good idea to update to these new versions of Android? Won't it slow down my phone and drain the battery even more?
[Miscellaneous Android Development] Freon35:
Cmon - the phone is old. No HW support for newer software.

I have 2 of them for recolecton of memorries :)
[Miscellaneous Android Development] aleksandar.1:
:) sorry buddy, too late for support

I've used that phone four years ago. It wont even start now.
[Miscellaneous Android Development] Adnihil:
Oh, yeah, I get that it's an old phone, but it's just this basic question; does the phone (and its battery life) perform better with Android 4.2 than with Android 2.3, or worse? (And are the new Android ROMs just for experimenting and fun rather than for utility).
[Miscellaneous Android Development] v1c3:
Yes, looking in the FTS...h file, it seems a bit similar to these firmwares:

http://www.upupdd.com/wordpress/wp-content/uploads/2012/05/ft5x_firmware.7z

Vincent
[Miscellaneous Android Development] fonix232:
Just found those too, header matches (mostly), so I don't see a reason why not to try. Of course we have to convert the kernel-based firmware first into a binary file, then rewrite the update sequence, but then we can flash anything fairly easy.
[Miscellaneous Android Development] BaconBits:
Multilanguage

Awesome, I hope it is multi-language. Please add extra languages aside those on the stock rom. :laugh:
[Miscellaneous Android Development] Yeasis:
Would love to see jelly bean on this phone, but does anybody already have a stable ICS rom?

I would like to test/try a stable one, (must have a working WIFI).

And could some1 post a link to a guide how to do this? ( it was much easier on my superpad2)
[Miscellaneous Android Development] warsylep:
Please read the first post. It's all in there.
[Miscellaneous Android Development] Yeasis:
I have read it already a few times but i cant find a fuide anywhere?
[Miscellaneous Android Development] fonix232:
Plus, this thread is about development. Please keep the non-development related jibber-jabber (including requests, questions not related to actual development or additions, etc), in the other thread!
[Miscellaneous Android Development] warsylep:
From what i've read the diferences in the ft5x series is size of screen they support and/or resolution.

Also, did i got it wrong when i read that this chip supports *10* touches? :eek:
[Miscellaneous Android Development] fonix232:
Yes you did :D

The FT5306 series supports up to 5 touch points, while the FT5406 series supports 10.
[Miscellaneous Android Development] warsylep:
Damn, my bad :\

Clear something up for me please: If the touch limitation is in the firmware (or in this case, the firmare-converted header file) wouldn't that limitation also be present in a firmware obtained elsewhere?

Trying to learn :)
[Miscellaneous Android Development] fonix232:
Why would it be present? So far all of FocalTech's stock firmwares were totally unlocked and unlimited,only the branded ones had any kind of limitation. So its a good bet that a stock firmware has all limitations unlocked, etcetera.

Btw working on some fresh jelly bean ;)
[Miscellaneous Android Development] warsylep:
Ah! i assumed the limitation was put there by Alcatel/TCT. It makes sense now.

Already Jellybean?! Damn :D

On another note, supposedely, tomorrow June 29, was the release date for ICS to our 995 here in Portugal and in my carrier.. I'm monitoring their site and FOTA too just in case.

If it comes out, i'll make a cwm backup and upload it :)

Crossing my fingers!
[Miscellaneous Android Development] fonix232:
In case it comes, please do a backup before and after the update, plus save the update package too (/sdcard/.downloaded/), and upload this bunch :)

FocalTech must have provided an older firmware to TCT, thats why it has only dual touch enabled.
[Miscellaneous Android Development] warsylep:
At the same time i was writing the post, a cmw recovery backup was being made, just in case. :)

It's not factory (my settings/apps/photos/cwm recovery/whatever) but it'll have to do.

EDIT: Screw it, now that i have a updated backup, i'll factory reset, backup and apply previous backup.

---------- Post added at 01:24 AM ---------- Previous post was at 12:34 AM ----------

fonix i assume you are aware of the now-released Android Platform Development Kit?

In their words "assists you to port android to other devices"..
[Miscellaneous Android Development] fonix232:
Yes, the PDK is released, but as Google said, "for the selected manufacturers". I guess it will be released to every developer after platform release (source code), but not yet.
[Miscellaneous Android Development] Yeasis:
2.3.6 Update

For the people who still want the 2.3.6 update 2 downloaded from my device:confused::

http://www.mediafire.com/?7ypyp344ecxkezy
[Miscellaneous Android Development] BENETNATH:
wit hthe topic just above mentioning JB. it's seems a bit too late ;-)
[Miscellaneous Android Development] acilsekirlet:
Is this an official date for ICS on OT-995? (for at least portugal)
[Miscellaneous Android Development] OCouceiro:
Stock firmwares were totally unlocked and unlimited

Nice news.

In soon we can have a rom totally unlocked and unlimited ?

With sim unlook, conference call, rooted, etc ?

:good:
[Miscellaneous Android Development] fonix232:
SIM unlock is only possible with a code, and I don't know the algorythm, so that's a no-go. Although there was a forum where a guy offered that for 5€ he will send the code to anyone, and so far the buyers were pretty much satisfied.

Waryslep:

Are you monitoring Optimus' site? If yes, can you tell me which part exactly?
[Miscellaneous Android Development] maluko:
hi fonix

i think that when came out will be at this part because has other smartphone too.

this phone is named by Optimus like "Optimus Madrid"

http://www.optimus.pt/Particulares/Movel/ApoioAoCliente/Topicos/ConfigTelemov/actsoftware
[Miscellaneous Android Development] N0oN3:
Original firmware file

Hi guys

does anyone by any chance have the original firmware files or know where they can be found?
[Miscellaneous Android Development] mistercheese:
nobody has
[Miscellaneous Android Development] fonix232:
Any news from Optimus PT front?
[Miscellaneous Android Development] maluko:
Not yet. :(
[Miscellaneous Android Development] maka33:
hi guys,

i have an alcatel ot 995 its already rooted i have all the latest files and images but i cant boot in recovery it keeps stuck at bootscreen and the adb fastboot says waiting for device, i have experience with falshing android phones bu tnow i am stuck anybody has any idea how to get into recovery?

edit: guys i already fixed it i gonna try cm9 :D

---------- Post added at 01:37 PM ---------- Previous post was at 12:41 PM ----------

the cm9 rom is nice and smooth only i cant get my 3G (apn) configured, please let me know if tehre is a update to fix all the other stuff. but until then i will be using a back up of the old rom ;)

thanks for the great work everyone.

edit: since there is not a orginal backup i am gonna try the aokp rom

---------- Post added at 02:14 PM ---------- Previous post was at 01:37 PM ----------

updata

same issues with the aopk rom, no APn

does anyone have a fix for this
[Miscellaneous Android Development] warsylep:
Today in FOTA i got this update.. Haven't installed it yet but here it is to those interested.

Version 2.3.6-010 13

-> Link <-

EDIT: Can't seem to be able to install it.. phone reboots, shows bootloader and then black screen and stays there...
[Miscellaneous Android Development] fonix232:
Interesting, in Hungary we only got 010 04 :\

It doesn't really do anything, updates a few apps, and bumps the version.
[Miscellaneous Android Development] fonix232:
There is no fix, as it was pointed out in the first post, 3G or any other data connections are yet to be made to work.
[Miscellaneous Android Development] mistercheese:
why not compile a cm7
[Miscellaneous Android Development] fonix232:
Why do it? It would be a waste of time, and the only things working would be most probably the camera, and maybe BT.
[Miscellaneous Android Development] mistercheese:
ok my son :cool:
[Miscellaneous Android Development] .z3u5:
Hi

Im having this oportunity to get an original portuguese rom with all firmware updated ok so my question is :

In the new readme file from iuss it says

1. If you have previously installed a FOTA update, ensure any

leftover files are deleted (requires root):

$ adb shell rm /system/etc/install-recovery.sh

$ adb shell rm /system/recovery-from-boot.p

what u mean is that before i do the:

adb reboot-bootloader

i just have to type in cmd:

adb shell rm /system/etc/install-recovery.sh

enter and then

adb shell rm /system/recovery-from-boot.p

enter

and after this steps then i do all the steps to go CWM -based recovery?

Sorry if this is a dumb question but this could be an oportunity to get my phone 100% back to portuguese rom, and with all firmware updated so i dont want to ruin all :cool:

Cheers

Ty for the help u guys provide
[Miscellaneous Android Development] mistercheese:
u only need to delete those files if u having problems flashing cwm
[Miscellaneous Android Development] .z3u5:
Tx :good:
[Miscellaneous Android Development] BENETNATH:
hi ius and fonix,

do you think you'll give a try for the jelly bean source code released today ?
[Miscellaneous Android Development] fonix232:
I'm already downloading the source from the CM repo (AOSP wouldn' build for me, qcom stuff isn't really up to date), will report back when compiled successfully!
[Miscellaneous Android Development] BENETNATH:
Great !!

Fingers crossed for you, then !
[Miscellaneous Android Development] Witcher_Kh:
Alcatel OT-986

Greetings everyone.

Sorry if the topic is wrong. Just received Alcatel OT-986, so I'm asking for help with firmware. It has several Chinese aps I'd like to delete.

If anyone could help, that would be really good.

Thanks in advance.

Topic: http://xdaforums.com/showthread.php?t=1768639
[Miscellaneous Android Development] fonix232:
Currently as I heard no one has a 986 yet, so we can't really help with it. If I could get one for free, I would for sure dev for it, but without the device it's pretty hard :\
[Miscellaneous Android Development] mistercheese:
Can some of you compile the new cwm? Its version 6.0.0.7 now
[Miscellaneous Android Development] warsylep:
Can you outline the necessary steps?

for instance: do i need to sync the entire cm tree or the android_bootable_recovery is enough?

or.. sync cm repo, replicate git fonix232 / android_device_alcatel_cocktail in device folder of cm, then build?

Can you give some general directions? not asking for a step-by-step walkthrough (where's the fun in that..) just some pointers.. :)

thanks
[Miscellaneous Android Development] mistercheese:
if i could tell u how to do it i already compiled one... but i dont have any knowledge of that...

what i know is what i've learned from the guys here on XDA..
[Miscellaneous Android Development] blade_:
we hope to see soon a good rom for this phone...thanks devs!
[Miscellaneous Android Development] jjmiller:
ICS for OT-995!!

Hello

Someone here still working for CM9 to Alcatel OT-955?.

Thanks!!.
[Miscellaneous Android Development] fonix232:
Yes, I do. Although not with much luck, sadly.
[Miscellaneous Android Development] blade_:
why not?whats the problem?
[Miscellaneous Android Development] fonix232:
Mostly motivation, plus a lot of stuff would require additional Alcatel sources to fix :\
[Miscellaneous Android Development] blade_:
sounds bad... :(

thanks for trying :)
[Miscellaneous Android Development] cyberbit:
Dont give up

Please dont lay down your arms
[Miscellaneous Android Development] veryniceguy:
Keep up the good job.

Alcatel OT-955 it's a cewl fon, CM9 would be the ultimate upgrade for this one. Despite the phone stuffing up on me and having bad battery estimation and what looks to me like sloppy memory management, black screen of death, spontaneous restarts of one touch interface, I still like it.

I got HTC Wilfire/Buzz with CM7 on it and it's good.
[Miscellaneous Android Development] xdanoob!:
update

hi. does anybody know whether someone is still developing cm9 roms for this phone? and does anyone know the links to the latest kernel and cm9 based rom? :)
[Miscellaneous Android Development] warsylep:
how about you take the time and read the first post?
[Miscellaneous Android Development] xdanoob!:
i did. says there, the links may not be updated, that's why i asked if anyone had links to updated files.
[Miscellaneous Android Development] IsaacNewton:
I don think this has been posted before. Source files Alcatel OT-995

http://sourceforge.net/projects/alcatel/files/
[Miscellaneous Android Development] xdanoob!:
Thank you. But what firmware is that? :)
[Miscellaneous Android Development] warsylep:
That's que source code for alcatel roms, and it is a known site.
[Miscellaneous Android Development] xdanoob!:
but I'm no developer.. i guess i'd have to wait for a good developer to pick up this device like everybody else..
[Miscellaneous Android Development] salespace:
hi, i have a question, i have a 995 alcatel rinning ICS full functionality, somebody can help me to root and dump memory for developers?

the departament of development install it for testing in alcatel mexico
[Miscellaneous Android Development] maka33:
tips

with super oneclick and alcapwn exploit it is possible

download it from

http://d-h.st/users/mistercheese

you can make an unrooted back up with: rom toolbox or rom manager

you can make a rooted back up with rom toolbox or rom manager or cwm recovery mode

you can upload your back-ups here http://d-h.st
[Miscellaneous Android Development] mistercheese:
Download the cwm package from the link above.. read the readme.. u will find out.. never make backups with rom toolbox or rom manager...