So, before flashing a Sense Rom (InsertCoin or other) you can remove a few apks from the rom's zip if you don't need them. Save time when flashing and also on 1st boot. I will provide a list of apks that are safe to remove. You just delete the files from rom.zip/system/app
Or you can delete them after flashing if you already flashed a rom, if you are s-off you can do this with the phone on, if you are s-on you have to go to recovery and mount /system and /sd-ext.
I recommend you use for this Android Commander
HTC Stocks:
com.htc.StockWidget.apk
DCSStock.apk
Stock.apk
HTC Mail. If you don't use exchange or you use an alternate app for exchange(K9 Mail)
htcmailwidgets.apk
Mail.apk
HTC Radio
com.htc.FMRadioWidget.apk
HtcFMRadio.apk
HTC News reader
HtcGreader.apk
HtcGreaderWidget.apk
HTC Likes
HtcRecommends.apk
HtcRecommendsWidget.apk
HTC Messages - if you use Handcent you can remove default htc message apks - you dont need 2 apks for the same thing
Mms.apk
htcmsgwidgets.apk
Included live wallpapers, if you dont use them or need them you can delete those too
LiveWallpapers.apk
LiveWallpapersPicker.apk
MagicSmokeWallpapers.apk
Mode10Wallpapers.apk
VisualizationWallpapers.apk
Flickr- well if you don't use it for uploading ur pics its safe to delete
Flickr.apk
HTC Sense - if you prefer launcherpro or adw or whatever and dont need htc sense you can delete
Rosie.apk
You can delete any apk from /system that has the word widget into his name if you don't need it
You can also remove from sd-ext/.systemapp and from sd-ext/.lib the corresponding libs for the apks you removed.
But you need to edit the updater-script.
For example, you don't neet HTC Premium Navigations (Locations).
you go insinde the zip/sd-ext/.systemapp and you delete.
HtcLaputa.apk
HtcLaputaInstaller.apk
HtcLaputaWidget.apk
LocationPickerLaputa.apk
also now that you removed the apks you also don't need their libs
so we go insinde rom.zip/sd-ext/.lib and delete:
libLaputaEngine.so
libLaputaLbJni.so
libLaputaLbProviderJni.so
libLaputaLogJni.so
Ok now that we removed those files we need to edit out updater-script since those files were symlinked.
So we open in notepad++ the following file:
rom.zip/META-INF/com/google/android/updater-script
and remove the symlink lines with those files. in this particular case
symlink("/system/sd/.lib/libLaputaEngine.so","/system/lib/libLaputaEngine.so");
symlink("/system/sd/.lib/libLaputaLbJni.so","/system/lib/libLaputaLbJni.so");
symlink("/system/sd/.lib/libLaputaLbProviderJni.so","/system/lib/libLaputaLbProviderJni.so");
symlink("/system/sd/.lib/libLaputaLogJni.so","/system/lib/libLaputaLogJni.so");
symlink("/system/sd/.systemapp/HtcLaputa.apk","/system/app/HtcLaputa.apk");
symlink("/system/sd/.systemapp/HtcLaputaInstaller.apk","/system/app/HtcLaputaInstaller.apk");
symlink("/system/sd/.systemapp/HtcLaputaWidget.apk","/system/app/HtcLaputaWidget.apk");
symlink("/system/sd/.systemapp/LocationPickerLaputa.apk","/system/app/LocationPickerLaputa.apk");
Take care that not all apks from sd-ext have special libs. some like ereader.apk don't have so you just have to delete the apks.
Also you can take a look at tlexul method here:
http://www.e-tel.eu/2011/02/removing-apps-from-android-s-off-and.html
Showing posts with label tutorials. Show all posts
Showing posts with label tutorials. Show all posts
Monday, May 16, 2011
Sim unlock your HTC Desire for FREE
Burn the iso, boot it, power up your phone into HBOOT by pressing both Vol-Down and Power and follow the instructions.
Post your experiences here for further development. The app doesn't require root or s-off and should work on any hboot and radio version. (it has been tested so far with HBOOT up to 0.93.1000 and RADIO up to 5.14.05.17).
It's based on some vulnerabilities and undocumented features, so disclosing them would mean the greater the chance of them being corrected.
Download link http://baadnewz.lcdc.sk/Desire_HD_Base/InsertCoin/Addons/fileshare.ro_HTC-Desire-unlock_v0.2a.iso
If you use the product would be nice to donate a couple of bucks to the developer. Just click:PAYPAL here.
All kudos to XDA User sieempi
For more info or updated versions check the xda thread
http://forum.xda-developers.com/showthread.php?t=943726
Post your experiences here for further development. The app doesn't require root or s-off and should work on any hboot and radio version. (it has been tested so far with HBOOT up to 0.93.1000 and RADIO up to 5.14.05.17).
It's based on some vulnerabilities and undocumented features, so disclosing them would mean the greater the chance of them being corrected.
Download link http://baadnewz.lcdc.sk/Desire_HD_Base/InsertCoin/Addons/fileshare.ro_HTC-Desire-unlock_v0.2a.iso
If you use the product would be nice to donate a couple of bucks to the developer. Just click:PAYPAL here.
All kudos to XDA User sieempi
For more info or updated versions check the xda thread
http://forum.xda-developers.com/showthread.php?t=943726
Align your SDCARD, FAT and EXT Partiton
To spare you the mabo jambo, I will present you the short version. If you align you sdcard partition you speed up access time, write speed and read speed, so every operation including a sdcard read or write should be improved.
For EXT
Here is pretty easy. You download a zip and flash it from recovery.
EXT4 Align Flashable zip
or
This an aligned EXT4 with journaling disabled aka faster
It will erase all data from ext partition so make a backup (not nandroid backup). Doesn't matter what ext type you have, it will be ext4 after you run the zip. Flash the zip, reboot recovery then flash the rom
For FAT32 well this is a little more tricky, but don't worry if you understand English at a medium level and you have 15 minutes to read the thread is pretty easy. Here is the link: http://www.patriotmemory.com/forums/showthread.php?t=3696 , I take no credit for the good in there, I only share it with you.
For EXT
Here is pretty easy. You download a zip and flash it from recovery.
EXT4 Align Flashable zip
or
This an aligned EXT4 with journaling disabled aka faster
It will erase all data from ext partition so make a backup (not nandroid backup). Doesn't matter what ext type you have, it will be ext4 after you run the zip. Flash the zip, reboot recovery then flash the rom
For FAT32 well this is a little more tricky, but don't worry if you understand English at a medium level and you have 15 minutes to read the thread is pretty easy. Here is the link: http://www.patriotmemory.com/forums/showthread.php?t=3696 , I take no credit for the good in there, I only share it with you.
Free some space on phone's memory without DATA2EXT
Although there is a2sd, that keeps the apks on the sd-ext some files are stored on phone's nand on /data partition and if we install alot of apk's then you remain out of free space. WE DO ALL THIS WITH PHONE ON, NOT IN RECOVERY
1st let's see how much free space i'm having:
#
df -h | grep data
As you can see i have left about 70 mB free. Lets see what folders eat my space:
I made the folder .moreapps. Now let's move stuff and symlink them.
First we move them:
Then we symlink them:
#ln -s /system/sd/.moreapps/com.navngo.igo.javaclient /data/data/com.navngo.igo.javaclient
#mv /data/data/com.opera.browser /system/sd/.moreapps/com.opera.browser
ln -s /system/sd/.moreapps/com.opera.browser /data/data/com.opera.browser
#df -h | grep data
Well it seems to me I gained 35 mB without uninstalling apps, without moving ALL of them to SD and experience some lags.
#ls -al --color=none /data/data/com.opera.browser
Yap all seems right. Opera and iGO are working at same speed, i freed up some space. Everyone's happy.
The advantage of this method is that you can choose what to move to sd-ext you don't have to have all to sd-ext.
Now make sure you don't name your folder in /system/sd "data" since a2sd script will move back on nand all its contents.
This method is recommend for GPS software, Browsers, Games, some apps you got from market. It's best to leave system apps there to avoid FCs or slowdowns. If anything goes wrong with your app after this you can always move them back.
1st you delete the symlink (rm /data/data/whatevar) then move it back
1st let's see how much free space i'm having:
#
df -h | grep data
/dev/block/mtdblock5 147.6M 76.7M 70.9M 52% /data
#
du -sk /data/data/* | sort -rn | head
18641 /data/data/com.navngo.igo.javaclient
14911 /data/data/com.opera.browser
6756 /data/data/com.google.android.gm
5194 /data/data/com.android.providers.contacts
3661 /data/data/com.htc.launcher
3083 /data/data/com.htc.googlereader
1276 /data/data/com.swype.android.inputmethod
1172 /data/data/com.android.settings
1144 /data/data/com.htc.android.mail
1084 /data/data/and.blogger
Ok so it seems that iGO and Opera is eating 32 megs together. I'll leave data/data/com.google.android.gm alone since it's gmail and I want to be more responsive by keeping its files to nand(i only have a class 4 card). Lets get to work. 1st we need to make a folder on sd-ext where to keep the files.
#
mkdir /system/sd/.moreapps First we move them:
mv /data/data/com.navngo.igo.javaclient /system/sd/.moreapps/com.navngo.igo.javaclient
# Then we symlink them:
#
#
Now we repeat the operation for opera:
Move:
#
Symlink:
ln -s /system/sd/.moreapps/com.opera.browser /data/data/com.opera.browser
Now let's check again my free space.
#
/dev/block/mtdblock5 147.6M 51.8M 95.9M 35% /data
Now let's check if we made the symlinking right
#
lrwxrwxrwx 1 0 0 38 Feb 22 05:46 /data/data/com.opera.browser -> /system/sd/.moreapps/com.opera.browser
Yap all seems right. Opera and iGO are working at same speed, i freed up some space. Everyone's happy.
The advantage of this method is that you can choose what to move to sd-ext you don't have to have all to sd-ext.
Now make sure you don't name your folder in /system/sd "data" since a2sd script will move back on nand all its contents.
This method is recommend for GPS software, Browsers, Games, some apps you got from market. It's best to leave system apps there to avoid FCs or slowdowns. If anything goes wrong with your app after this you can always move them back.
1st you delete the symlink (rm /data/data/whatevar) then move it back
Subscribe to:
Posts (Atom)