yashsingh1/xdaforums huggingface dataset:
[Galaxy 3 Android Development] dympy:
I checked the github repo, but all you can find are the resources needed for the layout and such. So we COULD use that, but that would mean we have to write all the underlying Java code by ourselves..

Dympy.
[Galaxy 3 Android Development] hadi_xman:
tht would be great...thumb ups guys..!!
[Galaxy 3 Android Development] :
I have basic java knowledge and would love to take part in your project. I will post some screen sof reference apps later on. Also i could help you with linux / shell for update server but sadly i recently have no root server to use.
[Galaxy 3 Android Development] GryTEcHoG:
I've better knowledge in all languages so I could help you just take a list of people here who comes under the final list of team and we'll start.
[Galaxy 3 Android Development] benzyniarz1:
Good luck and of course I can develop sth in c# (if it would be neccessary :P )

Our G3 is going to be the best (hmm maybe it already is :P) phone ever :)
[Galaxy 3 Android Development] moikop:
I can help coding, I know Java and C (some other languajes too, but I don't think they're relevant here :P), and I'm developing my own "game" (a port of a hombrew I did for PSP. I think it'll be released in a couple of days ^^).

As long as it's app development, I can help. I don't have much knowledge about Kernel, Rom or Recovery development (but I can learn :P).
[Galaxy 3 Android Development] Dharam_Maniar:
Guys dympy has already OTA working...so he will make the basic app first and then we can continue improving from there...
[Galaxy 3 Android Development] umangsagar:
I do not know how non programmers like me can help, let me know if there is any possible way of helping you all.

You all are doing a great job, I am not sure how many phones have got so many good developers working vigorously and selflessly on it. Samsung should be ashamed of sleeping all the while. Heartiest wishes with you all, god bless.:)
[Galaxy 3 Android Development] Shriharsh:
I can help you guys with the server i have unlimited bandwith and space server p.m. Me for details
[Galaxy 3 Android Development] Dharam_Maniar:
Thank you...i'll tell dympy to get in touch with u...
[Galaxy 3 Android Development] ahsanaimad:
Fantastic. You will succeed for sure.
[Galaxy 3 Android Development] FadeFx:
The inner workings of rommanager is quite simple, it places a file with instructions for cwm recovery into rommanager folder on sdcard. Recovery checks for that file on startup and follows its instructions if present. We just have to check cwm code to find out the possible instructions and implement them into our replacement app.

Id suggest to change folder location to /sdcard/android/data/g3manager/ btw, as i realy hate that apps put their folders, which arenof no interest for the user, into root directory of sdcard. I dont understand why the devs do this, where the developer guidelines should clearly state the correct handling like i specified this and we already use for kernel stuff. This way the sdcard root will not become that horrible mess that it is now.

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

tapatalked
[Galaxy 3 Android Development] moikop:
Yes, he's right. I looked at the recovery.log, and at the end of it:

And if you look at the CWM sources, you'll see "extendedcommands.c" (and it's header). If you take a look inside of it:

#define EXTENDEDCOMMAND_SCRIPT "/cache/recovery/extendedcommand"

int extendedcommand_file_exists()
{
struct stat file_info;
return 0 == stat(EXTENDEDCOMMAND_SCRIPT, &file_info);
}

And if you keep reading, you'll see other functions like "run_and_remove_extendedcommand()"...

So I guess that's the path for the script :P

Edit: moreover, check at main() in recovery.c file:

/...
} else {
LOGI("Checking for extendedcommand...\n");
status = INSTALL_ERROR; // No command specified
// we are starting up in user initiated recovery here
// let's set up some default options
signature_check_enabled = 0;
script_assert_enabled = 0;
is_user_initiated_recovery = 1;
ui_set_show_text(1);
ui_set_background(BACKGROUND_ICON_CLOCKWORK);

if (extendedcommand_file_exists()) {
LOGI("Running extendedcommand...\n");
int ret;
if (0 == (ret = run_and_remove_extendedcommand())) {
status = INSTALL_SUCCESS;
ui_set_show_text(0);
}
else {
handle_failure(ret);
}
} else {
LOGI("Skipping execution of extendedcommand, file not found...\n");
}
}

So.... yeah, definitely that's the file fadefx's talking about...
[Galaxy 3 Android Development] stubborn_d0nkey:
Wow, this might even happen sooner than most of us could have expected, great work everybody!
[Galaxy 3 Android Development] moikop:
I managed to execute a little "Hello World" script :P

Create a file named "extendedcommand" at /cache/recovery/ (as seen at the code I quoted before), put the code inside and reboot into recovery.

print ""
print "Hello CWM!"
sleep 10

It will print the string on screen, wait 10 seconds and reboot.

I also found the command used to install zip files. it's:

install_zip

The only example I found is:

install_zip DATA:local/zip_name.zip
[Galaxy 3 Android Development] dympy:
Nice work, we can really get this thing to work!

But may I ask where you found the sources? On the provided github link I can only find the resource files (.xml).

Dympy.
[Galaxy 3 Android Development] moikop:
What I found is based on some info taken from logs I found in Google, and what I saw on the Recovery sources (as quoted some posts before). I don't have Rom Manager sources (except for the layout which is in github) :P
[Galaxy 3 Android Development] dympy:
Okay :P

Well my initial idea is as follows (I mean, if I share, others can help):

The app retrieves the Data from a MySQL Database which contains all needed info.

Basically the Database is the heart of everything.

Here will be stored where all the update.zips and system.imgs are located.

Using this info, the app shows a simple download button which downloads the update.zips and system.imgs to the right location on the SD card.

The reason I chose this way is simply because I already have a big part of the code for doing this up and running (tested it multiple times with success).

And right now I'm creating the database (just local for now, I'll make an SQL dump when done to put it on the server).

Now, developers can create an account for the Database and this way they can upload updates and their ROMS.

If they agree with this, we could eventually also make a PC version (so a real site) to host the .tar's for flashing through ODIN (some sort off ROM market, a download center for all available ROMS).

The server is taken care of, the needed PHP files are being created and the Database is almost finished, so a big part is already done.

But your findings of the script are just magnificent!

This way the whole process of updating a ROM can be automated which is a lot easier!

Dympy.
[Galaxy 3 Android Development] angarato_surion:
ofcourse i tihk is a paid app :p
[Galaxy 3 Android Development] Pinak.ahuja:
http://xdaforums.com/showthread.php?t=1198065

[TASKER][CM7] tRUE - Tasker Recovery User interfacE - AUTO DOWNLOAD CM7 NIGHTLIES!

Would this help?
[Galaxy 3 Android Development] FadeFx:
Wont help too much as this is crafted for cwm >=3.x.x abd we have 2.5.x only... but the idea is cool and i can use it on my i9000, so thanx for that ;-)

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

tapatalked
[Galaxy 3 Android Development] FadeFx:
Just for info, is this amend script language? Didnt try amend scripting yet so no idea about that...

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

tapatalked
[Galaxy 3 Android Development] moikop:
Yes, it seems to be amend scripting...

You'd only have to check run_script_from_buffer() function at extendedcommands.c file in mumbozver SRC, to see:

const AmCommandList *commands = parseAmendScript(script_data, script_len);

:P
[Galaxy 3 Android Development] FadeFx:
Anybody got a list of all supported commands? I could not find anything on amend scripting, only edify...

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

tapatalked
[Galaxy 3 Android Development] moikop:
I didn't find a list of commands, but i found this.

It's a program for windows (made in Visual C# apparently) which "converts" amends scripts to edify. From it's source (ScriptHandler.cs file to be more specific, I've uploaded it here :P) we'd be able to get some amend commands (and their equivalents to edify)...

The commands are comented. You can find, for example:

/*
// * from: format SYSTEM: // This is in Amend
// * to: format("MTD", "/system"); // And this one is in Edify
*/

Check it out :D
[Galaxy 3 Android Development] FadeFx:
Hm, i guess it should be

delete_recursive SYSTEM:

but anyway we need amend so its

format SYSTEM;

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

tapatalked
[Galaxy 3 Android Development] moikop:
That's really usefull!

I've just noticed that all the commands that can be put inside /cache/recovery/extendedcommands are in commands.c file in recovery sources... Guess that's a full list of amend commands.

Well, with all the info we've recollected, I think we're done with this and should move on :P
[Galaxy 3 Android Development] Pinak.ahuja:
Guys check this app out . I tried it by selecting full backup from the app and it worked, would the updating rom functionality also work?

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

[APP] [1.14 @ 14/Feb/2011] ROM Updater
[Galaxy 3 Android Development] dympy:
This could take a lot of work out of my hands.

I mean, the server is available and ready to use.

I'll look into it and play a bit with it.

Dympy.
[Galaxy 3 Android Development] FadeFx:
seems like this requires cwm >=3.x as it requires edify support:

http://xdaforums.com/showpost.php?p=11207935&postcount=37
[Galaxy 3 Android Development] luckyankit:
mannnnnnn this thread is so techy... all the things got transmitted over head of mine :)
[Galaxy 3 Android Development] brajesh.sharma87:
Yup, i did a mistake once by commenting in this thread, now i only read it :)
[Galaxy 3 Android Development] Digibonez:
Any new developements here pls?

Send from my Samsung GT-5800.
[Galaxy 3 Android Development] dympy:
Well, I'm currently working on 3 other projects as well.

The way android can interact with a mysql server isn't pretty straight forward, you have to do it using php files and stuff.

So I'm figuring stuff out right now, but I would like some help considering the PHP and MYSQL database.

Please contact me through PM if interested.

Dympy.
[Galaxy 3 Android Development] debaj:
Can you write some details what you want to achieve? I read and write a remote MySQL server via simple HTTPClient and HTTP POST in one of my apps. On the other side there is some Java Servlet logic with Hibernate, I don't know much about PHP, but I can show you some source code if interested.
[Galaxy 3 Android Development] dympy:
This is what I had in mind, with future extra's in mind:

- A MySQL DB which contains all needed info.

- Devs registers(through PHP, quite simple, I have some usable code from previous projects) and can upload their ROMS(or Kernels) and for those ROMS(or Kernels) they can add updates.

- The app then retrieves a list of ROMS (or Kernels) and shows the latest update.zip.

The user will then be able to download the update.zip to a folder on the SD card and the phone will reboot in recovery to install the update.zip

This was my basic idea, most of the code (for example to download) is done.

The UI is quite simple and can be done within an hour or so.

The thing is, MySQL isn't really my thing..

So if someone could help it would really help me.

Right now I'm working on the G3Mod app, the Indroid OTA app and a project of my own, so quite some work.

And school is starting next monday again, so developement will surely slow down then..

Dympy.
[Galaxy 3 Android Development] :
Pm me have php and mysql skills :)
[Galaxy 3 Android Development] dympy:
I thought you guys could use a little update!

From the list with possible functions in post #2 I was able to implement 2 of them, and another 2 are waiting for implementation.

The OTA code (#4 on list) is done, such as the reboot in recovery code (#9 on list).

abhijeet.pathak is working on the php files for interaction with the MySQL server, and the MySQL DataBase itself.

When these are done, implementing #2 and #3 will be a piece of cake (I already gathered some tutorials and went messing around with the code, it seems legit).

Though I'm also working on other apps, this app is also up in my list.

Do remember, this app WILL be different from the original Koush designed, but a lot of the here mentioned functionalities will be implemented.

Dympy.
[Galaxy 3 Android Development] abhijeet.pathak:
I am done implementing data retrieval services, now testing it.

Will be doing php files for inserting records today.
[Galaxy 3 Android Development] dympy:
Update time!

Right now I'm waiting to implement the MySQL code into the app, but will soon be done too.

Before making it a public release, I would like to create a test team first, to eliminate any bugs and give feedback for the further versions.

So, if you like flashing roms/kernels and want to test the app, please PM me!

Also, when done, I'm thinking of uploading the app to the market, this way all G3 users can easily access it on the phone.

Dympy.
[Galaxy 3 Android Development] abhijeet.pathak:
Hey!

Sorry for late update.

I am about to finish pages for adding records. Give me 5 hours. Will comeplete everything by then.

Tonight is the night! ;)
[Galaxy 3 Android Development] Dharam_Maniar:
Ohh Yeah!! :D :D ;)
[Galaxy 3 Android Development] :
i would love to test the app :)
[Galaxy 3 Android Development] dympy:
So I theoretically completed the needed code in the app.

All I need to do now is upload MySQL and implement all the other files to work with each other.

Then I'll add some test stuff (the system.img's from Dharam's Kernel Thread and all versions of his kernel) and test it out myself, to make sure the download class is working and stuff.

When that's done I'll create a test team which will include me, Dharam (since he founded this project), abhijeet.pathak (since he created all the server side stuff) and some of the entries I got through PM.

When the tests where succesfull, the first version will be uploaded to the android market and I'll give you all details, including a direct link ofcourse, in this topic.

Any changelog and updates will then be provided through the Market.

Tonight might indeed be the night we'll get a ROM Manager of our own!

Dympy.
[Galaxy 3 Android Development] Panos_dm:
How is the project going? Any updates?

sent from my nokia 3210
[Galaxy 3 Android Development] dympy:
Well I'm currently a bit busy with school and stuff.

But I'm now getting ahead of schedule on my school stuff, so I'm going to try and make some work of it later this day (;

As for the MySQL folder, it's mostly done, Just have to find the URL for the server, can't make that out yet..

Dympy.
[Galaxy 3 Android Development] umangsagar:
12...14 days out of XDA i seem to have missed quite a few good stuffs, and this one sounds very enticing.....I wish i could b of any help to your team in this or any projects, let me know dharam.....as again, wish the entire team, heartiest wishes on yet another great idea, which is so relevant and wishing good luck for successful completion.
[Galaxy 3 Android Development] dympy:
Okay all, another update, but it's kinda sad..

I just figured out, after long long journeys through the support forums of the host I use, there are absolutely NO abilities to access the DB..

So I already thought something like this could happen and I found a free DB on the interwebz (yaay!).

Now I'm going to try and use that one until I get my own server (;

I really, really hope I get the basics working by the end of the day (:

Dympy.
[Galaxy 3 Android Development] dympy:
Another little update.

I found out the problem probably lies with the host I use..

So I'm going to throw my original plan around and create the portal first!

What portal you may ask? Well the site where developers register and upload their ROMS, that portal!

This way we'll have a site where users can browse ROMS and Kernels, and an app which does the same (:

The whole mainframe of the site is going to be an old project of mine but heavily edited for this to work.

So atleast I have a working version, just a lot of changes to be made (:

Can some one recommend a good free stable host?

Dympy.
[Galaxy 3 Android Development] cdesai:
x10hosting.com ftw!!!

Btw i also got something similar to a portal running, ping me on gtalk n we can talk!
[Galaxy 3 Android Development] FadeFx:
thanx for that tip...
[Galaxy 3 Android Development] dympy:
Update time!

Hello all, it's been a long time since I posted an update on the G3RM app and site, this is the current progress of the site:

I'm going to discuss things soon about hosting the G3RM site.

In the current situation, people can add ROMS, add Kernels, Register, Edit their Account, Search on both Username, Kernel name, ROM name and User ID and logged in users have an overview of their ROMS and Kernels so they can edit them.

Right now adding the Kernel/ROM details and redo the Kernel/ROM selection List.

When that's done I'll add the download functionality's (in first release, due to limited space on server, users can only add direct download links, so no redirects to mediafire or so. When I get a good free hosting site with a big amount of space, users will get the ability to upload it to the server itself).

This was a lot of text, I'm going to try and finish the code now.

Dympy.
[Galaxy 3 Android Development] naaney:
Can't wait!!!!! @wsomeeeee

Sent from my GT-I5800
[Galaxy 3 Android Development] dympy:
I hope to release the site by the end of this week>

Then I'll start reworking the app and upload it to the website (:

Dympy.
[Galaxy 3 Android Development] raja4sure:
all d best mate....get going...

it's indeed an awesome project.....waiting for it:)
[Galaxy 3 Android Development] dympy:
Another update which I forgot to mention last time:

CDesai has found an easy way to install CWM on stock ROMS + Kernels!

He provided me with extra info on how to accomplish it and when the site is done, I shall test it many times to see if it works good enough.

If so, the ROM Manager app will also have an option to install CWM if you don't have a kernel with CWM enabled by default.

THis way the update.zip for a kernel (such as G3MOD kernel) can be installed without use of a PC!

So as I mentioned before, I shall try it (on JPS and JPM) when the site is done (;

Dympy.
[Galaxy 3 Android Development] dilzo:
Sweet, thank you very much.
[Galaxy 3 Android Development] dhirend_6d:
Very nice indeed.
[Galaxy 3 Android Development] cdesai:
I managed to flash kernels to the device without any need of odin or cwm

All you need is the zImage and a simple command :D
[Galaxy 3 Android Development] Digibonez:
This is cool 8-)

Send from my Samsung GT-5800.
[Galaxy 3 Android Development] Rapier07:
Well done :)

Sent from my HD2
[Galaxy 3 Android Development] dympy:
I'm sorry guys, release won't be today.

School came first and we had some serious problems I had to fix last night which made me pull an all nighter and made me today very sleepy.

I shall try to release the site by next sunday (:

Dympy.
[Galaxy 3 Android Development] turboblaz:
NP school its first ;)

PS have a long sleep xd
[Galaxy 3 Android Development] dympy:
So I haven't uploaded the site yet, because there is this one thing every developer likes:

Bugs...

So right now I'm debugging everything, going throught the state diagrams/use case diagrams to find more bugs (Yes, I actually create these just to test, if you guys are interested I shall upload them later :P) and then I shall upload.

If any of you guys still finds an update then, contact me through the site (in the about section(oops, spoilers, we have an about section :D)).

Dympy.
[Galaxy 3 Android Development] dympy:
Squashed lots of bugs today.

Just one more thing to implement and the site goes online.

This will most probably be tomorrow.

If so, this thread shall be closed and a new one shall be opened which the g3mod team and I shall maintain.

When the site is done, I'll get back to working on the app and shall release ASAP.

It coudl take some time because with our current schoolproject we have to finish a prototype within 3 weeks.

Dympy.
[Galaxy 3 Android Development] EdisDee:
can't wait to test this! ^.^
[Galaxy 3 Android Development] Parth_goklani:
any eta¿To release it¿
[Galaxy 3 Android Development] dympy:
Right now finishing temporary add download (developer has to add DIRECT download links which shall be stored in the database.

I hope to upload later this night, but I'm going to do some charity work first (:

As for the other options:

These shall be available in the app.

As for the ETA.. Who knows, maybe tonight, maybe tomorrow.

I also have other stuff to do like school, but I'll try to release it ASAP!

Dympy.
[Galaxy 3 Android Development] dympy:
And EVERYTHING for kernels is done!

Tomorrow I shall copy/pasta and change so some stuff so it will also work for the ROMs. I'm also going to change the search function so it actually searches on android version (right now only on user, kernel name, kernels of a certain user, rom name and roms of a certain user).

Right now I need sleep, so goodbye and expect the G3RM site to be up an running somewhere tomorrow afternoon (;

Dharam shall close this thread and I shall open a new one to maintain it.

Good night everyone.

Dympy.
[Galaxy 3 Android Development] Dharam_Maniar:
:)

Thread closed

:)​
[Android Q&A, Help & Troubleshooting] blazelazydays:
my current settings are:

V1 color profile

multipliers:

Red: 2883763840

Green: 3067833920

Blue: 3210999360

gamma:

Red: -47

Green: -44

Blue: -46

I like these settings out of all the others I have tried however I am

just wondering if anyone has a better setup for the screen.

post your voodoo settings here please (:
[Android Q&A, Help & Troubleshooting] JokerAce:
Are you using ICS?
[Android Q&A, Help & Troubleshooting] lufc:
Questions or Problems Should Not Be Posted in the Development Forum

Please Post in the Correct Forums & Read the Forum Rules

Thanks✟

Moving to General
[XPERIA X10 Themes and Apps] saimad4u:
Sorry if I'm posting in a wrong section......

Just wanted to give my idea of video calling. Can we use or create a detachable camer like we used to get it for PSP. Any ideas
[XPERIA X10 Themes and Apps] trollertron22:
You already posted this. Its been done. Just use skype
[HTC Sensation] kevinf1990:
sometimes i see that my sensation's led notification will be blinking and i wake it up but don't see any new notification. i was able to get rid of this by sending myself an email and clearing the mail notification. is there any other notification that i'm not checking? thanks
[HTC Sensation] slash_1:
yes, i have the same problem. the notification led is blinking green but no notifications... if i drop down the status bar slider, the blinking stopped...
[HTC Sensation] ItsDace:
Same here.
[HTC Sensation] Sibbi:
Experienced the exact same behavior yesterday. Weird...
[myTouch 3G, Magic General] almudhi:
I modified rom by replace two files in system/lib

1- libskia.so

2- libwebcore.so

then after flash the rom stuck in splash screen

HTC magic 32a

SAPPHIRE PVT 32A ENG S-OFF H

HBOOT-1.76.2007 (SAPP10000)

CPLD-12

RADIO-6.35.10.18

Aug 21 2009,18:19:15

please I need help from the experience people and waiting for your replay

what should I do to solve this problem?
[XPERIA X10 General] saimad4u:
Sorry if I'm posting in a wrong section......

Just wanted to give my idea of video calling. Can we use or create a detachable camer like we used to get it for PSP. Any ideas
[XPERIA X10 General] trollertron22:
Its already been done. Skype works. Google talk works. They all have video chat. And wrong section.
[XPERIA X10 General] saimad4u:
Giv me the link working on x10
[XPERIA X10 General] anantshri:
download skype or gtalk from market.
[XPERIA X10 General] mohdameer:
what about 3g video call
[XPERIA X10 General] anantshri:
3g video call requires front camera which is out of scope here.
[XPERIA X10 General] himanthaj:
I've seen in some devices 3G video calling works even with the back camera.