yashsingh1/xdaforums huggingface dataset:
[Optimus One, P500 Original Android Development] mDroidd:
Yeah I don't like noKia :p

Anyway, the commands look the same as Python, the things I saw at least.

That's what I will be using. It looks beautifull, you can do anything with it.

Qt can reach the same as python.

Have a look at Easy Development Studio in Chef Central > Android. That uses python also.
[Optimus One, P500 Original Android Development] williamcharles:
I havent worked with python but i have with Qt and believe me...its powerful....:D
[Optimus One, P500 Original Android Development] mDroidd:
Okay ;)

Can you execute normal Bash scripts with QT?
[Optimus One, P500 Original Android Development] mDroidd:
Any suggestions on a new name??

I realised that naming my tool after a website was confusing...

So I want to rename it.
[Optimus One, P500 Original Android Development] williamcharles:
yes you can...

make a draft of the things you need in your application and then you compare with both the technologies.

In that way, you can decide the best for your needs. :)
[Optimus One, P500 Original Android Development] mDroidd:
OK, following a tutorial on python now.

Uploaded a new BETA with batch-Deodex implemented.

Single deodex and framework deodex coming soon.

Many bugfixes also.
[Optimus One, P500 Original Android Development] Lycan:
AWESOME!

You got featured on the portal ! :D
[Optimus One, P500 Original Android Development] mDroidd:
Awesome, thanks!!

But it's not ready... lold, I am still working on it!
[Optimus One, P500 Original Android Development] KeitIG:
I was thinking about translation.

It's pretty awful to translate the whole AC file for each release...

Is it possible to include strings in a xml file, or to put functions in different files and include them in AC as in php ? (include ("myfile.php");) It would be a lot easier to translate new releases.
[Optimus One, P500 Original Android Development] mDroidd:
It is awful...

I am following a tut on python now, maybe it's possible then.

And congrats, your name reached the portal also :)
[Optimus One, P500 Original Android Development] diazneoones:
hey buddy..Good job on the tool..

i installed SDK,Java,utilities and also prepare build from source...

on option 6)Build from source when chosen aosp buid for ginger and ICS...nothing happens and comes back to main menu...

am i doing something wrong...

i'm on Linux Mint 12
[Optimus One, P500 Original Android Development] mDroidd:
Scroll back and tell me, is there a message after you chose option?

I also figured out there was a huge bug, will be fixed in next release.
[Optimus One, P500 Original Android Development] diazneoones:
Tried again with AOSP Gingerbread and it started now

From /home/neodesktop/AndroidCentral/WORKING_DIR_1/.repo/projects/bionic.git/clone.bundle

* [new branch] master -> aosp/master

Current status * [new tag] android-sdk-adt_r16.0.1 -> android-sdk-adt_r16.0.1

Hope is goes on to complete successfully
[Optimus One, P500 Original Android Development] donavan01:
This looks like a fantastic tool, major props for creating it. I did have a question though... I saw that it supports several types of phones in one of the posts, would one of these be the P505/P506 These phones are almost clones of the O1 with the exception of some differences with the video and the camera. I am trying to get a custom kernel working that can be used in conjunction with the P500 ROM's (which we have for the .32 kernel but not for the .35) and I was wondering if this program will allow me to do this or not? And if its possible can you give some pointers on the best method to go about this... I want to use a modified version of Fanco's if possible.
[Optimus One, P500 Original Android Development] mDroidd:
Well, the easiest thing is to do this (while in AndroidCentral)

cd WORKING_DIR_1

repo sync -f
[Optimus One, P500 Original Android Development] mDroidd:
If there's a forum for your phone, hand me the link.

If there are developers working on it, hand me their names.

If you want a specific ROM, hand me it's name ;)

It would easily be possible for me to include, and I will appreciate it if you tell me this stuff.
[Optimus One, P500 Original Android Development] donavan01:
Unfortunately the only forum that is really doing anything is over at androidcentral.com http://forums.androidcentral.com/t-lg-phoenix-thrive/ There are a few hit or miss posts here on XDA but not enough to figure out much of anything.

There are no active developers working on this aside from myself and a few others that aren't really developers yet but were working on getting there.

As far as ROM's go we can pretty much use anything that the P500 can use provided we can patch over the kernel to a kernel that is built specifically for our phone because the the video and camera issue.

The idea that we are trying to do, is to create a custom kernel for our phone that is based off of the franco kernel. But with the lack of knowledge it is proving to be an uphill struggle, which is why your utility is so appealing. Would providing you with a link to the LG source code help? Im sorry for being such a noob at this but I'm fairly new to the linux world though Im learning quickly.
[Optimus One, P500 Original Android Development] mDroidd:
Everyone on XDA had this for a while and, to be honest, I don't know much about Android developing.

Anyway, all I need to help on the kernel think is the device folder.

I'm downloading the LG source code now, let's see if there's something interesting in it.
[Optimus One, P500 Original Android Development] donavan01:
If you could get this working for a kernel for us I'm pretty sure you would be the hero of a great number of people.
[Optimus One, P500 Original Android Development] KeitIG:
1st - i may be stupid but which portal ?

2nd - i began to learn python a time ago (maybe 2 years ago) but stopped, to learn php. What do you mean by putting on python ? It will make it compatible for any os with python installed ?
[Optimus One, P500 Original Android Development] mDroidd:
Yeah, but a device source would be nice...
[Optimus One, P500 Original Android Development] mDroidd:
The XDA portal on the main page!

Yep, any OS compatible!
[Optimus One, P500 Original Android Development] Arjen:
It is not really needed. Ok,kernelsource is needed to port some kernel drivers. Did this for LG Chic also.:D
[Optimus One, P500 Original Android Development] mDroidd:
OKAY. Name will be changed to StudioAndroid.

Changelog:

All that's left is fixing bugs.

Afterwards, you will like me :D
[Optimus One, P500 Original Android Development] donavan01:
My apologies I thought I had posted the already. Here is the source http://dl.dropbox.com/u/71615452/LGP505_Thunder_ATT_Gingerbread_V20F.zip

and if that doesn't work for some reason you can go to LG's site and get it direct http://www.lg.com/global/support/opensource/opensource-detail.jsp?detailCustomerModelCode=LGP505 But make sure you select the V20F Gingerbread version.

Thanks
[Optimus One, P500 Original Android Development] KeitIG:
Woaw, my name one the portal o_O beginning of glory ? x)

If I can help in any thing please tell me :)

(I've just decided to relearn python)
[Optimus One, P500 Original Android Development] mDroidd:
Yeah, I just arranged a "Learn Python" book, GUI included.

That's what I want, after all; a GUI.

And , ofcourse, all platforms supported!
[Optimus One, P500 Original Android Development] KeitIG:
But a GUI even in python is for only one OS isn't it ?
[Optimus One, P500 Original Android Development] mDroidd:
Let's find out :)
[Optimus One, P500 Original Android Development] mDroidd:
Why should I use your APKTOOL?​
[Optimus One, P500 Original Android Development] KeitIG:
I think it's gonna be a really great tool.

Next year (school year, September) i'll have my laptop for my studies in computers, (i'm currently in a boarding school, that's why i'm not here very much)

So i 'll be able to help you more than a translation ;)
[Optimus One, P500 Original Android Development] mDroidd:
Yeah, if you could translate it now, then I would be very happy :D
[Optimus One, P500 Original Android Development] Bytecode:
Hmm,I really like your work :) If you need an italian translation(or help with bash) I will be glad to help ;)
[Optimus One, P500 Original Android Development] omr911:
Can you modify/tweak this for Optimus Black ?
[Optimus One, P500 Original Android Development] mDroidd:
I would be able to include a P970 version, yes :D

I'll look at it when I have some spare time.
[Optimus One, P500 Original Android Development] KeitIG:
:D release tomorrow I think
[Optimus One, P500 Original Android Development] mario_fe:
Good work! !!! Next week will try it and I'll give you the feedback
[Optimus One, P500 Original Android Development] DJBhardwaj:
@mdroid: Really nice work you are doing here, keep up :)
[Optimus One, P500 Original Android Development] Lycan:
Yo mdroidd check this out

http://www.xda-developers.com/android/touch-and-customizable-rom-installer-aroma/
[Optimus One, P500 Original Android Development] Arjen:
If I am right he is looking at it ;)

@mDroid

If I don't forget I will send you the values for our touchscreen.
[Optimus One, P500 Original Android Development] mDroidd:
Yeah I know.

I am finding a way to make it more customizable, as the current thingy is **** :P

Yep :) thanks
[Optimus One, P500 Original Android Development] 3ncrypt3d_Droid:
Awesome work! :D
[Optimus One, P500 Original Android Development] popdog123:
@mdroidd... a feature at least i would enjoy very much would be to play a sound when an error occurs in building android (or kernel). I find myself away from my computer and i forget that i'm building and when i come back i find that it's stuck on an error and that is really annoying...

A solution to this may be your tool reading the output from make and when it reads "error" within the first characters of a line to play a sound...
[Optimus One, P500 Original Android Development] KeitIG:
a detail but...

SA line 575 :D
[Optimus One, P500 Original Android Development] mDroidd:
I hate spelling mistakes :P
[Optimus One, P500 Original Android Development] mDroidd:
Popdog, hey!

A sound, hmm, don't know if that's possible.

But I can implement a pause, so that you see the error and press enter to continue.

Also, a loop around repo sync ;)

Will look at it, thanks.
[Optimus One, P500 Original Android Development] KeitIG:
line 1127: isn't x86 instead of x96 ?

edit: reading your code, I realize that it's specific to Linux, if you want to port it on windows, you'll have to work... hard :D

re edit

line 1268 :D
[Optimus One, P500 Original Android Development] Arjen:
Not all tools will work on Windows, so you should build in a check on OS. Also for OSX you will need some specific checks/changes. ;)
[Optimus One, P500 Original Android Development] LynXT:
be downloading virtual box to test StudioAndroid
[Optimus One, P500 Original Android Development] :
if he mentions [LINUX] in title of thread... i dont think any win or mac user will install it ;)
[Optimus One, P500 Original Android Development] popdog123:
Pause after error is kind of useless since the build system quits after errors and you can just scroll up and see all of them. But if you can add a pause i'm sure you can add a sound too :)
[Optimus One, P500 Original Android Development] KeitIG:
French 0.50 version released :)

after testing with Cygwin, i got 2 errors:

/cygdrive/c/Documents and Settings/UG92/Bureau/StudioAndroid v050 French/SA: line 218: cd: /cygdrive/c/Documents: No such file or directory

/cygdrive/c/Documents and Settings/UG92/Bureau/StudioAndroid v050 French/SA: line 374: /SA: No such file or directory

...testing with VirtualBox
[Optimus One, P500 Original Android Development] mDroidd:
Hey you, I am trying to port it, relax;)
[Optimus One, P500 Original Android Development] Bytecode:
Yeahh,developer problems ;)

Anyway mDroidd,started translating bro ;)
[Optimus One, P500 Original Android Development] mDroidd:
Thanks :D

@Popdog and all other DEVs: Found a way to play a sound, beep, whatever. That will help I think...
[Optimus One, P500 Original Android Development] KeitIG:
@mDroidd

After translate SA, i run it and i get some directory errors.

I run SAI, and after the instal is complete, SAI runs directly SA, works well (no directories errors) but SA is in english.

Did the install overwrited my french SA ?
[Optimus One, P500 Original Android Development] mDroidd:
Ouch, ofcourse it did overwrite it :$

The directory errors mean that you translated the wrong parts..

Remember, only the pink text in gedit with echo " in front of it!
[Optimus One, P500 Original Android Development] KeitIG:
Of course i've translated only the echo functions, and there's no synthax errors.

The directory errors appears only when i did not run SAI the first time, that's it.

I made a tutorial on my translation post to get the french SA ;)

I'll test it this afternoon with cygwin and virtualbox

edit: i use notepad++ on windows :D
[Optimus One, P500 Original Android Development] mDroidd:
Hmm... anyway, thanks!
[Optimus One, P500 Original Android Development] Raffy 97:
Hey mDroidd can you add an option??

Resize apk?:)

resize an hdpi in a mdpi apk

sorry for bad english!:)
[Optimus One, P500 Original Android Development] mDroidd:
Sigh.. :P

Select Extract APK.

Then copy the images you want to resize from APK/EX/[APM_NAME] to Resize and select option Resize images.

After resizing, copy the images from Resized back to APK/EX/[APK_NAME] and overwrite.
[Optimus One, P500 Original Android Development] Arjen:
But he is right, a separate option for it is nice :D

We are lazy ;)

Sent from my LG-P500
[Optimus One, P500 Original Android Development] mDroidd:
You, send me the touchscreen files, NOW!

Lold, forgot it? No probs.

Should be easy enough to do...

But ehm, it's been a long time since I themed some ****, you should resize the drawable-hdpi folder??
[Optimus One, P500 Original Android Development] mDroidd:
Lold, now trying to make it compatible with an other OS: Android!

In the market, search Terminal IDE.

That makes .jar files compatible with android hehe

But CYGWIN has priority
[Optimus One, P500 Original Android Development] Raffy 97:
So you'll implement?:)

Inviato dal mio LG-P500 usando Tapatalk
[Optimus One, P500 Original Android Development] Arjen:
I will make him do it :D

Or else I will give him a virtual kick on his b*tt :rolleyes:

About the touchscreen values, I kind of lost them :D

Will make a new one though ;)

(Man, really need to write down stuff I need to do :D)
[Optimus One, P500 Original Android Development] mDroidd:
Implement Cygwin??

Yeah, I am kinda busy :P

I implemented a check ($OSTYPE is predefined, under Cygwin, $OSTYPE=cygwin), so now I can make some differences.

1. Vertical layout with 2 columns.

2. Implement ImageMagick for use with Cygwin (this is my base on every image tool).
[Optimus One, P500 Original Android Development] Raffy 97:
Not cygwin but apk converter... hdpi to mdpi:)

Inviato dal mio LG-P500 usando Tapatalk
[Optimus One, P500 Original Android Development] mDroidd:
I'll implement both :P
[Optimus One, P500 Original Android Development] :
waiting for cygwin release :)
[Optimus One, P500 Original Android Development] mDroidd:
Now I see it, wonderfull idea!

Option almost implemented.

Ghehe, if I am right then this should be the base of porting a lot of apps.

Thanks again ;)
[Optimus One, P500 Original Android Development] Raffy 97:
Yeaaaah:)

I need it thanks thanks!:)

Inviato dal mio LG-P500 usando Tapatalk
[Optimus One, P500 Original Android Development] KeitIG:
I can test it in Cygwin whenever you want (WeekEnd only :( )

A thing i tested and did not work was shortcut in SAI. I'll try a make as try as possible...
[Optimus One, P500 Original Android Development] thachtunganh:
Hi mDroid! I have just visited you github. And i found some broken things:

function Kernel3
{
repo init -u git://github.com/thachtunganh/ta-kernel.git
repo sync -j8
}

This repo was deleted for a long time ago. You should switch it to:

git://github.com/thachtunganh/lge-kernel-thunderg.git

And one more:

function Kernel2
{
repo init -u git://github.com/CyanogenMod/android.git -b gingerbread
repo sync -j8
}

This is the same as above one, switch it to:

git://github.com/CyanogenMod/lge-kernel-msm7x27.git
[Optimus One, P500 Original Android Development] Arjen:
Good job mate :D
[Optimus One, P500 Original Android Development] mDroidd:
Yeah, your kernel is edited next update already, but thanks for the CM thingy ;)

And what about non-p500 phones? Lge kernel will not suit every phone ;)
[Optimus One, P500 Original Android Development] mDroidd:
Arjen, I was just thinking.

I already implemented everything needed to resize the pics, put them in the right dir (drawable-*dpi) and repackage.

But how about the signature.
[Optimus One, P500 Original Android Development] Arjen:
Just use signing tool from Google or from apk tool
[Optimus One, P500 Original Android Development] Raffy 97:
Thanks mDroidd!:)

Tomorrow i test it!:)

Thanks a lot!:)

Inviato dal mio LG-P500 usando Tapatalk
[Optimus One, P500 Original Android Development] mDroidd:
Yeah, I know, but wich key? Testkey?

And I never managed to edit my framework and sign it properly :P

Apktool deletes the META-INF folder, is that what my signing tool should do with system applications?
[Optimus One, P500 Original Android Development] RockR172:
Phew, been busy past few weeks... Didn't have much time to browse XDA...

I check it today and you making quite good progress here mate... Great job...

Waiting to get my CPU back and test this... Got a dead Motherboard... :(
[Optimus One, P500 Original Android Development] mDroidd:
Overheated while building?? :/

Yeah, things are going well here :)

After I fixed all the bugs that are left, I will port it over to Python (cross-platform with GUI).

Also, from saturday 6 days long no updates, sorry. I got a french exchange-student coming over here :p

The week after, maybe on holiday :S
[Optimus One, P500 Original Android Development] Raffy 97:
mDroidd check your pm ;)
[Optimus One, P500 Original Android Development] mDroidd:
Resize APK is included in resize; option 3
[Optimus One, P500 Original Android Development] Raffy 97:
and what about gave image format & gave resize percentage?:)

(I moved into Resize folder an apk...)
[Optimus One, P500 Original Android Development] mDroidd:
Image format PNG, as always.

Resize percentage depends. The APK you are trying to port, look inside "res"

If HDPI is the biggest, enter H, if XHDPI is biggest, enter X.

In your case, H and M should be entered
[Optimus One, P500 Original Android Development] mDroidd:
Updated the script

Try again now, it should work ;)
[Optimus One, P500 Original Android Development] Raffy 97:
Yeah!:) Thanks very much!:)

I hope the apks works in the ROM!:)

You'll the first who i tell it!:)
[Optimus One, P500 Original Android Development] Arjen:
Well done :D
[Optimus One, P500 Original Android Development] Jaani:
may be a noob ???? still will this work with windows???If yes wats needed?
[Optimus One, P500 Original Android Development] mDroidd:
Ghehe.

Download Cygwin (The same as you need for Android Kitchen) and run my script.

It'll work, but I am still porting features.
[Optimus One, P500 Original Android Development] popdog123:
Is an osx version in plan? :D
[Optimus One, P500 Original Android Development] mDroidd:
Python is also available for OS X, so yes ;)

EDIT: Could you do this on your Mac please?

Give me the output, and I can start on porting it ;)

I already added a different layout for Cygwin, removed some options etc.
[Optimus One, P500 Original Android Development] :
EDIT: Got it to run. But unfortunately, it has a lot of bugs :(
[Optimus One, P500 Original Android Development] mDroidd:
??

Cygwin or linux?
[Optimus One, P500 Original Android Development] Raffy 97:
Check your PMs!:)
[Optimus One, P500 Original Android Development] mDroidd:
OK!

A cross-platform StudioAndroid is in the make - WITH LANGUAGE STRINGS!!!

Translations on the come ;)

Porting is started 5 minutes ago.
[Optimus One, P500 Original Android Development] :
Ubuntu :( Errors Errors...
[Optimus One, P500 Original Android Development] mDroidd:
run this, it will delete every piece of StudioAndroid and maybe old AndroidCentral

rm -rf ~/bin/AC ~/bin/SA ~/StudioAndro* ~/AndroidCen*

Try and run SAI again.

Will look at it.

And please be more specific then "I got errors." ;)

Thanks
[Optimus One, P500 Original Android Development] :
OK, after running ./SAI...

StudioAndroid is succesfully installed!
Do you want to run it now??
Enter option [Y/n] :
y
./SAI: line 46: /home/dhruv/StudioAndroid/SA: No such file or directory
dhruv@dhruv-M570RU:~$
[Optimus One, P500 Original Android Development] mDroidd:
In which directory did you run SAI?
[Optimus One, P500 Original Android Development] KeitIG:
You rock mDroidd ! :D
[Optimus One, P500 Original Android Development] popdog123:
$OSTYPE=darwin11

on osx 10.7.3

Also there's a thing at least with building in osx. You have to build everything on a Case-sensitive filesystem. So you have to create a disk image. SAI will install in the home directory and that's where it will download sources and build and that won't work. For osx you have to add an option when installing SAI to create a case-sensitive disk image, mount it and install there.
[Optimus One, P500 Original Android Development] mDroidd:
Could you give me the commands on how to do that? You must have used them because you are building also.

Cause this tells me nothing :/
[Optimus One, P500 Original Android Development] popdog123:
hdiutil create -type SPARSE -fs 'Case-sensitive Journaled HFS+' -size 40g ~/android.dmg

That's for creating the image.

hdiutil attach ~/android.dmg -mountpoint /Volumes/android

That's for mounting it.

From there on SAI should install and run in /Volumes/android

Also i'm not sure but i think the commands must be run from root.
[Optimus One, P500 Original Android Development] williamcharles:
Getting an error while resizing png's...:(
[Optimus One, P500 Original Android Development] mDroidd:
sudo apt-get install imagemagick.
[Optimus One, P500 Original Android Development] Arjen:
Guess you should implement a check if commands exist. If not give the user a warning and ask if SA should install it.
[Optimus One, P500 Original Android Development] rishabh22:
Im new to linux:o.

Ive installed the script..now how do i run it?

im using backtrack
[Optimus One, P500 Original Android Development] Arjen:
It is all in the first posts ;)
[Optimus One, P500 Original Android Development] rishabh22:
Installation of script is there but how to run it after installation isnt
[Optimus One, P500 Original Android Development] williamcharles:
use ./SA to run it...u should be in StudioAndroid Folder
[Optimus One, P500 Original Android Development] rishabh22:
actually that is what im looking for, where is the StudioAndroid folder located? :o

EDIT

NVM didn't realize it was installed in the root directory only :o

ThankYou:)

ADDED

Im not being able to recompile...

Is there something i am missing?
[Optimus One, P500 Original Android Development] KeitIG:
Have you installed utilities ?
[Optimus One, P500 Original Android Development] rishabh22:
um what utilities? :confused:

Edit

Installed it..Still not able to compile

Attached log file
[Optimus One, P500 Original Android Development] mDroidd:
Remove the APK directory inside StudioAndroid and try again.

If it does not work, please re-install SA into HOME onstead of ROOT.
[Optimus One, P500 Original Android Development] rishabh22:
If i remove the apk dir then where would i compile from.:confused:

root is my home folder only.

Backtrack gives the home folder the name root(the default username) :p

And i get the same error with apktools in windows also(apk multi-tool/apktools) :/

http://xdaforums.com/showpost.php?p=25297803&postcount=14
[Optimus One, P500 Original Android Development] mDroidd:
maybe try cygwin instead...

soon, Python is the tool you will use.
[Optimus One, P500 Original Android Development] mDroidd:
Getting there:

All that's left is porting the functions and adding images as TITLE.

:D:D:D