yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] Akram-aat:
Hello

I have searched a lot about good stable Rom and contains FM Radio and Market and more importantly, it supports Arabic and i would it the must newer or latest rom to My htc nexus one, but so far I can not find that Rom and I want it Froyo (I mean like desire Rom , not like original Rom ) makes no difference whether or not cooked or Stoke

any 1 can help me PPPPPPPlZZZZZZ:confused::confused::(:(

im relly tired from searshin

i want it contains sense

can add an image about rom plz
[General Topics] Arsaces:
Hey guys, I know this thread is probably better suited for the development thread, but I am not allowed to post there, so here goes:

I am working on improving the notepad app that is created through the notepad tutorial provided for android development, and at the moment I am trying to make a preferences page that allows me to enter a number, hit confirm, and the app will use that number to change the font. My approach so far has been to pass a startActivityForResult call, which returns a number, then in my onActivityResult I check for that number which should be returned. I then capture the result code, which should not be an integer, it has been parsed in the methods that were called. All that seems to be running fine, but when I try to use TextView to setTextSize my application is force closing, I have tried a few different ways of implementing this setTextSize method, including not using the variable that I am getting back (resultCode) at all, and instead just plugging in a preset number, but the application is still bombing as soon as I try to call setTextSize in any way. I wanted to see if there is anything special about the setTextSize that I may be missing, or if there is a better way of setting font size at run-time.

Thanks,

Nate
[General Topics] JTownBrewer:
Does this help at all?
[General Topics] Arsaces:
I did find that post through my searching, and even calling the setTextSize using pixels it still bombs out, here is my code for making the text larger:

fontSize = resultCode;

TextView tv;

tv = (TextView)findViewById(R.id.text1);

tv.setTextSize(TypedValue.COMPLEX_UNIT_PX, fontSize);

I do not know if this matters or not, but the view that is being used is notes_row which is referenced by id text1, more importantly, notes_row is used to display the rows on the notes_list view.

Thanks for the help, I am new to android programming, and this is something I have had trouble with for the past 2 days.
[General Topics] JTownBrewer:
OK well what does the stack trace look like? what errors are you getting? and i know you said you plugged in an actual number in place of the variable (just for testing), but how did you plug that number in? did you just use the number or did you use the Float or Integer object or what?
[General Topics] Arsaces:
Unfortunately, I do not know what a stack trace is, if you could elaborate I would be very grateful.

When I plugged the number in directly I did it both by creating a variable of type float and assigning it a value, and using that variable in the method call, as well as just putting a number directly into the method call.
[General Topics] Arsaces:
Bump. Can't figure out why a simple textview.settextsize would cause a force quit.
[General Topics] Arsaces:
Sitrep: I figured out the problem with my code, but in the process caused another problem. Here is the deal, I was instantiating TextView with a view object, rather than a context, after switching the line that said TextView tv = new TextView( (TextView) findViewById(R.id.text1))) to TextView tv = new TextView(this). The problem with that is, I am trying to edit data that is in a pre-existing textview, declared in one of my xmls, and therefore creating a new one does not seem like the right way to be going, or maybe I just do not understand the way to do it.

Does anyone know a way for me to access my pre-existing TextView (created in my xml file) at run-time, or even a way to apply settings that I change on my new TextView to my pre-existing one. Is this possible or do I need to be looking for a different solution (someone suggested that I create a separate view for each text size that I want to create, and then once a user selects the text they want using a menu, just call the appropriate view) I would prefer to use a more elegant solution if possible.

Thanks for all the help so far,

Nate
[General Topics] Arsaces:
Doing more reading, I see that I do in fact need to make my TextView = the one that is currently defined with the program, the problem with this is that when I put breakpoints right after where I declare this statement: TextView tv = (TextView) findViewById(R.id.text1); Under variables tv shows as a null, and I believe that is the reason that I getting the crash, I think the program is seeing null.setText...... instead of view.set....
[General Topics] Arsaces:
To the top
[EVO 4G Q&A, Help & Troubleshooting] eejayyeahuuh:
I've had mikfroyo installed for about a week with the mattedblue theme occasionally I get a little lag from my EVO, especially when I'm downloading.

Currently I have a netarchy kernel installed and I just flashed the Dalvik2Cache.zip on my phone.

I was also reading on mik's thread that flashing Apps2SD on the sdcard that comes with the phone will cause lag?

Has anyone tried Apps2SD with the sdcard that comes standard with the EVO?

Edit: now that I've flashed Dalvik2Cache the market app won't download apps. Any help would be greatly appreciated.
[G1 General] curiousandroid:
########## IMPORTANT UPDATE ##########

There is an APP available that makes this much simpler

* No Console Commands Needed

* You still MUST HAVE ROOT

* It must be installed on internal memory to work correctly

* Be sure you know what a system app does before you remove it.

* If you remove a vital app you could mess up your system completely.

The APP is Called: "System APP Remover"

Here's a Link to Download it: http://www.megaupload.com/?d=ZFC2C1R7

Mirror Download Link: http://www.mediafire.com/?h3n3ftbwilshcvn

######################################

Here are the console commands for installing/removing system apps in android console emulator, very easy ; )

You must have ROOT and console emulator, I found this very helpful, so I hope it helps others as well...

_____________________________________________________________________________________

Install App to System:

Place APK file in the root folder on your sd card.

Open terminal and enter these commands:

# su

# mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system

# cat /sdcard/filename.apk > /system/app/filename.apk

# mount -o remount,ro -t yaffs2 /dev/block/mtdblock3 /system

# reboot

_____________________________________________________________________________________

Remove App from System (Be careful what you remove):

# mount -o remount,rw /system

# rm /system/app/Filename.apk

[Optional, to make read-only again]

# mount -o remount,r /system

[When Finished]

# reboot

_____________________________________________________________________________________

****KEY****

"#" means root command will follow

[Notes are in these brackets and aren't commands]

- ENJOY

ALSO...

**** I'm new to Android APP creation, but if anyone can automate this script to make a simple One-Click GUI APP that would be awesome, all I ask is that you put my name in the co-dev/"Thanks to" list for the app, just so I can say I helped ;-) ****

- CuriousAndroid
[G1 General] sinfony78:
I am trying to reinstall some files I uninstalled. I went to the following link on this site and found some apps that people said could be removed - http://xdaforums.com/showthread.php?t=773142

however, my Act1 video player now quits whenever I receive an incoming text, so I need to reinstall some programs and see which one is causing the problem

I downloaded an app called Android Terminal Emulator by Jack Palevich. I tried a "reboot" command (without the #) but it said reboot operation not permitted. Is this the Emulator I need to reinstall files? Am I doing something wrong?

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

EDITED:

ok nevermind, i realized the "su" command gives superuser access needed for the reboot....going to try to install files now
[G1 General] curiousandroid:
yeah, to use any root commands "su" must be used first otherwise the shell will think your just some generic user with limited privileges and nothing will work.

It's very important to identify any apps you plan on removing before you attempt it to make sure it isn't needed by another process.

You got lucky, some apps once removed can cause the whole rom to fail, so be careful!

- CuriousAndroid
[G1 General] sinfony78:
well i think i messed something up...is there a way to recover back to stock after using the sdx stock app remover? i removed the video player but tried reinstalling it...when i uninstalled it from sdx, i noticed my other video player (Act1) would quit whenever i'd get an incoming text

i have all the .apks backed up, but after attempting to reinstall the stock video player, it hangs in MyFiles...then i reset back to factory (no Act1), and it can't play my videos, i get the error "No applications can perform this action"

Is there a way to recovery back to stock with all applications installed and in tact? i have all the .apks, but this video player won't work, after following your instructions above

thanks
[G1 General] curiousandroid:
It will work. Check the following:

* All shell commands are CASE-sensitive, so if the app is called Vending.apk you can't type vending.apk

* for the command to work you must have the apk on the root of your SDcard, not in sub-directories.

* if you have a copy of the rom you installed you can unzip it on your PC and find the system app folder, which you can use to cross-refference with the system/app folder on your phone to see if your missing something else.

in terminal you can list system apps like this:

# su

# cd /system/app/

# ls | more

[that will allow you hit space bar to navigate through app list if it's longer than a page,press ESC when done to go back to prompt]

* If all else fails you can backup your settings to your sd card and re-install your rom (as a last resort)

-Good Luck
[G1 General] Nismo299:
When I am doing the first part here of installing app to system I dont just simply do that first I can already have an app ready to go that I want to move to sd card right? I am just making sure I didnt have to do that simply first before I even start moving the apps. This site has be great and thanks for everybody help. Wish I would have known have this site way back when.
[G1 General] eckischeich:
What is "yaffs2" standing for? I type "yaffs" instead of "yaffs2". What has this done to my system? Do I have to expect any "side-effects"?

When I call # ls | more to list the directories content, the apk is listed but it is not installed yet. Is there anything else i have to do?
[G1 General] curiousandroid:
yaffs is nand flash filesystem

yaffs2 is more elaborate updated version

yaff2 has greater support

so if your device isnt supported by yaffs1, it may not work.

it's best to follow the commands as they're written.

apps still appear as apks in system/apps folder after installation.
[G1 General] freak69ize:
Haha thats funny!! I downloaded this app.. put it on my sdcard.. installed it and when i tried to open it it said " Shame on you for trying to pirate a 1.00 app "
[G1 General] csns:
If you have Applanet just go there and look for Systemapp Remover - it's a bit older version but seems to do the job.
[G1 General] rajhan9412:
By mistake my contacts.apk is removed. Above trick also not worked. my phone is LG GT540. Pl suggest any other way.
[G1 General] johnson8cyl:
Grab the contacts.apk from the rom you're running and push it back in. Btw titanium backup removes system/apps without terminal commands while allowing to to make a backup first in case u want. it back or for little hickups such as this.

Sent from transparent xda app by theimpaler747
[G1 General] milkandmusic:
I did everything right, and the apps that I removed disappeared from the app drawer. But, after I reboot my phone, they show up again.

What can I do?
[G1 General] johnson8cyl:
In terminal type

ls system/app

Hit enter and see if said apps are in the list
[G1 General] bofh999:
i got a better method.

app is called app quarantine

it need root and is totally free

it can quaratine every app including rom apps and system apps

really that thing awesome. no manuall backup needed anymore and as long you dont brick the os you can easy try and error - but of course still be carefull and login and activate com.brain.logic.provider lol
[G1 General] findpranav:
Hi there i use root explorer and that is the easiest way i think to remove system apps on android phones [root required] you can download root explorer from the market or get it from 4shared just search for root explorer.apk install it and navigate to /system/apps/ and the app you wish to delete long press the app and delete make sure you mount as read/write instead of read only.

Hope this helps 

@0mpranav
[G1 General] bofh999:
actually its not and actually you didnt read my post :)

i advertise this little peace of freeware because it really made my day (im not related in anyway to the developer)

the quarantine removes it but store it automatically in another directory

just multiselect and press one button DONE

no need to single delete something because you always should backup first

for example turns out on samsungs device EMAIl application is also related to exchange sync - huh i was happy to restore it :)

really take a look -

btw i hate the root explorer - for some taksts might be usefull but fileexpert is way better in that and its free as the quaratine app is too
[G1 General] findpranav:
You were right mate got problems in upgrading my nexus one coz i deleted the .odex system apps directly without any backup but upgraded to 2.3.6 with some trial and error method but lost root access any help would be appriciated 

@0mpranav
[G1 General] iscyi:
Installing system app

Hi, i have the same problem. I tried Root Explorer, and the Shell Commands method (with Cat command), the files i copy are in there, with all the permissions and everything, but when i reboot, none of them are installed, and my "contacts" app is still broken. Can anyone help please?
[G1 General] iscyi:
Nevermind, found the problem. I needed the exact files for my Atrix 4G with the same android version.
[G1 General] trapzz:
what system apps are safe to remove from your phone?
[G1 General] alexrafi:
Hi

Thanks for applications.

I tried to install Radio.apk on my cm7 ROM without any success ...:-(

Please help.

Thanks
[G1 General] demkantor:
http://wiki.cyanogenmod.com/wiki/Barebones

here's a link that might help you decide what to get rid of.

but i would recommend doing a nandroid or bart backup first

also try using titanium backup to freeze an app first and see if it has negative side effects on your phone.

i made the mistake of uninstalling google talk when i first got into android, ouch! gtalk does more than you think for your phone!

remember if all else fails and you get rid of something important, just flash a new rom or new gapps and all is well:o

good luck!
[G1 General] kswaibk:
ES file explore is free on the market and did the job very well for me, well atleast for placing files in system folder, however the radio is still not working on my Cyanogen7 LG optimus 2X whose radio link disappeared after upgrade.
[G1 General] andrea1984:
Thanks, work with Samsung Galaxy S Plus (I9001) too
[G1 General] markhoz_D10S:
really nice, just what I was looking for since I just installed ICS on my captivate for the first time and needed to install astro file manager to get me going with everything else

****ing 5 stars post, thx a lot!
[G1 General] nganipcuy:
Thx Bro! it's so usefull

I just delete my mms.apk

and I replace it with modifed app from other ROM

anyway

THANK YOU VERY MUCHOS!
[G1 General] aperales5455@yahoo.com:
need help on rooting G1..JUST FOR FUN

HI..need help on rooting G1...just for fun.Tried almost everything on youtube and other sites. cupcakes,and donuts and nothing seems to work. keeps aborting. Can't get back to 1.6 I'am stuck on 1.0 . It's 2012 and there are better things to do but, thought I do it for FUN. Can someone help please..

Thank You HAVE A NICE DAY:
[G1 General] loismustdie555:
link is dead, any1 have a mirror?
[G1 General] akashakkiy:
i m trying to install semcmusic.apk which is walkman music player

but this method is not working terminal is say that cannot create /system------------

n also sayin read only file

i tried to change permission through root explorer but still showin the same

plz help me
[G1 General] Tostis:
I've succesfully copied the apk in system folder but i can't call an intent of this application. Is something more needed to install an application? I must modify packages.xml?
[G1 General] EuUa:
Like the set of messages above my post begins with - "I've deleted my Usb.apk by mistake ":laugh: I've taken that apk file from my friend with the same system and done everything said above. No errors and no effect. I fill that above tip "Grab the contacts.apk from the rom you're running and push it back in." would be usefull but I don't get what "Grab the contacts.apk from the rom you're running...." mean. Could somebody explain if I can "grab" Usb.apk from my ROM or not?
[G1 General] demkantor:
Download ROM and extract it from the .zip find the .apk you deleted and push it with adb or use a file explorer or terminal emulator to install. Here

http://wiki.cyanogenmod.org/w/Barebones

This may help a bit
[G1 General] zaryab360:
Samsung Galaxy Ace 2 GT-I8160 49 System Apps

Voice talk

Gravador de voz

Video Player

Samsung Galaxy launcher

Swype

Stockage tlphone

Task

SIM Toolkit

Samsung Push Service

AND 40 OTHERS SYSTEM APPS

IF I HELPED YOU PLEASE HIT THANKS:good:

DOWNLOAD SYSTEM APPS ZIP:):):)
[G1 General] praderj:
problem

I,m new to xda.. I need help friends.. Unknowingly i removed google services framework.. i tried to reinstall it now its showing some error and its not getting installed.. whenever i click it it is showing thaa application not installed.. Without services none of the google apps works... Help me friends..
[G1 General] Hakim Rahman:
Do it via ADB, or you can remove and reinstall again with use Root Explore " device must be rooted "
[G1 General] praderj:
done everything..

I looked all over xda... done all the methods... roorted... used root explorer... also tried installing it with commands using terminals... nothing worked... but the file is there.. can't able to install... when I installed it using command it showed an error that invallid certificate.. but I downloaded the apk from xda and extracted it from the gapp package.. nothing worked... help me friends...
[G1 General] Hakim Rahman:
simply move the apk file to a folder on the phone memory (eg Data folder) then change his permission (eg = rw, r, r) as the existing apk file in the system folder, then you can move the apk file to the system to be replace apk file preexisting
[G1 General] praderj:
tried everything.

I tried almost all methods i found.. I've already done what you said.. but no use.. So i unrooted my android and gave it for service by claiming warranty.. Thanks for your help @ Hakim Rahman
[G1 General] AndDiSa:
Good luck, but after more than four years it will be a bit difficult, I guess ...
[G1 General] Speedster_1:
Awesome!

Thanks for that, really helpful, also there is this very neat app that can do almost everything app related given you are rooted (ROM Toolbox Pro)

anyone can check it out, although I'm sure most of you already know it (well worth buying the Pro version)

https://play.google.com/store/apps/...EsImNvbS5qcnVtbXkubGliZXJ0eS50b29sYm94cHJvIl0.

All the best!
[G1 General] pujaastawa:
can I install any system app of a JB stock rom in custom rom 4.2 on my gal ace 2??
[G1 General] demkantor:
You can, but many proprietary apps from OEMS require a lot of framework, often a big job
[G1 General] pujaastawa:
than, it mean I can't just push the app to system/app??

one thing that I love in my srock JB is the clipboard option in message app.. something that I didn't meet on message app of cust ROM 4.2.2..
[G1 General] demkantor:
You can try, just push it and set permissions. If it doesn't work than it may just need libs, check the stock ROM for any libs that are associated and push those to (fix permissions) if it still won't work then you would have a lot of extra work and probably not worth it

Oh, may be nice to make a backup first just in case, but you probably won't have any issues other than some fcs
[G1 General] pujaastawa:
I just tried to push it.. but it doesn't work.. but now I give up for do that...

one more problem, I can't change the ringtones..

but I have fix it using an app in play store..

I love this cm 10.1.. except of the problem..

BTW, thanks a lot bro.. you know, it's difficult to find a master of android in Bali..
[G1 General] demkantor:
Then become one yourself :)

But for future reference, if your phone has its own forum on xda there should be many helpful people there that know the specifics of your device

Happy flashing!
[G1 General] ersolanki:
user app to system app error

Hi,

I have tried all the several steps that you mentioned but there was only one problem, that when i restart my Tab2 application wont work properly and gives error like application stopped working. Yes there are some those r working but fews like mxplayer office suite and google input r some of app those r not working after every restart. i hv p3100 tab 2 and its rooted. I hv googled a lot but no answer found.

Regards

Rajiv
[G1 General] marcolorenzo:
Hey guys, I tried to follow the instructions to install the Background Defocusing app on my rooted Xperia Z1 Compact (http://www.xperiaguide.com/2014/01/...ocus-camera-app-apk-install-rooted-xperia-z1/) but nothing seemed to happen. After pressing enter following each command, it felt like nothing happened. And then after rebooting, I couldn't find the app (which should be inside the default camera app). Can someone give me a hand?
[G1 General] Ragkhuza:
Try re-flashing your rom. Make sure you have back-up.
[G1 General] AndroidDeveloperLB:
Hi,

I have made an app that can uninstall system apps in a similar way, but just like your method, it requires restarting the OS.

I've noticed some apps that can do it without restarting. How do they work?
[G1 General] RizwanTahirKayani:
​

I used terminal emulator and did exactly what it was said here. Then i reset my phone from the settings to see if it really has worked but now my phone keeps rebooting after showing the logo and then going to the factory resetting logo. I cant acess the recovery mode too. Please help.
[G1 General] Big_Nuts_85:
root app install

root noob here! wasnt sure where to ask my question. if i install a app in to the root of a device and ajust settings then unroot device will the app stay with settings even if device is factory reset?
[G1 General] Tigetxda999:
I tried a lot of system removal apps like Root system app uninstaller and all , nothing worked. Tried piriform's ccleaner with root permission, didn't worked for me. But finally found a maid that can do the job. YES , SD MAID FREE OR PRO , YOU CAN USE ANYONE OF THEM ...WORKS..GIVE IT ROOT PERMISSIONS AND IT UNINSTALLED MOTO CAMERA THAT I FLASHED IN SYSTEM WITH TWRP.

SO THERE U GO...SD MAID IS THE ANSWER;)
[G1 General] AKmatiAK:
Thx for tutorial. When mounting I had to mount /sys instead of /system.
[Gen8, Gen9, Gen10 Q&A, Help & Troubleshooting] k1nk33:
Anyone know if i can install Busybox on my 101? I want to try run ubuntu on it (like on the nook color) and it seems like i need busybox first. I tried running the busybox installer app and the method mentioned in the nook color thread but both failed. Tnx in advance if you respond to this.

:)
[Gen8, Gen9, Gen10 Q&A, Help & Troubleshooting] wdl1908:
Is your device rooted?