Related
I think this better to be posted to Galaxy S I9000 Android Development.
So I posted it once more at here:
http://forum.xda-developers.com/showthread.php?p=7694817#post7694817
Board Admin, please feel free to delete this.
Hi all,
I took so many from here. It's time for me to contribute little to the community.
The lag issue of Galaxy S bother many ppl.
I tried many different method.
Yes the lag issue was improved and Quadrant score is higher.
But there are always some weird things happen... like sudden lag/black screen.
After I upgraded to firmwre I9000ZSJH1, the lag issue is improved a lot!
But still, there are rooms for improvement.
So I wrote a cmd which will help to generate a .sh file, which will move apps data stored under /data/data/ to the internal NAND memory (/dbdata/data) for faster access.
The Galaxy S built in 1xxMB of fast access NAND memory. It is a waste if we don't utilize them.
However, it is impossible to move all apps' data to the tiny NAND memory.
So here is a tool for you to customize what app's data you want to move.
Recommand to move the core Android apps and the apps that you use frequently.
Like Dialer, Contacts, Dolphin Browser, Facebook, Astro File Explorer......
Steps :
1. open [1.app.list.xls] and edit colume A and B.
colume A should be the data folder name of the apps you want to move.
colume B is the name of the apps (optional)
2. after you've done, simply "copy & paste" everything onto a notepad and save it as [2.apps.list.txt]
3. fireup the [3.Apps2NAND.cmd]
4. within few sec, a file [App2NAND.sh] will be created.
5. use Gscript to load and run the App2NAND.sh file. (the script requires root access. so make sure you have it!)
For experienced user :
Step 1 actually is just for user to manage the apps more clearly.
A user with little cmd knowledge may know the script only requires [2.app.list.txt] to work with.
You can skip Step 1 and directly go to Step 2 to edit the file.
The format should be { app data folder name + <tab> + app name }
Remarks :
Apps that moved to NAND may not be restore with Titanium Backup.
App link will be broken by doing so.
(I also include Linpack and Quadrant to the app list to cheat higher benchmark scores . You may remove it if you don't want to.)
Apps2NAND - fast data access - choose what to move! [added support for Froyo]
update 18 Nov 10:
Found some friends here still want to use this "old school" lagfix
1st of all, thanks to your support.
When I wrote this script, it was still the golden age of Eclair (2.1). So the script is definitely not prepared for Froyo (2.2).
However, just by changing few lines can make this script survives on Froyo. So here I updated a script for Froyo (apps2nand.Froyo.zip).
I haven't tested it since I am very satisfied with the [Spike Speedy Edition v3.0 OC], which comes with more advanced lagfix options (sztupy).
(I wrote something that even myself don't use now.... So it's really suprised and appreciated~)
But this script still has it merit ~~~~~~~~~ simple!
(and battery friendly, just a feeling~ no actually statistic~)
If you are interested in antique and brave enough, try it on Froyo. And let me know if any issues. I will try my best to fix.
===================================================
update 18 Aug 10:
Now included Installation and Uninstallation for this script.
Tried several times on my i9000 and it works.
Please read and follow the readme.txt inside the zip.
One tricky part for this script : it will failed when SU permission is not allowed in time during the script is running.
I have pause the script with 10 secs for you to allow the SU on i9000.
Make sure you allowed it.
If you failed to do so, no worry. it won't change anything.
Just simply re-run the script again.
===================================================
Hi all,
I took so many from here. It's time for me to contribute little to the community.
The lag issue of Galaxy S bother many ppl.
I tried many different method.
Yes the lag issue was improved and Quadrant score is higher.
But there are always some weird things happen... like sudden lag/black screen.
After I upgraded to firmwre I9000ZSJH1, the lag issue is improved a lot!
But still, there are rooms for improvement.
So I wrote a cmd which will help to generate a .sh file, which will move apps data stored under /data/data/ to the internal NAND memory (/dbdata/data) for faster access.
The Galaxy S built in 1xxMB of fast access NAND memory. It is a waste if we don't utilize them.
However, it is impossible to move all apps' data to the tiny NAND memory.
So here is a tool for you to customize what app's data you want to move.
Recommand to move the core Android apps and the apps that you use frequently.
Like Dialer, Contacts, Dolphin Browser, Facebook, Astro File Explorer......
For experienced user :
Step 1 actually is just for user to manage the apps more clearly.
A user with little cmd knowledge may know the script only requires [2.app.list.txt] to work with.
You can skip Step 1 and directly go to Step 2 to edit the file.
The format should be { app data folder name + <tab> + app name }
Remarks :
*** Apps that moved to NAND may not be restore with Titanium Backup. App link will be broken by doing so.
*** Please make a nandroid backup before apply this!
*** I am not responsible for any damage caused by this script.
(I also include Linpack and Quadrant to the app list to cheat higher benchmark scores . You may remove it if you don't want to.)
Is NAND where devices like HTC Desire and Nexus One store their Apps?
well this is almost what paul did some days after the phone got released...
lyno said:
Is NAND where devices like HTC Desire and Nexus One store their Apps?
Click to expand...
Click to collapse
Yes, which is why they needed APPS2SD in Froyo.
So....when are you posting the script?
If you want I'll create a program that spits out the .txt file rather than do it in excel, copy paste etc.
Jonas.M said:
well this is almost what paul did some days after the phone got released...
Click to expand...
Click to collapse
yes. that's what Paul did as I mentioned in my script.
But he simply push everything to NAND which oneday, you will find out of space.
Using my script, you can decide what to move, depending on the frequency of the apps usage.
lyno said:
So....when are you posting the script?
If you want I'll create a program that spits out the .txt file rather than do it in excel, copy paste etc.
Click to expand...
Click to collapse
the script is updated and posted.
the excel is just for user to maintain their app list easily.
my script only works with the txt file.
you may skip the excel part if you like.
and thanks for your offer, lyno.
Is it possible to make a script that automatically moves smaller apps to the nand?
I mean it's not worth moving large games, but anything under 2MB should be considered.
Maybe use some intellegent calculation, if all the apps under XMB use less than 50% of free space on nand, increase X until it is efficiently used up.
Also there is HEAPS of space to be freed in NAND, delete stock ringtones, and other.
seems great
hmm, would moving to nand make those specific apps run faster than they would be if they were previously running under ext2/3/4 partitions provided for by the various lagfixes out there?
What happens if an app in the list is not on the phone, does it just skip it?
sturmeh said:
Is it possible to make a script that automatically moves smaller apps to the nand?
I mean it's not worth moving large games, but anything under 2MB should be considered.
Maybe use some intellegent calculation, if all the apps under XMB use less than 50% of free space on nand, increase X until it is efficiently used up.
Also there is HEAPS of space to be freed in NAND, delete stock ringtones, and other.
Click to expand...
Click to collapse
MiG123 said:
hmm, would moving to nand make those specific apps run faster than they would be if they were previously running under ext2/3/4 partitions provided for by the various lagfixes out there?
Click to expand...
Click to collapse
sturmeh, that requires more complex scripting skills, which is out of my knowledge...
and I think instead of choosing the apps2NAND depending on size, I think the "Frequency" of using the apps may be more appropriate.
e.g. I use TouchPal IME a lot. So I move it to the NAND.
Now when I type, TouchPal act lightening!!!
MiG123, I haven't done a serious comparison. But as I remembered, Apps2NAND gives me more "smooth" feeling.
Actually, you shouldn't compare Apps2NAND to other Apps2SD or EXT.
Since Apps2NAND only offers you around 1xxMB of app storage space. Way too far from the others experts' methods.
I suggest using this is because I am using the latest 2.1 ROM, I9000TGYJH1 (http://www.multiupload.com/UTKSZPTKCG), which the lag problem seems improved a lot. But on top of it, I don't want to waste that 1xxMB of internal RAM, so I introduce this method.
To let user choose what core apps that should be put into NAND so
- space is not wasted.
- certain apps enjoy even faster response time.
lyno said:
What happens if an app in the list is not on the phone, does it just skip it?
Click to expand...
Click to collapse
yes.
the script will skip the apps that is not in the list.
MiG123 said:
hmm, would moving to nand make those specific apps run faster than they would be if they were previously running under ext2/3/4 partitions provided for by the various lagfixes out there?
Click to expand...
Click to collapse
Definitely, the hardware is multitudes faster.
Where's the file? Can't seem to find it on the first page
Anyhow. Do you symlink the old location to the new location, thus being able to keep the link intact? That should sort out any problems with backup solutions such as Titanium Backup.
How do you find the app's data folder name?
mekwall said:
Where's the file? Can't seem to find it on the first page
Anyhow. Do you symlink the old location to the new location, thus being able to keep the link intact? That should sort out any problems with backup solutions such as Titanium Backup.
Click to expand...
Click to collapse
lyno said:
How do you find the app's data folder name?
Click to expand...
Click to collapse
mekwall, sorry. removed by mistake.
have uploaded back again now.
yes. it uses symlink method (from Paul's concept) :
ln -s /dbdata/data/appsname /data/data/appsname
i dunno how's Titanium Backup works but it just failed to restore any apps that has used Apps2NAND...
that's why i provide the Uninstallation method to restore it back and then run Titanium Backup to backup all apps and data.
lyno, you may try the Astro File Explorer (market).
It has a function to backup the installed apps out to /sdcard.
The name of the backuped apps will be named exactly the same as it's data folder name.
e.g. Brut's Google Map -> brut.googlemaps.apk
this whoe procedure demands root-access, right?
yes. since it involves moving folders between /dbdata and /data.
Sent from my GT-I9000 using XDA App
I feel like I've downloaded half of the market in search of a suite of essential apps...lots of options out there.
From the experienced users/developers (and knowing the A7 and its quirks), what would you recommend to create a comprehensive set of apps for backup, cache cleaning/battery saving, file management, uninstalling, etc..?
All responses are appreciated.
1) Root Explorer - for any file operations
2) SystemApp Remover - for software maintenance
3) ConnectBot - better terminal than the one in DevTools
4) System Panel - for monitoring battery killing apps
5) SDrescan - for keeping video and music library up to date
I really don't bother with backing up, I don't reflash often, and when I do it's just a chance to clean up all the garbage apps I really don't need anyway.
Thank you so much...you mentioned several that I haven't used. I'll check them out.
If you did bother with backups, would you use Titanium?
Titanium backup works just fine
Root explorer for file management
File expert for http and ftp file management
Sent from my Mynized EVo 4G
This morning I woke up, and Zimperium's "Anti" app was on my phone. I did not download it. I did not even know what it was until it was there.
I'm running MIUI ROM v. 1.11.18 on my Dinc. I just updated from 1.11.11 last night, however this application is not in their changelog.
I've never experienced this before, and the application is not listed as a downloaded application in the marketplace when I choose "My apps".
I have not downloaded any other applications within the past week.
Considering the nature of this application (Network toolkit) I am concerned it has unauthorized permissions.
Any recommendations?
usatf1290 said:
This morning I woke up, and Zimperium's "Anti" app was on my phone. I did not download it. I did not even know what it was until it was there.
I'm running MIUI ROM v. 1.11.18 on my Dinc. I just updated from 1.11.11 last night, however this application is not in their changelog.
I've never experienced this before, and the application is not listed as a downloaded application in the marketplace when I choose "My apps".
I have not downloaded any other applications within the past week.
Considering the nature of this application (Network toolkit) I am concerned it has unauthorized permissions.
Any recommendations?
Click to expand...
Click to collapse
if you have root explorer you can navigate to data/apps and manually delete it. i have no clue as to why it was installed on your phone without your permissions. that is a new one to me. talk to the MIUI supporter for our device and ask them.
---------- Post added at 11:36 AM ---------- Previous post was at 11:34 AM ----------
usatf1290 said:
This morning I woke up, and Zimperium's "Anti" app was on my phone. I did not download it. I did not even know what it was until it was there.
I'm running MIUI ROM v. 1.11.18 on my Dinc. I just updated from 1.11.11 last night, however this application is not in their changelog.
I've never experienced this before, and the application is not listed as a downloaded application in the marketplace when I choose "My apps".
I have not downloaded any other applications within the past week.
Considering the nature of this application (Network toolkit) I am concerned it has unauthorized permissions.
Any recommendations?
Click to expand...
Click to collapse
also if you still have the zip on your phone i would look through it and see if, for some reason, it was put in it by accident. if it came form the update then it would be in system > app
Our MIUI maintainer, leeech decided to put it in the latest update for the Inc only which is why it isn't in the changelog. If you don't want it, remove it with either Root Explorer or Titanium Backup.
I'm having a difficult time finding where this .apk is located. What's more interesting, is that the application is the FULL "Anti", not the "AntiLite" on the android market.
Also, I downloaded the MIUI from ROM manager, did a backup, dalvik cache wipe, and updated. I'll be able to upload that .zip here around 5 PM EST today.
The details of this app are as follows:
version: 2.3.1
size: 788KB
permissions: storage (modify/delete), net. comm.(full, and market billing service), phone calls (read phone state and identity), system tools (change wi-fi state, prevent phone from sleeping), and discover known accounts.
I'm not sure if that's helpful at all, but i figure the more details i give, the better possibility of an explanation.
usatf1290 said:
I'm having a difficult time finding where this .apk is located. What's more interesting, is that the application is the FULL "Anti", not the "AntiLite" on the android market.
Also, I downloaded the MIUI from ROM manager, did a backup, dalvik cache wipe, and updated. I'll be able to upload that .zip here around 5 PM EST today.
The details of this app are as follows:
version: 2.3.1
size: 788KB
permissions: storage (modify/delete), net. comm.(full, and market billing service), phone calls (read phone state and identity), system tools (change wi-fi state, prevent phone from sleeping), and discover known accounts.
I'm not sure if that's helpful at all, but i figure the more details i give, the better possibility of an explanation.
Click to expand...
Click to collapse
You won't be able to remove it from the Application pane in settings since it's in the system folder.
Like I said above, if you have Root Explorer or Titanium Backup, you can remove it. In root explorer, go to the /system/app folder and delete the filecalled "Anti-2.3.1-Miui.apk"
If you have Titanium Backup, just search for "Anti," click on it when it loads up in the list and click uninstall. It will ask if you are sure you want to remove a system app, just say yes, and voila, it's gone.
TheWhiteBandito said:
You won't be able to remove it from the Application pane in settings since it's in the system folder.
Like I said above, if you have Root Explorer or Titanium Backup, you can remove it. In root explorer, go to the /system/app folder and delete the filecalled "Anti-2.3.1-Miui.apk"
If you have Titanium Backup, just search for "Anti," click on it when it loads up in the list and click uninstall. It will ask if you are sure you want to remove a system app, just say yes, and voila, it's gone.
Click to expand...
Click to collapse
yeah what you said. or you can put the zip on your pc. use zip and remove the apk then flash the rom over. my way is harder but yea.
I just saw this app in my ROM as well. Haven't been on MIUI in a while but looks like a pretty interesting app if you do some research on it and are into hacking at all.
I'm thinking of giving it a go.
KlugN said:
I just saw this app in my ROM as well. Haven't been on MIUI in a while but looks like a pretty interesting app if you do some research on it and are into hacking at all.
I'm thinking of giving it a go.
Click to expand...
Click to collapse
Strange. I just found it on my phone too. It appeared after I installed Meraki WiFi Stumbler. The program is written in my data folder as Anti-2.3.1-MIUI. Unable to install in Android itself, but Titanium Backup took care of it.
As mentioned above. Leeechmiui who maintains the port added it in a few weeks back. I believe he has been working with the app developer and they let him include it with 2 free credits.
Hi!
I bought a used HTC Desire. The person selling it had rooted the phone, installed a new ROM (miui, as far as I can tell, since there's at least the miui camera. He said he had wanted an ICS rom) and the phone is using the SD card for increasing its memory. Titanium Backup, LauncherPro, AC!D SoundMOD, Dolby Mobile, ES File Explorer, Firewall, Fancy Widgets, Pimp My Rom, QuickPic, SuperSU, two instances of Superuser, Task Manager and Theme Manager have been installed. LauncherPRO is used as the "desktop environment".
Some things from the "About Phone" dialogue:
Model number: HTC Desire
Android version: 4.0.4
Baseband version: 32.49.00.32U_5.11.05.27
Kernel version: 2.6.38.8-cayniarb-ics-stock-022612-00844-ge004de8
Build number marius.a v.2.5(Temporary version)
The problem is, reboots keep causing programs to disappear or get corrupt. There are several ways in which this happens:
* Some programs launch, but don't show anything. For example Firefox ends up showing only a white screen with some basic OS-wide UI elements visible.
* Most programs simply say "Unfortunately, <programname> has stopped", where <programname> of course varies according to program.
* Some programs launch for a while, but fall to the "unfortunately, <foo> has stopped" after a second or a minute.
* Some programs completely disappear, leaving at best a picture of a green robot on the home screen. Touching the picture with my finger, I get: "Could not launch the requested activity."
* There is one program still working flawlessly: Andropas, a PT route planner for my city and Maverick, a GPS/maps program.
Also the Play store is now broken, although it survived many earlier program mass deaths.
I've fixed Firefox several times by uninstalling it using ES File Explorer and then digging it from the Downloads folder (I've installed a beta from an .apk file) and installing it again.
A reboot doesn't always break programs: My previous two reboots left FF intact. I once rebooted choosing Reboot from the menu you get by pulling the panel on the upper side of the screen downwards and then choosing TOGGLES and once choosing Shutdown from the same menu, waiting for the phone to shut down and then starting it again.
I am therefore not completely sure if the problem is reboot-related, but it has by now only appeared when I've rebooted my phone.
For adjusting yourself: This is my first Android phone, but I would call myself generally tech savvy and am able to grasp new OSes very quickly. A power user for sure, but not a developer on any platform whatsoever.
So... Any idea of what I should fix in order to get the phone functioning correctly?
If I have to go for installing another ROM, is there something about using the SD Card as memory extension that I should take into account in order not to brick my phone?
You have an old version of the Marius.a ICS Rom, and it has bugs. You should flash the newest one.
If that doesn't solve it, then repartition your sd-card. Check the guide in my sig.
abaaaabbbb63 said:
You have an old version of the Marius.a ICS Rom, and it has bugs. You should flash the newest one.
If that doesn't solve it, then repartition your sd-card. Check the guide in my sig.
Click to expand...
Click to collapse
bugs, bugs. but that's an army of bugs
i guess the guy who sold it to you copy from one sdcard to another the content without setting permisions.
for sure he didn't kept his google account so... u can eighter reinstall rom or... go in recovery and choose factory setrings
Sent from my HTC Desire using xda app-developers app
Hi,
Hoping somebody can help.
Each time i boot my N7100 (stock 4.1.2 but rooted) , a file is generated in /storage/sdcard0 with the name format "Ping_1363794618802-20141". The numbers in the filename change for each new file generated. The files are 62 bytes in size and have a creation date and time to match that at actual system boot time. These files accumulate one after another each boot and don't appear to get automatically deleted.
I have opened a file using text view and the data (as below) is always the same except for the last set of numbers which always match the filename.
3.0.8:_ping:GT-N7100:unknown:4.1.2:1.2.3:English:1363794618802
I have uninstalled many apps trying to get to the bottom of this and just when i think i have removed the offending app, the Ping_ files start again.
Do any others have these files being created during each boot? I never noticed any of these files until a few days ago so it must be a recent thing, since 4.1.2. I can not go back to when they first appeared as i always install apps in one large batch meaning it is difficult for me to eliminate things unfortunately.
tia
DraconianGothic said:
Hi,
Hoping somebody can help.
Each time i boot my N7100 (stock 4.1.2 but rooted) , a file is generated in /storage/sdcard0 with the name format "Ping_1363794618802-20141". The numbers in the filename change for each new file generated. The files are 62 bytes in size and have a creation date and time to match that at actual system boot time. These files accumulate one after another each boot and don't appear to get automatically deleted.
I have opened a file using text view and the data (as below) is always the same except for the last set of numbers which always match the filename.
3.0.8:_ping:GT-N7100:unknown:4.1.2:1.2.3:English:1363794618802
I have uninstalled many apps trying to get to the bottom of this and just when i think i have removed the offending app, the Ping_ files start again.
Do any others have these files being created during each boot? I never noticed any of these files until a few days ago so it must be a recent thing, since 4.1.2. I can not go back to when they first appeared as i always install apps in one large batch meaning it is difficult for me to eliminate things unfortunately.
tia
Click to expand...
Click to collapse
Well i think i've worked this one out after removing/ reinstalling over 80 of my apps. The 'rogue' app appears to be the Argos app, a UK retail store. I did look through all apps on my phone to see if any version numbers matched the entry inside the Ping_ files (3.0.8:_ping:GT-N7100:unknown:4.1.2:1.2.3:English:1363794618802) but somehow missed the version number. The current version of the Argos app on the Google Play UK store is 1.2.3, which matches up. I have now recreated this issue a number of times with the same effect.
Of course, there might be other apps which work in the same way, creating multiple small 'Ping_' files each boot.