yashsingh1/xdaforums huggingface dataset:
[G1 Apps and Games] corp769:
the last bit of code i posted dude i know works with an ls command, but with this, we are trying to spawn killall and pass the mediaserver argument, so i dont know if the stack will even handle this.... doesnt hurt to try though :D
[G1 Apps and Games] hamshu:
From the little I know about Android Development, I think that it will work. Then again, I am not a Java coder nor a Android Developer(C# coding ftw). Sorry about getting the Java code wrong, like I stated, I don't code any Java.
[G1 Apps and Games] corp769:
It's cool...meltus, how's it going? You have a pm btw...
[G1 Apps and Games] Meltus:
sorry guys, not had any success yet, but my girlfriends come round so i'll be away for a while ;)
[G1 Apps and Games] Zappletoo:
I suppose you need superuser privileges to kill the mediaserver.

This might work :

Process process = Runtime.getRuntime().exec("su -c \"killall mediaserver\"");
[G1 Apps and Games] alritewhadeva:
Pervert lol :) JK
[G1 Apps and Games] Meltus:
this kinda works. i get a SU permission request, but it doesn't reboot the mediaserver. any ideas? ><

lies :p
[G1 Apps and Games] Meltus:
goddammit i hate this damn app lol ><

now i've run across another problem, which is, i just realised the system needs to be in read/write mode (im an idiot).

so:

try {
Process process = Runtime.getRuntime().exec("su");
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}

works fine. makes an SU request popup thing appear, but...

try {
Process process = Runtime.getRuntime().exec("mount -o rw,remount /dev/block/mtdblock3 /system");
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}

afterwards doesn't do anything. anyone know why this isn't working?

damn, i hate java lol :p

EDIT: I've also realised that

(Process process = Runtime.getRuntime().exec("su");

works fine but replacing it with

(Process process = Runtime.getRuntime().exec("reboot");

does nothing?!? wtf's going on!! lol

ONLY su works. no other commands seem to do anything :mad:
[G1 Apps and Games] prash:
I'm not a coder by any means (more like a beta tester, but I can go through a code and 'see' it pretty easily) and I've often refered to this specific code for sms backup for root user app to do basic things..it basically uses two buttons and sends commands to the system. Check out the source code to see if it helps any: http://code.google.com/p/sms-backup-root/

Specifically the event when a button is pressed (notice it gets 'su' the same way you currently do, but does the actual commands differently):

backup.setOnClickListener(new Button.OnClickListener() {
public void onClick(View v) {

Process process = null;
DataOutputStream os = null;
try {
process = Runtime.getRuntime().exec("su");
os = new DataOutputStream(process.getOutputStream());
[B]os.writeBytes("cp /data/data/com.android.providers.telephony/databases/mmssms.db /sdcard \n");[/B]
[B]os.writeBytes("exit\n");[/B]
os.flush();
process.waitFor();

builder.setMessage("Backup done.. Found it in /sdcard/mmssms.db");
builder.show();

} catch (Exception e) {
return;
}
finally {
try {
if (os != null) {
os.close();
}
process.destroy();
} catch (Exception e) {
// Be Happy :)
}
}
return;
} });

It uses writebytes to send the code to the os. Try your code around that template and it may give you what you want.

Again im no coder, but there are a lot of open source apps that can give you a start towards what you want to do. Hope that helps!

p.s. love the audio mods, keep up the great work! Let me know if you want graphic work :]
[G1 Apps and Games] Ohsaka:
Here you go.

Runtime rt = Runtime.getRuntime();

try {

Process process = Runtime.getRuntime().exec("su");

DataOutputStream os = new DataOutputStream(process.getOutputStream());

os.writeBytes("reboot");

os.flush();

} catch (IOException e) {

e.printStackTrace();

}

I just ran this on my phone and it rebooted.... Once you start the process, you use .writeBytes to "type to it". As if you were at the terminal and just typed "su"...

Instead of "reboot", you could do "killall mediaserver" or anything else you want to type to the console...
[G1 Apps and Games] corp769:
just curious, but is there a way to emulate these on the phone? i mean where you wouldnt have to compile and sign the code, but just to run as a script of some sort?
[G1 Apps and Games] Ohsaka:
I have Eclispe + SDK plugin on my laptop. I just plug my phone in and add any code I want to test to the generic "Hello Android" application I have. When you run it in Eclipse, it uploads it to your phone and runs it for you...
[G1 Apps and Games] corp769:
sweet sh*t, i'm gonna try this :D

besides that, meltus, could you try the following and see if it does anything:

try {
process = Runtime.getRuntime().exec("su");
os = new DataOutputStream(process.getOutputStream());
os.writeBytes("mount -o rw,remount /dev/block/mtdblock3 /system\n");
os.writeBytes("exit\n");
os.flush();
}
[G1 Apps and Games] prash:
Well looks like a few of us are on the same track, hope os.writebytes stuff helps on your quest!
[G1 Apps and Games] corp769:
I know this is partially off topic, but i have a quick question about eclipse... is the program java dependant? i'm just having a few problems getting it to load, and i think i know what it is, but just want to be sure. mind me, I am an old school programmer, i was programming back when qbasic was still popular :D
[G1 Apps and Games] prash:
Well you WILL need the JRE (java runtime enviornment) to use eclipse, just grab it from sun's website, JRE 5 will do.

Here's some video tutorials if you're having trouble getting started with Eclipse or Java stuff http://eclipsetutorial.sourceforge.net/totalbeginner.html
[G1 Apps and Games] Ohsaka:
Yep, Eclipse is all Java.

Normally Eclipse includes its own java run time environment. Just download the zip, unzip it, place the "eclipse" folder where ever you like. There should be an eclipse.exe in the folder that runs first try.
[G1 Apps and Games] corp769:
Alright, thought so. Thanks a bunch :p It wasn't loading at all, so i had to re-install and upgrade a bunch of sh*t....
[G1 Apps and Games] Meltus:
EDIT: nvm i got it working!!!!!!

thank you so much for all your help guys!!!!

turned out this worked perfectly corp! both for mounting the system and restarting the mediaserver.

it was the "exit\n" part which was needed because otherwise it took ages to actually do anything.

cheers again for all your work, i's much appreciated!!!

those who helped (which was pretty much everyone who posted in this thread) message me and i'll send you the app if you want :D

it's not finished, still got some aesthetic changes to do :)

thanks again guys!!! :D
[G1 Apps and Games] corp769:
Bad @ss! I told you I would hook you up :D Hehe.... did you resolve your resource file problem yet?
[G1 Apps and Games] corp769:
Also, as far as the "exit\n" part, you need this because when you create process as a new Runtime, it will start a new PID and it needs to end before it exits and returns your status, whether it fails or not. After it ends, then it needs to flush itself so you can have it do whatever else you need it to do, like remount, reboot the server, and transfer the files. All flush does is end and clear the buffer pretty much. Not sure of the full technical side of it as I don't mess around with java too much, but in the console, that is exactly what it did.
[G1 Apps and Games] Meltus:
man, i really gotta learn java properly!

gonna move on to an EQ program next :D

cheers for all your help pal!! check your pms ;)

also, my sd card just corrupted itself, about 10 mins after i finished my app. i didn't even have chance to test it, the bastard. :mad:

and then my FreeView remote stopped ****ing working, rendering it useless!!!

what a day! ><
[G1 Apps and Games] alritewhadeva:
Wow...now that just REALLY sucks. Have a nice day :)
[G1 Apps and Games] corp769:
Dude....drink a beer and relax :D
[G1 Apps and Games] Ohsaka:
That sucks! Good thing sd cards arent too expensive anymore.

Glad you got it working though. I just followed you on twitter. Feel free to message me with java questions. I've been using Java since version 1.2 :)
[myTouch 3G, Magic Android Development] TheArtiszan:
Just like the title says. I was wondering if anyone knows that if following the steps for getting root changes bootloader at all? Really couldn't tell.
[iPAQ rw6828, XDA Atom ROM Development] zebra363:
Hello guys :D

I sorted every ROMs for :

XDA Atom / Pure / Exec

XDA Life

iPAQ 6815 / 6818 / 6828

Just visit http://all-cooked.blogspot.com

I hope you'll find there your happiness! :cool:
[Touch Pro, Fuze General] narcisis:
I noticed alot of ROMS don't use TF3D, which is kind of a deal breaker for me. I love TF3D. Anyone know why no one uses it?

I was gonna go with EnergyROM but no TF3D. :(
[Touch Pro, Fuze General] djcaston:
You should probably take another look :D. NRGZ28 has several different versions of his rom, one which has no TF3D, one that has TF3D, and one that has TF3D2. There's also plenty of other roms that have TF3D.

By the way, one reason that people would not want to use TF3D is that is uses a considerably large amount of memory and some find it to be less usable than the alternatives.
[Touch Pro, Fuze General] gmanfuzing:
NRG's Rom's have TF3D you just have to choose the right ones . lol nxt time READ.s
[Touch Pro, Fuze General] mr.jaguar:
because it's so danged slow. that's the main reason as far as I can tell.
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] l3v5y:
Hi,

Due to the success of my Topaz ROM, I've been thinking about a Rhodium 6.5 ROM. Now, obviously I don't have a device, so that could make things awkward, but I don't have a Topaz either!

Anyone interested?
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] lhwparis:
i am interested in any new ROM and i ll test it :)
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] ninja.rogue:
Of course!! :)
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] l3v5y:
Any special requests?

I will probably have multilingual ROMs as well (GER, FRA, ESN, ITA are the first few I've got).
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] WM-Sef:
I'm looking for a Dutch lite, super-fast, and stable ROM. Is that your idea? If you can make a ROM witch the things I described, I don't mention and install it straight away ;)
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] lhwparis:
german rom would be great!

prefereences: fast, stable, good applications
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] Fab985:
a wm 6.5 kitchen would be great!
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] moisesz:
I'm in... happy to test any rom. :)
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] PGLion:
WWE Rom with WM 6.5 based on the Energy Rom (Raphael) would be nice.
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] niktheman:
Any 6.5 would be good for now
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] monx®:
Yea, and we still waiting for OliNex (Olipro + Cmonex) HardSPL :)
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] Raolin:
Hi!

I would be glad to test your german 6.5 Rom :)

Best regards

Raolin
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] elroy944:
i will be happy to test your rom, will you please make take the dutch (NLD) rom as a part in your multilanguage roms.
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] l3v5y:
Yes... I'm going to release a ROM, though it won't be flashable till OliNex/Elite Team get to work...
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] NRGZ28:
You're funny. Why not just ask me to make Rhodium ROM based on.... my rom ? LOL :p
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] PGLion:
Damn, do you read all threads :)

NRGZ28, please please consider to make an Energy Rom for the Rhodium :p
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] Mauser.NET:
Yes please... :) Your Energy ROM on my Diamond is a beauty... the Windows 7 animation on startup is awesome :D

So please consider a ROM for our new Rhodiums :)

Oh.. and l3v5y... also love to see a 6.5 ROM from you ;)
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] nicelad_uk:
Would be nice to see you here buddy, I loved your roms on my HD, but your HD broke before I got to try your 6.5. My bro uses your 6.5 on the diamond and loves it.

Get yourself over here, have you got a Rhodium yet? If not... Get one, good phone, and get some cooking done, might fine chef!
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] thecompany:
Im always interested in new Roms..
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] AMoosa:
+1. I so miss NRG Roms on my Rhodium. I used so many of them from 1.0 to 3.0 on my Raph!

Please NRG!
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] NRGZ28:
Alright.... I'll make one. But.. can u guys flash it ? Nope.. lol

Any word on a hardspl for the Rhodium yet ?
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] nicelad_uk:
Naa, not yet :( Hopefully in the next couple of weeks.
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] :
As I have had fairly good success with the X1 and producing roms...Ill be joining the 6.5 rom creating for rhodium scene...have mine sitting here...just waiting on the hrdspl to be released to the masses...

Regards,

WC
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] romeo0119:
Yes wm 6.5 please, but we still need hard spl first. I'm getting my Tp2 soon from tmobile. Would love to erase all that tmobile junk out and get 6.5 on there
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] drhoros:
Would be happy to help

can test any ROM, have 2 devices so will still be able to "work" if one fails :)
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] nicelad_uk:
You can't if you don't have HardSPL, unless you have a device from the testing stages of the TP2
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] shingers5:
gonna be so damn exciting on here once hardspl comes out. hoping that my unbranded device won't need security unlocking before flashing custom roms. when in boot loader mode doesn't actually say security unlocked on that screen. anyway there will be ways round it so thats that! my bro WC roms will be good on this device and so will the energy roms with all its jazz. beast is also looks to cook for rhodium so peops brace ya self! its gonna be swell!
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] M40TURBO:
Hi..

I just got my TP2 this week. I'm new to HTC but been running manila 2d on my omnia. A real nube to all this mobile "hacking"

So there's not any custom wm 6,5 roms for the TP2 yet, am i right?

Looking forward too the custom once. It realy helped on the omnia.

Just let me know if i'm asking dumb questions or asking inn the wrong place.

Mot been useing this forum to mutch..;)
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] mcspikesky:
OH YES

Its gotta be 6.5!

Im hoping for a english lite ROM, bloatware out and the pro stuff in!
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] martinitime:
Only 6.5

If you can load the same apps you have on your Topaz ROM would be great. You've done a great job with the Topaz. Looking forward to seeing your work on this device.

Happy to help olinex with the SPL when they are ready.

Cheers :)
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] l3v5y:
Hopefully, I'll be able to use virtually the same kitchen with both devices. That means that if one thing is broken for either device, I can fix it on both, and that as new builds roll out I can update both device ROMs at the same time... :)
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] bowow:
hi does anyone could upload or send me the original shellres.192.dll file from \windows of our new rhodium...i had some issues with it
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] comingloud:
my man :D german rom whould be so nice
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] l3v5y:
If anyone here happens to know the whereabouts of a stock Rhodium 6.5 ROM (I'm sure it'll be a test ROM ATM, but there should be one) or a 6.5 nk.exe, or a 6.5 XIP and OEMDrivers, I would be very happy ;)

Otherwise, I'm going to have to recmod every file in my kitchen!
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] samery:
yes I sure am interested, appreciate if you can install the various fixes and updates (bluetooth, FM radio, GPS enhacements) then add in some apps (s2u2 for starters and some battery stuff as well)
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] crazy talk:
like the 1% battery driver.
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] -adrian-:
a german rom would be awesome ;) actually it would be my first not-stock rom on a Vario.. and i got all previous ...

as long as the warrenty is no problem .. i'll give it a try
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] Yuuvi:
Would be awesome if you could make that!

Would be even better if you could make it easier to install RTL languages on that release =D

Eagrly waiting.. 6.1 is a mess..
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] dnizzz:
Hey l3v5y remember me, you made a costum Topaz ROM for me.. A Dutch one.. Can you cook me a Rhodium aswell..

PM me if u got the time :D thx in advance
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] mcspikesky:
Do it! I want flash
[Touch Pro2, Tilt 2 Windows Mobile ROM Development] biscuits1978:
How about a naked and speedy 6.5 ROM? Then, after TF3D 2.5/2.6 bugs are worked out, loaded ROMs with those incorporated?
[Touch Diamond, MDA Compact IV Themes and Apps] Nettwerk:
Hi all. I'm new.looking for some app. Diamond 2 keyboard without arrows (english), Diamond2 HTC album . So can someone upload theses files cab's?

I have original stock ROM.

here is all in one pack: http://forum.ppcgeeks.com/showpost.php?p=930007&postcount=581

can i install this?or doesn't matter cdma or gsm?
[Touch Diamond, MDA Compact IV Themes and Apps] earni:
there are loads, try searching. i wouldnt imagine HTC album is a good idea on stock rom though as it takes up 20MB phone storage space.
[Touch Diamond, MDA Compact IV Themes and Apps] rumbles:
here is the diamond 2 keyboard thread.

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

this keyboard is from the released Rhodium ROM
[Touch Diamond, MDA Compact IV Themes and Apps] Nettwerk:
What is different bitween OEM and Cab packages in this thread?
[Touch Diamond, MDA Compact IV Themes and Apps] nec85:
never ever install other keyboards, i have installed one and i counldn't uninstall, i miss my orginal keyboard so much other keyboards ruins every thing !!! like this (http://xdaforums.com/showthread.php?t=525264) only finger keyboard works fine but it's buttons' are small so hard to touch with fingers. that's my advice. take care...
[Touch Pro, Fuze Themes and Apps] gula187:
Does anybody have the black and blue skin to this dialer in a zip or cab.? i searched and searched with no luck
[Touch Pro, Fuze Themes and Apps] mwcostello:
Look Here

http://forum.ppcgeeks.com/showpost.php?p=958524&postcount=1
[XPERIA X1 ROM Development] reybrujo92:
Hi to all, im tryaing to make my ROM, and learning, and im with the kitchen :

ervius Visual bepe`s kitchen Version 1.1

The problem is that im making a rom with Win 6.5, and when it loads and says to align and start installing somethings it says me this error :

Run XML :

\WINDOWS\mxipupdate_oemoperators_100.provxml failed

CODE: 0X6

And i dont know how to fix it

Sorry for my bad english
[XPERIA X1 ROM Development] the_tk:
look if you don't have deleted this file.
[XPERIA X1 ROM Development] reybrujo92:
Where is it, to look for it??? I think is that, could anybody upload it?
[Touch Diamond2, Pure Themes and Apps] loadstone007:
Two questions:

1. Looking for a IM program for the Diamond2, like IM+ all-in-one messenger or Fring... but one that's free, and is finger friendly. Also, fring doesn't work on the Diamond2, so that's a problem too.

2. Is there a way to use emoticons in SMS? They appear as textual letters now, and not as a graphic... this works well in most phones.

Thanks for the helpers
[Touch Diamond2, Pure Themes and Apps] kostos:
fring(tm) works without any error on my TD2...
[Touch Diamond2, Pure Themes and Apps] Jim Coleman:
I prefer Palringo myself.
[Touch Diamond2, Pure Themes and Apps] eatmyshorts:
I use Pigeon. http://getbest.ru/
[Touch Diamond2, Pure Themes and Apps] loadstone007:
Really? I had many problems on my device... so weird... can you give me a link to the exact file you used? I can install it, but the registration screen is cut off so I can't register and login... please help

I'm using Palringo, but it saves your credentials on their servers, as well as message history. Privacy is not their strong side...
[General Questions and Answers] sompie2:
Hello

I have a question i want to sync my home agenda and my work agenda synced with my pocket pc but at work i don't want my home appointments and at work not my home appointments is there a way so i can devide them like when i want to insert an appointment into my pocket pc i can say it's for work and then later when i sync with my work pc it sync this appointment. I've searched a lot but can't find a solution (it's hard to search for this)
[General Questions and Answers] sompie2:
does no one has a solution for this
[General Questions and Answers] XClemX:
The only way i could think to make life easier is to have work appointments priority differently, different colour in outlook and home different too????
[General Questions and Answers] Just about right:
It will require administrator rights on your work computer, but if you use Pocketmirror by chapura you can set up each computer with a folder like instance. For home the folder will be called home and that is all you sync and for work, the same thing, call it work. Play around with it and you will see that is flexible, and although not exactly as you want, it can work for you.
[General Questions and Answers] sompie2:
thank you i'll try this
[General Questions and Answers] sompie2:
does anyone have a better solution
[General Questions and Answers] -Jonny-:
Assign to each appointment a category of 'home' and/or 'work'.

Then define your view in outlook to filter certain category (so at work, only see category 'work').

Of course, all items will be synced, but you will only see the ones that you want. Your PPC is also able to view by category if you wish.

I know it's only part solution, but this is the way I do it for now. Sadly the PPC can't hold two diaries (unlike my old Psion Revo!).
[General Questions and Answers] sompie2:
it's a good solution but not for me because my work agenda is a shared one so everybody at work can see my home appoitements and they don't need to know what i do when i am not at work
[G1 Android Development] Darkstrumn:
Hi All,

Here is my first contribution to the community, hope it is useful!

I've rezzed up a construct to produce a new /data on sd. It makes use of a second partition formatted ext2 or ext3 mounted to /system/sd with /system/sd/data then mounted over /data.

I've included a lengthy readme file which should explain things in greater detail.

Read the readme first to get a list of dirs & files this construct adds to the /data, then copy the files as explained and off you go!

currently my /data "volume" is 2GB and all is lovely!:D

Things to note:

I'm rom JF1.51 ADP1 CRB43, the sdcard is 8gb class6

The sd /data contains several scripts of my own design which if not needed can be deleted. I include my modified bootdeb.sh script as it mounts to /data/local/mnt/debian vs /data/local/mnt (that is a script I modified for my own needs which you may find useful)

Feel free to adjust any of the scripts according to your needs. Just note that if I update the construct, that your changes may be undone if you use it, so back them up in that scenario.

Also, I include my mount.ak.sh script which make use of a loopfs to accomplish the roughly the same thing, but in a single partition environment (intended as proof of concept:)).

**There is NO booting into recovery and wiping of the phone for this mod!**

Thanks to JesusFreak for the roms and saurik for the Debian info!

Cheers!
[G1 Android Development] alritewhadeva:
Wow! Nice, Going to try it out. Thanks :)
[G1 Android Development] xnycen:
is that mean after running data2sd the phone's completely running on sd? and so much faster?