How to convert BML roms to MTD the right way - Epic 4G Android Development

Required:
A BML rom
The latest CM7
An MTD touchwiz kernel
Tutorial:
1. Unzip your rom
2. Unzip CM7
3. Unzip the kernel
4. Copy the CM7 meta-inf folder to the rom you are trying to port
5. Delete any folder involving kernel or kernel-update
6. Copy tthe boot.img from an mtd kernel to the root of a rom
7. Copy the download fix script in cm7's /system/etc/init.d/ to the rom's /system/etc/init.d/
8. Zip the rom back up with 7zip or winrar

marcusant said:
Required:
A BML rom
The latest CM7
An MTD touchwiz kernel
Tutorial:
1. Unzip your rom
2. Unzip CM7
3. Unzip the kernel
4. Copy the CM7 meta-inf folder to the rom you are trying to port
5. Delete any folder involving kernel or kernel-update
6. Copy tthe boot.img from an mtd kernel to the root of a rom
7. Copy the download fix script in cm7's /system/etc/init.d/ to the rom's /system/etc/init.d/
8. Zip the rom back up with 7zip or winrar
Click to expand...
Click to collapse
cm7.2.0-RC0-Epic-WiMAX-signed.zip??? Wondering if I'm downloading the correct one.
Edit: Nevermind, lol.

So basicly, exactly how I said...just everyone overlooked it
Sent from my SPH-D700 using Tapatalk

Well you got to be careful because the updater-script in cm7 only copies the system folder and not mount or copy the data folder, I have a meta-inf folder that copies and mounts data, if you want to included it
Sent from my Legendary RC 2.2 MTD Converted Epic

The_Legendary said:
Well you got to be careful because the updater-script in cm7 only copies the system folder and not mount or copy the data folder, I have a meta-inf folder that copies and mounts data, if you want to included it
Sent from my Legendary RC 2.2 MTD Converted Epic
Click to expand...
Click to collapse
IMO roms shouldn't use data...
Sent from my SPH-D700 using XDA App

marcusant said:
Required:
A BML rom
The latest CM7
An MTD touchwiz kernel
Tutorial:
1. Unzip your rom
2. Unzip CM7
3. Unzip the kernel
4. Copy the CM7 meta-inf folder to the rom you are trying to port
5. Delete any folder involving kernel or kernel-update
6. Copy tthe boot.img from an mtd kernel to the root of a rom
7. Copy the download fix script in cm7's /system/etc/init.d/ to the rom's /system/etc/init.d/
8. Zip the rom back up with 7zip or winrar
Click to expand...
Click to collapse
Is the download fix script named "06mountdl" or is it "download fix script". Cant seem to find anything named download fix script in cm_epicmtd_full-6.
Or am I just wayyyy off the mark here?

Moumtdl it something with market
Sent from my SPH-D700 using XDA App

Marcusant, you know, you never have to unzip a rom. You can drag and drop files from other roms, edit them by double clicking and saving and then confirming the save thru the extractor and delete them with the delete button. Also, you need to add all the scripts from cm7 like bmlovermtd and updater.sh and all the other stuff besides /system. And finally, you should probably say to use a TW kernel on a TW ROM and use the CM7 one on any AOSP/MIUI/CM7 ROM.

marcusant said:
IMO roms shouldn't use data...
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
Certain apps like Maps, Street, Youtube, Voice, etc. are generally stored in System. Through regular updates, they also install a copy to Data, without removing the System copy. I prefer to move them so they only exist in one spot. This way they're also remove-able by the end user.

RandomKing said:
Certain apps like Maps, Street, Youtube, Voice, etc. are generally stored in System. Through regular updates, they also install a copy to Data, without removing the System copy. I prefer to move them so they only exist in one spot. This way they're also remove-able by the end user.
Click to expand...
Click to collapse
I just remove market apps
Sent from my SPH-D700 using XDA App

Yeah, I'm in over my head. I better wait until ThunderHawk MTD is/if released.

marcusant said:
I just remove market apps
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
Well that would save space... but then I would have to re-download them everytime I flash... and I flash a lot!

RandomKing said:
Well that would save space... but then I would have to re-download them everytime I flash... and I flash a lot!
Click to expand...
Click to collapse
You can make them into a flashable zip, so then you can reflash them every time you install a new ROM.

Epic4GPortTeam said:
You can make them into a flashable zip, so then you can reflash them every time you install a new ROM.
Click to expand...
Click to collapse
Yep that would be super easy lol
Sent from my Legendary RC 2.2 MTD Converted Epic

marcusant said:
IMO roms shouldn't use data...
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
+1000
Thank you. This is one of the cardinal sins of ROM making is to put a bunch of crap in /data (especially when the data is custom app settings, and or the only launcher). This can leads to all kinds of fail if the user has to do a factory wipe/reset.
I experienced this with SRF 1.2. I was business trip and I got a case of unfixable /data corruption (an all too common occurrence with SRF). So I did factory reset and when my phone rebooted THERE WAS NO LAUNCHER, because the only launcher was in /data/app/.
I guess I could understand putting things like youtube in data, but this still means you will be forced to download those if you do a factory reset.
The best solution is the have a script in /init.d that runs a `first run` setup script at boot and copies stuff into data from a compressed archive in /system
CM7 has this built in, though I don't know if they utilize it.

toadlife said:
+1000
Thank you. This is one of the cardinal sins of ROM making is to put a bunch of crap in /data (especially when the data is custom app settings, and or the only launcher). This can leads to all kinds of fail if the user has to do a factory wipe/reset.
I experienced this with SRF 1.2. I was business trip and I got a case of unfixable /data corruption (an all too common occurrence with SRF). So I did factory reset and when my phone rebooted THERE WAS NO LAUNCHER, because the only launcher was in /data/app/.
I guess I could understand putting things like youtube in data, but this still means you will be forced to download those if you do a factory reset.
The best solution is the have a script in /init.d that runs a `first run` setup script at boot and copies stuff into data from a compressed archive in /system
CM7 has this built in, though I don't know if they utilize it.
Click to expand...
Click to collapse
Hm, I see that most of your problems stemmed from the disabled journaling of SRF 1.2. A 'feature' I'd been vehemently opposed to since the beginning, and that I countered with my very first rom many many months ago.
However, I will have to respectfully decline on the opposition to /data usage. I cater first and foremost to users looking for a clean start. For me, a rom that didn't have so much as a file explorer to access my sdcard upon first boot was bothersome. I feel the phone should be fully featured the moment it turns on, not once you download and sign into everything 30 minutes or more later! From there, I'd have to download mybackup and restore apps that should've been there and ready to use the minute my phone booted. I also recommend a manual task killer, and to that end, include one configured to the safest and most effective way I've determined.
That said, Epic storage is at a premium (or at least it was before MTD conversion), and having google apps stored on /system as well as /data is a redundancy I prefer to avoid. I also include a 'full' version for those users that reallllly want the most suggested apps installed. At the same time, while my downloaders appear to enjoy the functionalities such as flash, polaris office, swipepad, adaway, and voodoo on first boot, I prefer to take the opposite route of Sprint/Samsung and ensure that every one of these 'features' is also user-removable.
However, I will concede that a launcher should potentially be installed to /system in the event of a factory reset. I myself prefer to 3-finger into CWM and re-flash rather than ever factory reset. Especially since (in the case of SRF 1.2) it was near impossible to make it to that option through all of the FC's.
Here's something to think about:
If every rom had the same stripped down apps, the same standard featured mods (volume, hotspot, etc.), and obviously the same access to themes, then most of the available roms would be identical.

RandomKing said:
Here's something to think about:
If every rom had the same stripped down apps, the same standard featured mods (volume, hotspot, etc.), and obviously the same access to themes, then most of the available roms would be identical.
Click to expand...
Click to collapse
That's mostly the case with TW-based ROMS. Aside from that basket of mods and included/excluded apps, the diffs come down to the init.d scripts (RAM & tweak scripts), build.prop, some tweaked files in bin & lib, plus theme files -- depending what the Chef did. Like you said, the secret is in the frosting .

wish someone would convert ei22 mostly stock. then i would prob go mtd. i am afraid to try to do this myself...

So if I was on a mtd rom right now and I converted a bml to mtd could I simply flash it or would I have to be on a bml to be able to get this to work..?
Sent from my SPH-D700 using XDA App

lilajrestnom said:
So if I was on a mtd rom right now and I converted a bml to mtd could I simply flash it or would I have to be on a bml to be able to get this to work..?
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
How did you convert it? If you did it this way then it is flashable on MTD. You only need to Odin back to BML if you are going to install a BML ROM or BML backup.

Related

Editing system.img/YAFFS2 (custom ROM creation)

Basically I just want a stock ROM base with the sprint crap taken out and unrevoked added in with some other app mods.
I've grabbed all the sources for YAFFS2/yaffs2Utils and compiled them using cygwin.
Now when I go to extract the system.img all I get is a fonts folder.
I'm setting up a virtual linux machine to try to mount the image instead, but in the meantime anyone care to assist me?
Do a search for android basic kitchen .53. Made myself a custom rom off the .6 release
Sent from my Evo 4g using Tapatalk
stroths said:
Do a search for android basic kitchen .53. Made myself a custom rom off the .6 release
Sent from my Evo 4g using Tapatalk
Click to expand...
Click to collapse
Awesome!!!
Since you claim it works, I'll take your word for it and say I can't thank you enough!
(even if it doesn't do what I need, it should one step forward nonetheless)
Neotelos_com said:
Awesome!!!
Since you claim it works, I'll take your word for it and say I can't thank you enough!
(even if it doesn't do what I need, it should one step forward nonetheless)
Click to expand...
Click to collapse
It seems to be worthless for EVO, only generates update files...I can't even use it to extract the filesystem from system.img
my experience has been working with rfs and not yaffs2 so far.
i think you'll be needing yaffs2 tools, like unyaffs2, etc.
i googled, android system.img mount. seems like a great place to start:
http://wiki.xda-developers.com/index.php?pagename=Android system.img Customization
let us know what works or doesnt work?
If you are rooted with toast, you can flash the custom roms made with that kitchen. you can add or remove apk files before recompiling to the update zip format. I am typing this from my customized rom I made with that kitchen. The kitchen can root the rom for you, add apps2sd (havent tested that) and add wifi tether. I mainly went this routw as io wanted a rooted .6 rom to use after rooting with the Toast method. I am an Android newbie but managed to do this
Sent from my Evo 4g using Tapatalk
joeykrim said:
i googled, android system.img mount. seems like a great place to start:
http://wiki.xda-developers.com/index.php?pagename=Android system.img Customization
let us know what works or doesnt work?
Click to expand...
Click to collapse
Awesome, I figured I would need linux (why I installed it)
stroths said:
If you are rooted with toast, you can flash the custom roms made with that kitchen. you can add or remove apk files before recompiling to the update zip format.
Click to expand...
Click to collapse
I already said it's useless and I said why, it generates update files...
I need to actually extract/mount the original system, that is precisely what the thread title is about.
From the command line you can create a system dump using the following command
tar -cvf /sdcard/system.tgz /system
assuming both /sdcard and /system are mounted. you may have to use "busybox tar" instead.
You can run it from recovery mode.
To mount the filesystems while in adb shell use
"mount /dev/block/mtdblock4 /system" to mount system
and
"mount /dev/block/mmcblk0p1 /sdcard" to mount sdcard
if needed
As for making an update.zip you can take an existing one and replace the system directory inside it with your own custom one. Rezip it, no need to resign it for the EVO recovery, and flash away. Oh, and you'll have to delete any symlinks from the /system/bin directory inside the zip before flashing.

[Q] Trying to create a CW zip with all the apps i want to install automatically

Can some one provide some instructions on how to go about making a CW zip file to flash and install all the apps that is on my phone?
I've seen a few of these floating around in the forum, and wanted to make my own to save time after every ROM flash
Do I just grab all the APK files throw them into a folder and Zip & Sign it?
or do I have to do a Nandroid backup first, then only use the app files from the backup?
I would like to know this too....
Would be nice as well instead of restoring
Sent from my Nexus S using XDA App
Take an existing update.zip type file. Add a folder to it with the full proper path for your apps you want to pre-install (typically this will be /data/app) and put all the apps in that folder. Should look something like this in a windows/mac explorer window:
Code:
META-INF
/com/google/android/updater-script
data
/app/myfirstapp.apk
/app/mysecondapp.apk
Then use a text editor to edit the META-INF/com/google/android/updater-script file to include the commands to copy over your stuff. It would something along the lines of:
Code:
ui_print("Installing New App Files to /data");
package_extract_dir("data", "/data");
Edit out anything in the update template you're working out of that you don't want to happen (ie., format or symlinks, etc).
Repackage the zip file and make sure nothing else got in there by mistake by re-opening it (like those pesky Mac .ds-store files).
You can re-sign it with the android tools, but I don't believe you need to with Clockwork.
I would have a fresh nandroid before testing anything, of course.
You feel this approach is better than just using Titanium to restore apps? You won't get back any app data that isn't stored on the sdcard.
Thanks!
yes, now that makes sense, i recall reading that some where else to add extra APK to the ROMs
so it's the same idea, just without the ROM portion
now i get it
distortedloop said:
Take an existing update.zip type file. Add a folder to it with the full proper path for your apps you want to pre-install (typically this will be /data/app) and put all the apps in that folder. Should look something like this in a windows/mac explorer window:
Code:
META-INF
/com/google/android/updater-script
data
/app/myfirstapp.apk
/app/mysecondapp.apk
Then use a text editor to edit the META-INF/com/google/android/updater-script file to include the commands to copy over your stuff. It would something along the lines of:
Code:
ui_print("Installing New App Files to /data");
package_extract_dir("data", "/data");
Edit out anything in the update template you're working out of that you don't want to happen (ie., format or symlinks, etc).
Repackage the zip file and make sure nothing else got in there by mistake by re-opening it (like those pesky Mac .ds-store files).
You can re-sign it with the android tools, but I don't believe you need to with Clockwork.
I would have a fresh nandroid before testing anything, of course.
You feel this approach is better than just using Titanium to restore apps? You won't get back any app data that isn't stored on the sdcard.
Click to expand...
Click to collapse
Ya essentially this method is doingan advanced nandroid restore for data only except without the settings.
Sent from my MattedBlues CM7 Nexus S from the XDA Premium app.
kenvan19 said:
Ya essentially this method is doingan advanced nandroid restore for data only except without the settings.
Sent from my MattedBlues CM7 Nexus S from the XDA Premium app.
Click to expand...
Click to collapse
I suppose if you want the app data restored as well, you would just need to identify it's location in the /data directory and add it to the /data folder in the update you're making. Seems like most of the app data goes into /data/data.
Just thinking out loud here...
So for a sample app on my phone I have called jefit pro I'd put the following in the update file.
Code:
/data/je.fit.pro-1.apk <---apk itself
/data/data/je.fit.pro <--the folder
/data/data/je.fit.pro/databases/data
/data/data/je.fit.pro/lib
/data/data/je.fit.pro/preferences/preferences.xml
I'd just pull the whole folder for the /data/data/je.fit.pro from the phone via adb.
I'm not sure how useful putting the data back is, since that's not a static set of files on many apps, but for some apps where the data is just some settings or preference files it may be a nice touch.
I don't really see any advantage to this over just use Titanium to restore apps and data, but it should work.
(<<---- this would be the whole folder and its subfolders that I pulled via adb off the phone)
distortedloop said:
I don't really see any advantage to this over just use Titanium to restore apps and data, but it should work.
Click to expand...
Click to collapse
AllGamer, I'm glad you brought this up, while I don't personally have any apps I want to put on the phone in this method, except perhaps titanium itself, I just realized we could of course do the same thing for all those little custom tweaks we put on our phones, like for me I push my personalized ringtones/notification sounds to /system. That's easy enough with adb or rootexplorer, but why not just flash them from a zip while in CW after a wipe or install of a new rom?
distortedloop said:
AllGamer, I'm glad you brought this up, while I don't personally have any apps I want to put on the phone in this method, except perhaps titanium itself, I just realized we could of course do the same thing for all those little custom tweaks we put on our phones, like for me I push my personalized ringtones/notification sounds to /system. That's easy enough with adb or rootexplorer, but why not just flash them from a zip while in CW after a wipe or install of a new rom?
Click to expand...
Click to collapse
the idea came up from several places, first Titanium Backup itself offers to create a signed .zip installer for CW
and i've seen other devices forums with people packing up like 100+ apps/tweaks/mods into it to flash after CW is done flashing the new ROM
yes, of course we can use TI, i have TI pro and it's very easy, but Ti is slow.... at restoring 300+ Apps
but everytime i see CW restoring a Zip file or even a full Nandroid backup, it does it so fast and quickly, that i though... hell might as well keep an updated signed .zip wtih all my must have apps, and flash it along right after any new ROM flash (when testing out different Custom ROMs) then i don't need to spend like an hour everytime restoring + configuring the phones
i noticed that Ti works a hell of a lot faster if the apps are already installed, and you only need to restore the data.
and that is the main reason i want to compile a list of all the apps
once they are all installed, then i can use any of the good market utilities that can do mass Apps2SD and i'll be up and running in as quickly as 15min vs. a whole hour waste on a restore/config everytime you change the ROM
using Ti i found most of the System settings can be restored safely without corrupting the new ROM
email
accounts & syncs
bluetooth pairings
wifi
... ah shoot forgot the rest
only do not restore settings for:
launcher,
wireless network (phone company)
android market
and anything that has to do with default settings
probably this weekend i'll dissect the CW zip created by Ti itself, and add more to it
Sounds like a good plan...but you've got 300+ apps if I recall correctly. I imagine that will take a long time to restore either method!
The Titanium update zip is a good place to start. Use the setting to make it a "user" app and it will put it in /data, where you want the rest of your apps as well. You could just dump what you want right into the zip file there in the folder that has titanium's apk itself and not even worry about messing with the updater-script file.

[Q] Is there an easy way to remove the AT&T boot animation from stock rooted ROM?

I have this ROM: Inspire 4g Stock ROM Optimized--Root, Deodex, zip-aligned, HSUPA, non-market ap....
Is there an easy way to kill the AT&T boot animation when it starts up? I like the stock rom, and I like all the crapware has been removed, but the AT&T Rethink Possible silly animation on this ROM drives me nuts. Any way to remove it?
thanks!
Bella, this thread will likely be moved as it's a question and not development. As your other thread was moved.
Second, it's in System/customize/resource. I wouldn't recommend deleting though, replace it with something else. Loots of boot options on XDA.
lrs421 said:
Bella, this thread will likely be moved as it's a question and not development. As your other thread was moved.
Second, it's in System/customize/resource. I wouldn't recommend deleting though, replace it with something else. Loots of boot options on XDA.
Click to expand...
Click to collapse
OOPS! Sorry I didn't mean to post in here again... my bad. Apologies to the mods.
Can you give me a link to what boot animations I can easily replace it with?
Also, I think related, any way to get rid of the reference to AT&T in the app store? I hate knowing this is an AT&T phone, hehe
bella92108 said:
OOPS! Sorry I didn't mean to post in here again... my bad. Apologies to the mods.
Can you give me a link to what boot animations I can easily replace it with?
Also, I think related, any way to get rid of the reference to AT&T in the app store? I hate knowing this is an AT&T phone, hehe
Click to expand...
Click to collapse
Check in the themes and apps sections, they're literally everywhere. Yes you can get rid of the at&t reference in the market but it requires a lot of editing in the build.prop. There was an extra step too but I forget...
lrs421 said:
Check in the themes and apps sections, they're literally everywhere. Yes you can get rid of the at&t reference in the market but it requires a lot of editing in the build.prop. There was an extra step too but I forget...
Click to expand...
Click to collapse
Cool, will replace the theme. Thanks.
Anyone know exactly what edits to the prop file are needed to de-AT&T the Android Market?
I have some custom boots there check it out.. Custom boots
mudknot2005 said:
I have some custom boots there check it out.. Custom boots
Click to expand...
Click to collapse
Having a little difficulty applying these. If I power down, then press POWER and VOL DOWN to boot into recovery, do I have to wipe or clear cache or just apply zip or how do they work?
Thanks!
Mudknot made it easy for us. In that thread he linked to, download the bootanimation you want from the list that IS flashable through cwm. Boot into clockwork and choose to install zip from SD card. Find the bootanimation zip, select it and then answer yes to the "are you sure" question.
bella92108 said:
Having a little difficulty applying these. If I power down, then press POWER and VOL DOWN to boot into recovery, do I have to wipe or clear cache or just apply zip or how do they work?
Thanks!
Click to expand...
Click to collapse
If your using ginger bread then it won't work.. If your using froyo all you will need to do is flash it. You don't want to do a full wipe because it will erase everything. Cache and Devlik are entirely up to you
It won't work on gingerbread because I haven't had time to flash gingerbread, and update the update script.
mudknot2005 said:
If your using ginger bread then it won't work.. If your using froyo all you will need to do is flash it. You don't want to do a full wipe because it will erase everything. Cache and Devlik are entirely up to you
It won't work on gingerbread because I haven't had time to flash gingerbread, and update the update script.
Click to expand...
Click to collapse
Not using gingerbread, just the ATT stock rom rooted. Flashing the rom in the above post didn't work... is t here a manual way to replace the animation file?
Thanks!
bella92108 said:
Not using gingerbread, just the ATT stock rom rooted. Flashing the rom in the above post didn't work... is t here a manual way to replace the animation file?
Thanks!
Click to expand...
Click to collapse
Just to make sure your using the correct one. The bootanimation.zip files will not flash through cwm. If you are trying to flash them use the ones that say flashable through cwm should be post Number 4. If you want to manually do it. You are going to need a root explorer (ie. super manager, es file explorer, root explorer) you will need to make sure root path is selected and that you have the build mounted as R/W. Copy the bootanimation.zip you want to your sd card (do not unpack it), and copy it with root explorer. From there you are going to want to go into your build (rootpath) and go to data>local>, then you are going to want to past it, agree to overwrite the current bootanimation.zip. Then do a full reboot.
mudknot2005 said:
Just to make sure your using the correct one. The bootanimation.zip files will not flash through cwm. If you are trying to flash them use the ones that say flashable through cwm should be post Number 4. If you want to manually do it. You are going to need a root explorer (ie. super manager, es file explorer, root explorer) you will need to make sure root path is selected and that you have the build mounted as R/W. Copy the bootanimation.zip you want to your sd card (do not unpack it), and copy it with root explorer. From there you are going to want to go into your build (rootpath) and go to data>local>, then you are going to want to past it, agree to overwrite the current bootanimation.zip. Then do a full reboot.
Click to expand...
Click to collapse
I tried the latter and it didn't work. I'd already tried to flash with the flashable one, so after that didn't work I tried the non flashable, and copied it to that directory, but it didn't change the animation. I'm using the TPC Inspire Stock Rom and even when I followed the above process I'm getting the annoying big TPC boot animation.
I wish I could get around it :-(
Give me a few minutes Ill see what I can do.
I'm currently not able to flash the rom, but I am going to unpack it and take a look see if I can figure out whats up with it.
Do me a favor, in root explorer go to system>customize>resources and tell me if you see ATT_bootanimation.zip.
mudknot2005 said:
Do me a favor, in root explorer go to system>customize>resources and tell me if you see ATT_bootanimation.zip.
Click to expand...
Click to collapse
Yes its in there. Y?

[Q] Deleting TW Launcher from system/app?

Hi all.
I'm, currently on ICBINB kI3 1.5 which came with the default launcher Touch Wiz.
I use launcher pro plus as my default launcher.
My question is will deleting twlauncher from system/app improve performance or battery life? Or will in cause instability?
-Any help is appreciated =]
-Note: Build prop contains "ro.HOME_APP_ADJ=1"
Other Stuff: Ive tried editing the rom before flashing as in replacing twlauncher.apk with launcher pro.apk and that wood not load a homescreen on boot. ive tried adding the both into the rom before flashing and that was unstable. but of course there is a pretty high chance i did this process incorrectly.
Details: gs4g/ icbinb 1.5/ ext4 on all/ uv at 1.3/
I always delete it, and I too use LPP. I haven't noticed a difference either way
i too wonder about this question. I don't think it will improve battery any if you close down the TW launcher and set the other launcher as default. If anyone have more experience please confirm or correct my reasoning.
I always delete it to using Titanium Backup. After I delete it I go into TB's More settings and clean the dalvik cache.
I've never had an issue with anything. After a reboot LP gets installed as a system app.
Sent from my SGH-T959V using xda premium
Mizun0h said:
Hi all.
I'm, currently on ICBINB kI3 1.5 which came with the default launcher Touch Wiz.
I use launcher pro plus as my default launcher.
My question is will deleting twlauncher from system/app improve performance or battery life? Or will in cause instability?
-Any help is appreciated =]
-Note: Build prop contains "ro.HOME_APP_ADJ=1"
Other Stuff: Ive tried editing the rom before flashing as in replacing twlauncher.apk with launcher pro.apk and that wood not load a homescreen on boot. ive tried adding the both into the rom before flashing and that was unstable. but of course there is a pretty high chance i did this process incorrectly.
Details: gs4g/ icbinb 1.5/ ext4 on all/ uv at 1.3/
Click to expand...
Click to collapse
this is because you put the wrong apk file into system/app. remember, it is not the apk from your data folder, it is the one from the cache folder. i have done this many, many times on multiple phones and it has always worked. uninstall launcher pro, reinstall it from the market. immediately use root explorer to go to the /cache folder and copy the download.apk file. rename it to w/e and put that file in the system/app OF THE ROM ZIP FILE. then flash THAT ZIP file. should work every time. dont just put it in your system/app of the rom currently loaded on your phone. doesnt work that way
jager555 said:
this is because you put the wrong apk file into system/app. remember, it is not the apk from your data folder, it is the one from the cache folder. i have done this many, many times on multiple phones and it has always worked. uninstall launcher pro, reinstall it from the market. immediately use root explorer to go to the /cache folder and copy the download.apk file. rename it to w/e and put that file in the system/app OF THE ROM ZIP FILE. then flash THAT ZIP file. should work every time. dont just put it in your system/app of the rom currently loaded on your phone. doesnt work that way
Click to expand...
Click to collapse
You're the man! thanks. I think this is what I was missing. I remembered you tried to explain this process to me and I and I just failed. But again, thank you.
Can this be done for all apks? Like if I wanted pandora or google music as high priority system apps?
It can be done for most apps, but not all. Some apps install to more places than just data/app, so it won't work. it's trial and error, to be honest. But I guess that's half the fun, isn't it?
Sent from my SGH-T959V using xda premium
jager555 said:
this is because you put the wrong apk file into system/app. remember, it is not the apk from your data folder, it is the one from the cache folder. i have done this many, many times on multiple phones and it has always worked. uninstall launcher pro, reinstall it from the market. immediately use root explorer to go to the /cache folder and copy the download.apk file. rename it to w/e and put that file in the system/app OF THE ROM ZIP FILE. then flash THAT ZIP file. should work every time. dont just put it in your system/app of the rom currently loaded on your phone. doesnt work that way
Click to expand...
Click to collapse
Jager, could you please reply with an example of what renaming a download.apk would look like.
I went into my cache folder using Root Explorer, long pressed the download.apk I have there and hit rename.
Do I literally change the name download.apk to w/e?
I'm sure this is a dumb question but I'm new to modding. I only very recently have learned enough to venture out of just flashing.
This is more than a curiosity for me. I want to learn and practice this kind of modding.
Thank you for your time and wisdom.
Sent from my SGH-T959V using xda premium
Jerry D said:
Jager, could you please reply with an example of what renaming a download.apk would look like.
I went into my cache folder using Root Explorer, long pressed the download.apk I have there and hit rename.
Do I literally change the name download.apk to w/e?
I'm sure this is a dumb question but I'm new to modding. I only very recently have learned enough to venture out of just flashing.
This is more than a curiosity for me. I want to learn and practice this kind of modding.
Thank you for your time and wisdom.
Sent from my SGH-T959V using xda premium
Click to expand...
Click to collapse
jerry,
i just name it whatever app it is. for example, i would rename download.apk to launcherpro.apk or to gosmspro.apk. I would, however, long press, click COPY, copy it to my "download" folder on my sd card, and then rename it. i do not MOVE the download.apk from the cache folder. i also do not rename it until i have copied it to my sd card. that just me though. i think the android system clears out the download.apk file by itself and it would be best to let it do that; as opposed to prematurely moving it and it causing errors.
After renaming the download.apk what do we do with it. Push to where?
Sent from my SGH-T959V using xda premium
COPY the download.apk to any folder on your sdcard. Then rename it to whatever.apk
Copy this file to syatem/app in the new rom before you flash it.
From what ive been told this can be done from a lot of apps, but not all. So far ive tried and had good experiences with launcherpro, google music, and pandora.
Sent from my SGH-T959V using XDA Premium App
A really easy way to do this as well is to use Titanium Backup.
If you currently have both TW and launcher pro on your phone... Open titanium backup and click on the middle tab up top labeled backup/restore.
Scroll down to TW launcher and select. It will give you an option to uninstall.
And launcher pro becomes your default and only launcher.
It also works to remove other system apps that you normally cannot as well.
Jiggly, while that may work, my approach does a couple of different things. It makes them true system apps, saves internal ROM and uses system ROM instead, cleans up a few things and it makes flashing a lot easier. With titanium backup, you ate not integrating the apps into the ROM. We are removing and adding things prior to flashing, causing less problems
Sent from my SGH-T959V using xda premium
Babyj303 said:
After renaming the download.apk what do we do with it. Push to where?
Sent from my SGH-T959V using xda premium
Click to expand...
Click to collapse
As stated in my post above yours, I put it in my downloads folder on my sd card.
Sent from my SGH-T959V using xda premium
As I stated earlier in this thread I too was using the "Titanium Backup method" and thought that my apps were System apps. That's what Titanium Backup says and they are red so they must be.
If I go into My system app folder using Super Manager I can see in my app list that they are not true System apps as Jager said. A system app looks like this in my app folder; My Account [SYS] Maps [SYS] Music [SYS] ect.
Here is what my "Titanium backup method" apps look like;
LauncherPro [SYS]Internal Only
Double Twist [SYS]Internal Only
Dolphin Browser HD [SYS]Movable
I noticed this a couple of weeks ago and that is why I was excited to see this thread. I know the method jager is describing is Superior to using TB. I'm working on "my" ROM now.
I just thought I'd throw this out there. There's nothing like a visual aid to put things into perspective.
jerry, let me know if you need help with that; or at least some pointers. i'm not raver or dsexton (krylon and drhonk goes without being said), but i still have a few tricks up my sleeve.

Best way to backup the EFS folder

So what is the best way to back it up?
Please don't tell me to copy and paste it with a file manager
I hate to tell you this. Copy it with a file manager then transfer it to your computer. It's how you do it.
Honestly I've never had success backing up the efs folder. Every time I tried with any file manager it always failed to copy the IMEI.
Sent from my SGH-T959V using xda app-developers app
cpkelley94 said:
Honestly I've never had success backing up the efs folder. Every time I tried with any file manager it always failed to copy the IMEI.
Click to expand...
Click to collapse
Use Super Manager. I've restored mine with it before.
tar or cpio -- Using zip or anything related to Windows, especially a text editor, is just asking for trouble.
# cd /efs
# tar cvf /sdcard/my_efs_backup.20120816.tar .
then copy my_efs_backup.20120816.tar off your microSD and put it somewhere safe
Jeff... I'm not a Linux guy more of a Windows guy but am I suppose to put that in the terminal on the phone? And hechoen aren't there folder permissions involved when you put back the file?
I know there are apps that backup your efs but can I use them? Also somewhere in a thread there is a flash able zip that backups your efs, can it work with ics
I spent a few bucks and bought root explorer...no problems.
Shortbus-Driver said:
I spent a few bucks and bought root explorer...no problems.
Click to expand...
Click to collapse
Yeah and it also seems that its the only file explorer without the bloat. Its pretty expensive for a simple file explorer.
But well worth it
I find adb a lot easier than the terminal on the phone. It's useful for pushing a file or two to the phone or vice versa without unmounting the microSD. Free too!
Posted from my AOKP-ified SGS4G
Any rom that installs with my aroma installer like most gb roms and a few ics roms make an efs backup in /sdcard/aroma-backup for you.
Also any ics rom that has used the cm9 update.sh script team acid made will back it up for you during the rom install (cm9/aokp).
But how about that flash able zip file from cm7 that backs up your efs folder?
FBis251 said:
Any rom that installs with my aroma installer like most gb roms and a few ics roms make an efs backup in /sdcard/aroma-backup for you.
Also any ics rom that has used the cm9 update.sh script team acid made will back it up for you during the rom install (cm9/aokp).
Click to expand...
Click to collapse
The reason I want to back it up is because I want to flash back to stock using heimdall and there are those times that something could go wrong.
th3controller said:
And hechoen aren't there folder permissions involved when you put back the file?
Click to expand...
Click to collapse
Nope. The folder already has the correct permissions. All you need to do is stitch the system to read/write then paste it back in place. I have used this method so I know it works. I do agree with Jeff though. If you know how to use adb it's a sure fire way to go. Just most users are clueless about it.
hechoen said:
Nope. The folder already has the correct permissions. All you need to do is stitch the system to read/write then paste it back in place. I have used this method so I know it works. I do agree with Jeff though. If you know how to use adb it's a sure fire way to go. Just most users are clueless about it.
Click to expand...
Click to collapse
Lumins guide to using heimdall uses adb right? So can I backup my efs and flash heimdall afterwards correct?
This is the easiest way to make a backup:
http://sourceforge.net/projects/teamacid/files/fb/cwm/cm7-efs-backup.zip/download
Thank FB.
lumin30 said:
This is the easiest way to make a backup:
http://sourceforge.net/projects/teamacid/files/fb/cwm/cm7-efs-backup.zip/download
Thank FB.
Click to expand...
Click to collapse
That's the one I'm talking about! And isn't there another zip to restore the efs folder?
And does it work with ics galaxy s beam?
th3controller said:
That's the one I'm talking about! And isn't there another zip to restore the efs folder?
And does it work with ics galaxy s beam?
Click to expand...
Click to collapse
I just want to say... it is okay to test things out on your own. That is how you learn.
lumin30 said:
I just want to say... it is okay to test things out on your own. That is how you learn.
Click to expand...
Click to collapse
Can you at least please provide the thread that the flash able zip is which is both the efs back up and restore.
Try looking at the url I posted above and see if you can figure out - on your own - how to back in to the folder FB posted both the backup and restore zips.

Categories

Resources