one click batch install of apks? - G1 Apps and Games

I have 400+ apks to install please help me.

JESUS CHRIST
I would love to see that list
AppManager(paid) will help you, I believe.

Copy all apks to one folder on your sdcard (for example folder name: mommy)
Open up terminal emulator and run:
cd /sdcard/mommy
busybox install *.apk /data/app
By the way, you have too many apps

How the... I have maybe 20 apps and I don't use half of them. Lol.

T3hFurious1 said:
How the... I have maybe 20 apps and I don't use half of them. Lol.
Click to expand...
Click to collapse
apk.restore-v1.3, see similar thread like 3 threads up.

Related

Root access with Astro?

Is there anyway to start Astro as root so you can use it to edit system directories?
I had wished for the same thing.. but i didnt tell nobody.. soo maybe this will be more effective. prevents having to type in the terminal all the time.. not that its bad.. ive learned so much allready since ive had this phone...
I totally agree! That would be perfect! Maybe there a way of editing the code or smth...
If you can't work *MORE EFFICIENTLY* directly from the terminal, then you definitely should NOT have root access via GUI.
lbcoder said:
If you can't work *MORE EFFICIENTLY* directly from the terminal, then you definitely should NOT have root access via GUI.
Click to expand...
Click to collapse
Pretty much this. It seems like most of the people having problems on this website just want root because it's "kewl" but really have no idea what it is or even have a clue on how Linux works.
I actually Emailed the Dev of Astro about this same question and here was his reply.
Here is the email copied and pasted from gmail.
My question
Are you able to make a version that requests root access to delete chmod rename move etc for the 100,000+ users from xda and other boards with root access?
His Reply
On Jan 21, 2009 10:57 AM, "Kevin Payne" <metago.inc[at]gmail> wrote:
This is a bit outside ASTRO's scope at the moment. Technically, ASTRO should work fine on files owned by root if it were run as a root process, but running applications as root is not advised in general. Someone really needs to create a sudo type command to let an individual application run as root.
lbcoder said:
If you can't work *MORE EFFICIENTLY* directly from the terminal, then you definitely should NOT have root access via GUI.
Click to expand...
Click to collapse
d00m said:
Pretty much this. It seems like most of the people having problems on this website just want root because it's "kewl" but really have no idea what it is or even have a clue on how Linux works.
Click to expand...
Click to collapse
Considering the fact that I'm a Systems Administrator as my profession and work with hundreds of Linux/Unix/Windows servers a day, the whole reason why I bought the G1 was for development and tinkering, the fact that my home PC is running Vista x64 (i haven't gotten around to creating a VM or messing with the drivers), and that I do wipes frequently to test different configurations, I'm pretty sure I'll be ok with root access. I'm just tired of manually doing something on that tiny keyboard that can easily be done with a nice pretty GUI. I stare at consoles all day and thousands of lines of black and white text, when I come home I don't exactly want to be anywhere near a terminal.
Also, why bother doing anything on a phone, other than using it as a phone (or for email, texting, etc.), if you don't do it because it's "kewl". I mess with my phone because it's cool to have a mini-*nix based computer with several fun radios on it. If I do something stupid like type "rm -Rf /*" after logging in as root (never going to happen) then that's my own fault.
I don't care if you're a Unix purist and you write up your office reports, spreadsheets, and diagrams in vi. Good for you, you're wasting time that can be better spent on other things because of your stubborn prejudice against GUI's. I asked a question, because I have a reason for that question. If you don't have any answers to that question, then please don't bother replying.
diabolical28 said:
I actually Emailed the Dev of Astro about this same question and here was his reply.
Here is the email copied and pasted from gmail.
My question
Are you able to make a version that requests root access to delete chmod rename move etc for the 100,000+ users from xda and other boards with root access?
His Reply
On Jan 21, 2009 10:57 AM, "Kevin Payne" <metago.inc[at]gmail> wrote:
This is a bit outside ASTRO's scope at the moment. Technically, ASTRO should work fine on files owned by root if it were run as a root process, but running applications as root is not advised in general. Someone really needs to create a sudo type command to let an individual application run as root.
Click to expand...
Click to collapse
I looked into the commands to launch an application from the CLI and found that Astro can be started using the following command:
am start -n com.metago.astro/.FileManagerActivity
However, this doesn't do us any good, since the dalvik VM will take that command and create a process as a sandbox user regardless of what user executes that command. There looks like there's a way to tell the VM to fork the process as a specific uid and gid, but that requires editing the AndroidManifest.xml.
I'm not too good with Java, and I don't know how strict Android's API is, so I don't know if running an apk application as root is even possible.
However, I do know that running commands from inside an application, like su, is possible.
~TM
"Wise men speak because they have something to say; Fools because they have to say something." ~Plato
Solved--Astro with root...(workaround)
kinda late, but in case anyone wants to know this is what I did.
This way technically doesnt allow astro to run with root, but its just as good.
I originally did this a few months back for my G1, and just mod it a little to work on my nexus
- created a script to mount system as rw
- created a script that gives r/w permission to all app directories (/data, /data/app, /data/app-private, /system, /system/app, /system/sd, ...) and all apps inside those directories
-then merged the 2 scripts and named it astro_root_perm
-installed GScript from the market
-created another script that
-first changes all permissions on apps back to what they started as(644, 640...)​-then changes permissions of directories back to what they were​-and finally remounts system back to ro, and named this script to astro_basic_perm​
-used Gscript to create shortcuts of the 2 scripts to my home screen.
-then with bettercut, I changed the scripts' icons to the astro icon. I just colored the astro stock icons "A" green for one script and red for the other
So anytime I want to use astro as root, I just click the shortcut I made with gscript off my home screen, open astro,
Then when Im done with astro, I just run the other script
I know its not the same as running astro AS root, but it works for me.
Im not really a linux guy......I'd really appreciate if someone could help me with this next step
++++++++++++++++++++++++++++++++++++
Does anyone know what I need to include in a script to have it call/open a program automatic?
My ultimate goal is to create one script that will
Mount system rw
Change needed permissions to rw
Automatically open up Astro
Then change all permissions back when astro is terminated
Possibly create a keyboard shortcut for the G1
What do ya think?? is it possible??
Estrongs has limited root file browsing on some ROMs and SU File Manager or Root File Manager will let you browse as root for a small price.
+1 recommendation on Estrongs File Explorer's root option if you want it for free, includes Windows shares browsing over lan.
Otherwise try SUFBS, also has built-in terminal.
Sent from my HTC Hero using Tapatalk
louieG1 said:
My ultimate goal is to create one script that will
Mount system rw
Change needed permissions to rw
Automatically open up Astro
Then change all permissions back when astro is terminated
Possibly create a keyboard shortcut for the G1
What do ya think?? is it possible??
Click to expand...
Click to collapse
I'm not sure exactly how gscript handles things, but with a normal bash (shell) script, the lines are run sequentially. That is, the next line isn't run until the previous line is done. It would seem that you could put all that in one script, and the still-running script wouldn't change the permissions back until astro has ended. But then again, java adds complexity to it and I'm not sure if it works the same.
louieG1 said:
kinda late, but in case anyone wants to know this is what I did.
++++++++++++++++++++++++++++++++++++
Does anyone know what I need to include in a script to have it call/open a program automatic?
My ultimate goal is to create one script that will
Mount system rw
Change needed permissions to rw
Automatically open up Astro
Then change all permissions back when astro is terminated
Possibly create a keyboard shortcut for the G1
What do ya think?? is it possible??
Click to expand...
Click to collapse
Love this idea! Unfortunatly I'm no coder but would love to see something like this created.
I created a "GodMode" script that does exactly this, email me if you want it, I can edit it to work for the G1.
Totally forgot I started this thread, then happened to find it on Google when looking for the same thing, again.
Went back to Windows Mobile for a little bit, missed Android, and now have a Samsung Vibrant.
Still want a way to use ASTRO with root priviledges, especially since I don't have a tactile keyboard anymore.
phaelox said:
+1 recommendation on Estrongs File Explorer's root option if you want it for free, includes Windows shares browsing over lan.
Otherwise try SUFBS, also has built-in terminal.
Sent from my HTC Hero using Tapatalk
Click to expand...
Click to collapse
Thank you.
Estrongs File Explorer enabled me to flash Tamil font in my Rooted T-Mobile G2X mobile phone.
I know i am not answering the question directly. But, i use Linda Manager it gets the job done.
---------- Post added at 08:17 PM ---------- Previous post was at 08:14 PM ----------
raddy said:
Thank you.
Estrongs File Explorer enabled me to flash Tamil font in my Rooted T-Mobile G2X mobile phone.
Click to expand...
Click to collapse
Hi raddy,
I'm also from TN as well, i would love to get the Tamil fonts. Can you please guide me?
Not having tamil fonts on the browser is simply annoying
Hi
If your mobile is rooted, then follow this link.
http://forum.xda-developers.com/showthread.php?t=798380
Sent from my LG-P999 using XDA App
raddy said:
Hi
If your mobile is rooted, then follow this link.
http://forum.xda-developers.com/showthread.php?t=798380
Sent from my LG-P999 using XDA App
Click to expand...
Click to collapse
Cool, i got the tamil fonts on my G1, thanks for the help.

[APP] Gallery 3D - Terminal Install

I tried searching for this type of install and couldn't find it. After re-flashing cyanogen 5.0.7 stable, I lost my 3d gallery again. I'm at work right now and don't have access to ADB so I had to figure out how to install this on-the-go, without having double galleries. These instructions can be used in terminal emulator without a system reboot. Make sure to download the attached gallery.apk and place it on the root of your sd card.
Code:
1. su (allows root permission)
2. mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system (make the system folder writeable)
3. rm /system/app/Gallery.apk (removes system Gallery)
4. cat /sdcard/Gallery.apk > /system/app/Gallery.apk (copies 3D Gallery to system)
5. enjoy
Help!!!
Permisson denied (are you root?)
yes i am... why doesn't it work?
s.aldrete said:
Permisson denied (are you root?)
yes i am... why doesn't it work?
Click to expand...
Click to collapse
before entering the above commands, try first entering "su", then when you see the # symbol enter in the above command.
so it may look like this, not sure if will work but you can try it:
$ su
# mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
# rm /system/app/Gallery.apk
# cat /sdcard/Gallery.apk > /system/app/Gallery.apk
NguyenHuu said:
before entering the above commands, try first entering "su", then when you see the # symbol enter in the above command.
so it may look like this, not sure if will work but you can try it:
$ su
# mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
# rm /system/app/Gallery.apk
# cat /sdcard/Gallery.apk > /system/app/Gallery.apk
Click to expand...
Click to collapse
Thanks for helping. I just added that step in the original post. I forgot all about it...
Can we use something like linda to install this and keep both galleries?
Yes you can have both galleries if you install using Astro or Linda but you'll get 2 identical galleries and thus arousing identification problems.
pziv2 said:
Yes you can have both galleries if you install using Astro or Linda but you'll get 2 identical galleries and thus arousing identification problems.
Click to expand...
Click to collapse
What do you mean by identification problems?
thank you man finally a simple way to push apps without using adb interface (that **** is hard when you have no idea what to do)
FatBoyExtraordinaire said:
What do you mean by identification problems?
Click to expand...
Click to collapse
on your device it will show two "Gallery" icons/apps. You wont be able to tell which is which because the 3D one wasnt modded and renamed. So you dont have for example seperate "Gallery" and "3D Gallery" labels, you just have two "Gallery" icons. hope that makes sense. if you look around the forums, you can rip out the modded 3D gallery from one of the roms so it can run side by side with the stock gallery and be properly labeled. maybe rip it out of one of cyanogen's old roms when he had them both before he removed the 3d one.
NguyenHuu said:
on your device it will show two "Gallery" icons/apps. You wont be able to tell which is which because the 3D one wasnt modded and renamed. So you dont have for example seperate "Gallery" and "3D Gallery" labels, you just have two "Gallery" icons. hope that makes sense. if you look around the forums, you can rip out the modded 3D gallery from one of the roms so it can run side by side with the stock gallery and be properly labeled. maybe rip it out of one of cyanogen's old roms when he had them both before he removed the 3d one.
Click to expand...
Click to collapse
I understand what you mean now, thanks for the explanation. Quick question though since I'm kind of novice at certain things, when you say rip out the modded one, is it as simple as opening up the zip, finding the app, taking it out, and then using Linda or such to install it beside the original? And do you know which test version it was when Cyan stopped using the 3d gallery? Thanks in advance.
Edit: I took the apk from Superbad, but it still had the same icon, do you know a specific rom that has a modded icon?
Edit #2: Nevermind, I was able to find 2 different icon-ed versions. Now just a matter of deciding which one I like most.
FatBoyExtraordinaire said:
Edit #2: Nevermind, I was able to find 2 different icon-ed versions. Now just a matter of deciding which one I like most.
Click to expand...
Click to collapse
Dude, can you possibly post the rom/s you took the iconed version/s from, or post the apk's on here as im interested in this myself.
Thanks
Trauma
yay! Thanks a lot! Works marvelously. Now if only somebody were to be able to speed it up, all my dreams would be fulfilled.
traumatism said:
Dude, can you possibly post the rom/s you took the iconed version/s from, or post the apk's on here as im interested in this myself.
Thanks
Trauma
Click to expand...
Click to collapse
No problem, I got it from right here: http://forum.cyanogenmod.com/index.php?/topic/145-gallery-3d-working-version/page__p__1398#entry1398
Just grab the gallery3d zip, take the apk out of it, and just use linda or astro to install. That's what I did.
FatBoyExtraordinaire said:
No problem, I got it from right here: http://forum.cyanogenmod.com/index.php?/topic/145-gallery-3d-working-version/page__p__1398#entry1398
Just grab the gallery3d zip, take the apk out of it, and just use linda or astro to install. That's what I did.
Click to expand...
Click to collapse
nice one dude thanks for that.
makes things easier if lots of images are in a folder
traumatism said:
nice one dude thanks for that.
makes things easier if lots of images are in a folder
Click to expand...
Click to collapse
Not a problem, glad I could help. I actually find the 3d gallery to be faster than the legacy one for me. I have 1200 images on my phone ( I pretty much site ripped G1-Walls and put it on my SD ) and after the initial boot when it creates its thumbs and other cache files, it flies for me. Plus it looks so damn good!
NP
...glad I could contribute to the android movement. F*** iPhone!
SG_Shadow said:
...glad I could contribute to the android movement. F*** iPhone!
Click to expand...
Click to collapse
Hell yeah!!

[HELP] how to uninstall default apps

Hello out there,
my first post will be a request.
Just bought root explorer, finally market is working good.
I would like to uninstall default noisy-memeater-neverused-apps (peep and fingerprint are just 2 examples).
Is there a nice way to delete them without leaving installation files scattered in the phone? Some program as well (also payment one)?
Should I just delete the apk file or there is also a directory where the app save something of his own?
It would be really nice if someone with more experience than me can do a list of default .apk files/directory created so everyone out there with a rooted phone and unused default apps that want to get rid of can do this also manually with a root explorer or from adb shell.
Thank you a lot.
Pondo78 said:
Hello out there,
my first post will be a request.
Just bought root explorer, finally market is working good.
I would like to uninstall default noisy-memeater-neverused-apps (peep and fingerprint are just 2 examples).
Is there a nice way to delete them without leaving installation files scattered in the phone? Some program as well (also payment one)?
Should I just delete the apk file or there is also a directory where the app save something of his own?
It would be really nice if someone with more experience than me can do a list of default .apk files/directory created so everyone out there with a rooted phone and unused default apps that want to get rid of can do this also manually with a root explorer or from adb shell.
Thank you a lot.
Click to expand...
Click to collapse
adb shell ls /system/app/
adb shll rm /system/app/example.apk
Ask yours questions here : http://forum.xda-developers.com/showthread.php?t=716282
haree can you close...
apewall said:
adb shell ls /system/app/
adb shll rm /system/app/example.apk
Click to expand...
Click to collapse
thats easy ape, thank you, and I already know it, but not what I wanted.
I was asking if someone can list defaultappname-apkfile association in that dir.
So I know what to clean without going blind at it.
And if default apps have files in other positions than /system/app so to clean also remaining files for that app.
Thank you.

Finally rooted my Vibant - How to remove stock apps?

I've searched around a bit (maybe not as long as I should've), but I don't see how to remove the stock bloatware apps that come with this phone.
Can someone point me to a guide, or give me a quick run down?
Flapjack said:
I've searched around a bit (maybe not as long as I should've), but I don't see how to remove the stock bloatware apps that come with this phone.
Can someone point me to a guide, or give me a quick run down?
Click to expand...
Click to collapse
Its a pain lol. Theres so many i just gave up lol (fyi they don't take up much space)
This is the code :
Code:
adb shell
su
rm /system/app/<apk name>
pm uninstall <package name>
Just download Titanium Backup form Android Market and you can delete apks easily. HTH.
Daneshm90 said:
Its a pain lol. Theres so many i just gave up lol (fyi they don't take up much space)
This is the code :
Code:
adb shell
su
rm /system/app/<apk name>
pm uninstall <package name>
Click to expand...
Click to collapse
Yeah, it does seem like a PITA.
antz88c said:
Just download Titanium Backup form Android Market and you can delete apks easily. HTH.
Click to expand...
Click to collapse
Maybe I'll try that. Do you have to actually do a backup/restore process before you can remove them? Or can you just remove them from the app itself?
antz88c said:
Just download Titanium Backup form Android Market and you can delete apks easily. HTH.
Click to expand...
Click to collapse
You could do that but then ur left with a /data/data folder for ur app and its name under packages.xml.
The other thing that kills me is that a lot of these apps keep popping up for now reason. I run "Advanced Task Killer" on a frequent basis, but I'll find apps like "Slacker" sitting there, taking up memory.
I know a lot of these apps are set to run on startup.... but why are they just starting up at random times?
I feel like I have so little control over this phone... it actually scares me. I knew everything my WinMo phone was doing at all times.
Daneshm90 said:
You could do that but then ur left with a /data/data folder for ur app and its name under packages.xml.
Click to expand...
Click to collapse
Can these items just be deleted?
I went to Samsung Firmwares and got the UGJG8 firmware and flashed that using Odin and 512.pit. You will get a 100% bone stock i9000m with no bloatware.
Just remember to write down your current APN settings as you will have to readd them.
antz88c said:
Just download Titanium Backup form Android Market and you can delete apks easily. HTH.
Click to expand...
Click to collapse
Call me an idiot, but I can't figure out who to remove apps with this app.
Flapjack said:
Can these items just be deleted?
Click to expand...
Click to collapse
They could but that would be longer, since ud have to go through packages.xml to look for ur app. In simple terms :
Its like uninstall a windows software. Your deleting its c:\program files directory whereas im going to "uninstall software" and following procedure.
BobbyTee said:
I went to Samsung Firmwares and got the UGJG8 firmware and flashed that using Odin and 512.pit. You will get a 100% bone stock i9000m with no bloatware.
Just remember to write down your current APN settings as you will have to readd them.
Click to expand...
Click to collapse
How in the heck do you find that? I've been all over the Samsung site and I can only find are Windows drivers.
**EDIT**
Nevermind, I found it on another site. I think this is what you meant, right?:
http://samsung-firmwares.com/i9000.htm
Also, what is the difference between the I9000DTJG4 and the I9000UGJG8 firmware?
Daneshm90 said:
They could but that would be longer, since ud have to go through packages.xml to look for ur app. In simple terms :
Its like uninstall a windows software. Your deleting its c:\program files directory whereas im going to "uninstall software" and following procedure.
Click to expand...
Click to collapse
Got it.
Now, is that a script I need to write for each app? I haven't even gone so far as to explore the file system, let alone write scripts. Is there a good (recommended) app for putting scripts together? ...or are you just using a notepad type editor in Windows, then copying them over via SD card?
Flapjack said:
Got it.
Now, is that a script I need to write for each app? I haven't even gone so far as to explore the file system, let alone write scripts. Is there a good (recommended) app for putting scripts together? ...or are you just using a notepad type editor in Windows, then copying them over via SD card?
Click to expand...
Click to collapse
Sure u can write a quick .bat script that does this or manually enter them in command-prompt up 2 u. Btw, what exactly is ur issue with the bloat-software ? is it the space its taking up ? or being shown in app drawer ? Cuz if ur using launcher-pro u can hide those apps from the drawer. Honestly they don't take up tht much space.
Daneshm90 said:
Sure u can write a quick .bat script that does this or manually enter them in command-prompt up 2 u. Btw, what exactly is ur issue with the bloat-software ? is it the space its taking up ? or being shown in app drawer ? Cuz if ur using launcher-pro u can hide those apps from the drawer. Honestly they don't take up tht much space.
Click to expand...
Click to collapse
Well, the biggest thing is that they're actually running without me opening them (eg: Slacker). That is really starting to piss me off. Secondly, they are very clutter-some. I don't have Launcher Pro, though I've heard good things about it. Is this something I get from the Marketplace? It runs instead of the Samsung interface, right?
**EDIT**
Just found "LauncherPro" on the Market. Looks good, but many are complaining the latest version is laggy/buggy and has obnoxious ad placement.
Does anyone have the next most recent version?
Flapjack said:
Well, the biggest thing is that they're actually running without me opening them (eg: Slacker). That is really starting to piss me off. Secondly, they are very clutter-some. I don't have Launcher Pro, though I've heard good things about it. Is this something I get from the Marketplace? It runs instead of the Samsung interface, right?
Click to expand...
Click to collapse
Nope its independent of proprietary frameworks, i.e it runs on stock.
Daneshm90 said:
Nope its independent of proprietary frameworks, i.e it runs on stock.
Click to expand...
Click to collapse
So would this be ok to install right now, or wait until I possibly flash the bone-stock firmware (which ironically would eliminate the included apps)?
Flapjack said:
So would this be ok to install right now, or wait until I possibly flash the bone-stock firmware (which ironically would eliminate the included apps)?
Click to expand...
Click to collapse
Nope it'll run on ANY proprietary/nonproprietary android firmware which is 2.0+
I just use root explorer and delete apk+odex from system/app
fua said:
I just use root explorer and delete apk+odex from system/app
Click to expand...
Click to collapse
Can you go into a little more detail? What is odex?
Its fairly easy, actually.. No apps or code needed. Go to:
Settings -> Applications -> Manage Applications
Press the menu button, and press Filter. Then change the selection to "All"

camera zoom fx, where is apk?

goings nuts. dug google for an hour, run search with root explorer, dug around on xda, turned phone upside down - but no luck. its not in data/app, system/app, cache/download, sdcard/download, to name some. its silly that single apk could be buried god knows where on android.
really run out of ideas where to search. any suggestions? thanks.
Probably in /sdcard/.android_secure then.
Check if it's installed on the sdcard in the program manager. If it is you can move it back to phone storage, which *will* be in /data/app.
TrymHansen said:
Probably in /sdcard/.android_secure then.
Check if it's installed on the sdcard in the program manager. If it is you can move it back to phone storage, which *will* be in /data/app.
Click to expand...
Click to collapse
nice suggestions - thanks trym!
but no. it's not in .android_secure and it's not installled on sd. should be in data/app but no.
Are you sure you're looking for the right name? Remember, the filenames in /data/app need not even resemble the name of the app.
However, should be easy to find anyway.
Uninstall the app.
List the contents of data/app
Install it
List contents again and find the extra filename.
TrymHansen said:
Are you sure you're looking for the right name? Remember, the filenames in /data/app need not even resemble the name of the app.
However, should be easy to find anyway.
Uninstall the app.
List the contents of data/app
Install it
List contents again and find the extra filename.
Click to expand...
Click to collapse
sure, i'm not quite certain what string to look for aside of obvious "zoom" or similar. however, when listing /app directories, the root browser displays the app icons so it's not hard to identify what's what but i just cannot locate it anyway. but thanks for effort!
Turns out I'd actually bought this app, sorry for not remembering. Installed it, mine is named "slide.cameraZoom-1.apk"
TrymHansen said:
Turns out I'd actually bought this app, sorry for not remembering. Installed it, mine is named "slide.cameraZoom-1.apk"
Click to expand...
Click to collapse
He's right. Check for the above file name. In /data/app over here.
rugglez said:
He's right. Check for the above file name. In /data/app over here.
Click to expand...
Click to collapse
i also bought it, but it wasn't in data/app.
anyway, status report: after last update from play store day ago it appeared in data/app under upper mentioned name. copied apk finally. where it was before the update remains a mystery.
Dont know whether its a nice suggestion or not
But if u r a root user dn u can download root app delete from market and in that just click on the app it will show u the destination of the apk.
:thumbup:
Sent from my LG-P990 using xda app-developers app

Categories

Resources