• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root [ROM] CTMod 3.80 (04/06/13)

I've came up with my own way to restore apps after flashing a new version and thought I might share.. Hope I don't confuse too many people..or I'm not posting something someone has already posted..

I took Blood's ApkInstaller.zip and edited the updater-script to include
apps for data on sd-ext.
Looks like this:
Code:
ui_print("App Restore Pkg");
ui_print("");
ui_print("Installing Data Apps");
show_progress(0.500000, 0);
ui_print("");
ui_print("Mounting /sd-ext");
mount("ext4", "/dev/block/mmcblk0p2", "/sd-ext");
ui_print("");
ui_print("Extracting Files");
package_extract_dir("data", "/sd-ext");
show_progress(0.100000, 0);
unmount("/sd-ext");
ui_print("");
ui_print("Done");
ui_print("");
ui_print("Installing System Apps");
show_progress(0.500000, 0);
ui_print("");
run_program("/sbin/mount", "-t", "auto", "/dev/block/stl12", "/system");
ui_print("");
package_extract_dir("system", "/system");
show_progress(0.100000, 0);
unmount("/system");
ui_print("");
ui_print("Done");
ui_print("");
ui_print("Flashing Complete");
ui_print("Reboot System Now");
This would only work if you use these settings in KoumaMod settings:

mavrikmeercat-albums-screenshots-picture6378-screenshot-1340082515156.png


Then i pulled my entire /data/app directory from my phone after i had it all set up like i wanted it to a folder named data on my PC.

then opened the ApkInstaller.zip archive and moved data to the root of the zip folder so the archive now looks like this:
Code:
data
META.INF
system

so now I can put Blood's removed (system) apps that i want into system/app and all my apps from my sd-ext into data/app in the zip and flash.
The reason I decided to go this route is because I had quite a bit of trouble with apps after restoring from Titanium Backup. even when restoring apps without app data.

How to:
put all your apps from /sd-ext/app/ into data/app in the zip
Flash Blood's latest ROM version and reboot into CTMod
set up KoumaMod settings like the screenshot
reboot back into CTmod to make sure Kouma settings are right
reboot into cwm
install zip from sdcard
reboot
 

Attachments

  • Sys&d2eApkInstaller.zip
    163.7 KB · Views: 73
Upvote 0
First off, thanks Bloodawn for CTMod! Awesome Rom!

1) Music player force closes when ever I attempt to re-order tunes in a play list. Happens both with 3.6 and 3.68.

My setup has been: CDMod 3.6 with EJ06 and then with FE16. It is now CDMod 3.68 with FE16. (I totally skipped FA19) KoumaMod has been set to SSM. The force close has happens for me in all of these configurations.

This could very well be a MiuiMusic.apk bug rather than CTMod, but I thought I'd let you know. If it's a hassle for you to chase down the problem, I'd love a recommendation for another free music player to install.

2) Shortly after Kouma put up his FE16 stock Odin images, I changed over from CTMod3.6/EJ06/61007 to CTMod3.6/FE16/61008. Within a couple of days my 3g speeds improved to be consistently "reasonable" for the first time ever. (For me "reasonable" is speedtest result between 200k and 800k, with almost no dropped connections.)

I started getting the update nag a few days ago, so last night I flashed CDMod3.68. After flashing, the 3g speedtest results slowed (~150k) and 3g network is now practically unusable (many connection drops, etc.) Frankly, I don't see how CTMod could have caused this, but the only thing that changed was CTMod version, the date, the weather, and the phase of the moon (a little). Baseband stayed the same at FE16. There is no way I'm over any 2.5G limit. I wouldn't expect boost's phone.tar code to snoop in build.prop for mis-matching version and throttle on that, but I suppose it's possible. It's a mystery to me.

Like I said, probably not caused by CTMod3.68. Maybe the Sprint network has just gone to crap in the Seattle/Tacoma area. Will update the post if it get's better or I get any clues.

Thanks
 
Upvote 0
I can not get my partioned sd card to work right , i partioned it the way the guide says for rooting for dummines , But its not working its saying i have 43 MB of internal memory when i partioned 4gb of my 32 gb sd card for it . Plus maybe i have not done something because i am completely stumped what to do .

Anyone know what i should do to get this to work right because i am trying to add something into system/etc and it will not let me because it says i do not have enough memory .
 
Upvote 0
I can not get my partioned sd card to work right , i partioned it the way the guide says for rooting for dummines , But its not working its saying i have 43 MB of internal memory when i partioned 4gb of my 32 gb sd card for it . Plus maybe i have not done something because i am completely stumped what to do .

Anyone know what i should do to get this to work right because i am trying to add something into system/etc and it will not let me because it says i do not have enough memory .

SSM mode?
you'll still show low numbers for Internal with that. it's just the way it is.
You can free up some memory on the internal if you wipe it. Then SSM mounts over empty directories and doesn't hide away files that eat up internal space
 
Upvote 0
I can not get my partioned sd card to work right , i partioned it the way the guide says for rooting for dummines , But its not working its saying i have 43 MB of internal memory when i partioned 4gb of my 32 gb sd card for it . Plus maybe i have not done something because i am completely stumped what to do .

Anyone know what i should do to get this to work right because i am trying to add something into system/etc and it will not let me because it says i do not have enough memory .

I believe I posted 1 way in there an other people have done that had no problem. It is a step by step.
 
Upvote 0
I can not get my partioned sd card to work right , i partioned it the way the guide says for rooting for dummines , But its not working its saying i have 43 MB of internal memory when i partioned 4gb of my 32 gb sd card for it . Plus maybe i have not done something because i am completely stumped what to do .

Anyone know what i should do to get this to work right because i am trying to add something into system/etc and it will not let me because it says i do not have enough memory .

You also have to select data or ssm in the kouma mod settings, and then reboot. Just trying to help cover all the bases
 
Upvote 0
I have done it on 2 phones so far, mine went smoothly- able to restore sd-ext and data with minimal settings loss after installing 3.68. I received one final nag message upon rebooting after install, but it hasn't been back since.

My wife's sd-ext and data, however, would not restore, and GPS won't work. Might have to try it again today. The only reason it is that big of a deal is that she plays a lot of games, so I have to go back and use titanium to restore her progress.


I put 3.68 on this morning. Noticed the time on the notification bar is different then the system time. How do I change this?

It will eventually sort itself out. You can sometimes help it along by rebooting, or switching the time from automatic to manual and back.
 
Upvote 0
This what your talking about?

42cbe971-ae31-fa8a.jpg
yes that is it and looks ok, to me at least. did you go into settings/ctmod settings/then kouma settings/and click data or ssm and then reboot? i asked once but didn't really get an answer and if did sorry.
you may have to wipe what is on the partions and then go into kouma mod and select data or ssm then reboot then put stuff on sd and apps. you need to do that first. and if on 3.68 it defaulted to none to begin with. just trying to help.
 
Upvote 0
Sorry about that yes I did no change

check out kouma's sd formatter. you chose ssm and your card has the partitions but they aren't formatted correctly. you need to have the swap partition (dev/block/mmcblk0p3) formatted as ext4 so your dalvik-cache can be mounted there instead of internally.
 
Upvote 0
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones