A2SD on Haykuro's 6.0r1 - G1 Android Development

Morning all (in my part of the world)
Has anyone been able to get A2SD working on H's latest ROM yet?? I've tried afew things apps and adb wise and they seem to lock up the phone on the HTC screen with the (now annoying) chime, I've Reflashed on got everything running as normal so its just getting the A2SD bit working
Any Advice is much appreciated
Additionally im also experiencing issues with the drawer appearing at the bottom of the screen and the icons messing up when sliding the screen out

Thought i would throw up a screen shot for giggles
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

I came from dudes 1.1a, had apps and dalvik done with the "apps2sd2" app (on dudes).
after flashing new haykuro,i installed the old "apps2sd" app and got everything working again ;-)
maybe you should give it a try (formating sd by yourself, and the rest with "apps2sd" from maximus)

did you wipe for your ROM change or just Alt+S it??

Dantehman said:
Morning all (in my part of the world)
Has anyone been able to get A2SD working on H's latest ROM yet?? I've tried afew things apps and adb wise and they seem to lock up the phone on the HTC screen with the (now annoying) chime, I've Reflashed on got everything running as normal so its just getting the A2SD bit working
Any Advice is much appreciated
Additionally im also experiencing issues with the drawer appearing at the bottom of the screen and the icons messing up when sliding the screen out
Click to expand...
Click to collapse
It should work, it all depends how many apps. you have. you need to wait a while, since its installing all your all apps. that you had before........The home screen on landscape is not an issue, since the magic does not have a landscape mode on the home screen it does this. You can replace it with a alternative home so you won't have this issue, or use adb to push the launcher.apk that works right with screen home screen.

cholito said:
It should work, it all depends how many apps. you have. you need to wait a while, since its installing all your all apps. that you had before........The home screen on landscape is not an issue, since the magic does not have a landscape mode on the home screen it does this. You can replace it with a alternative home so you have this issue, or use adb to push the launcher.apk that works right with screen home screen.
Click to expand...
Click to collapse
Already taken care of the Launcher (2nd and 9th Posts) http://forum.xda-developers.com/showthread.php?t=518042
and I wiped my ex2 partition already so im looking at 0 appidge, but the issue is it getting sutck at the splash screen and looping with the (annoying) HTC chime, it wont budge
Im gonna get home from work later on and try formatting my card again by wiping everyhting off it and starting 100% fresh and ill first try
Haykuros A2SD via ADB
Then try..
The origional Apps2SD App
Failing that..
The new and improved Apps 2 SD Method
And ill report back with updates

Yeah, the old method works (the one where you have to use symlinks) but the newer, better method does not because Haykuro hasn't added unionfs into his kernel yet.
I tried flashing JF's boot.img from his ADP1.50 build through fastboot, but it caused half of the apps to force close so I had to wipe and reflash 6.0r1... apparently, Haykuro is working on it... he seems to be focusing more on Sapphire/Magic right now...

Dantehman said:
did you wipe for your ROM change or just Alt+S it??
Click to expand...
Click to collapse
i flashed haykuro, then (before starting) did a wipe, don`t know if necessary?
then i installed appstosd (the old one), removed the "first time" and made apps to sd.
after reboot it took a while, then all apps appeared ;-)
again appstosd, made dalvik cache to sd.
after reboot again it took a while (5 minutes or so), then 90 apps free space 75MB ;-)
i think formating sd by yourself and the old appstosd app should work ;-)

If thats the case im going to totally erase my card + partitions,
then try the Apps 2 SD app and see what happens
if not, amgupt01 do you have a linky for the old method?? (or im i being noobish and its the Haykuro's A2SD 5.0.x onwards i need to follow)

Dantehman said:
If thats the case im going to totally erase my card + partitions,
then try the Apps 2 SD app and see what happens
if not, amgupt01 do you have a linky for the old method?? (or im i being noobish and its the Haykuro's A2SD 5.0.x onwards i need to follow)
Click to expand...
Click to collapse
lol, it's the one for 5.0.x onwards.

amgupt01 said:
lol, it's the one for 5.0.x onwards.
Click to expand...
Click to collapse
Followed and Failed, looping on the splash screen with the chime,,,, as didnt put into silent,,, aargh its killing my ears lmao
anyone have any ideas???

pulling battery now!
====== UPDATE ======
Alt+S (just for fun, to see if it does anything)

Dantehman said:
pulling battery now!
====== UPDATE ======
Alt+S (just for fun, to see if it does anything)
Click to expand...
Click to collapse
if you came into recovery, there should be no real problem?
still your apps on sd?
try the "appstosd" app (old one)?

EPIC FAIL
Alt+W
Alt+S
Keyboard Back up and running
Stuck where i was,
seems the Origional A2SD theory has left me high and dry
(all this wiping and reflashing, maybe i should learn how to use nandroid and make a backup lmao!)

Haykuros Apps to SD tutorial worked fine for me.
I formatted my ext2 partition first after coming from jf1.5 just to start clean.
Setup in 5.0.1 onward
http://android-dls.com/wiki/index.php?title=Haykuro_Apps_to_SD
hope it helps.

Success!!!!!!
The Origional A2SD APP works!!!!!
Wahoo
-Those who are keen eyed will notice that this is my old picture,,, the reason ive put this up is because i have 86mb FREE AGAIN on this ROM

here's what i did :
1. nandroid backup
2. alt+w, alt+s, reboot
3. open terminal emu, rm all folders in /system/sd from H1.5r3, reboot
4. busybox cp -a /data/app /system/sd/
busybox cp -a /data/app-private /system/sd/
busybox cp -a /data/dalvik-cache /system/sd/
busybox cp -a /data/data /system/sd/
5. rm -r /data/app
ln -s /system/sd/app /data/app
rm -r /data/app-private
ln -s /system/sd/app-private /data/app-private
rm -r /data/data
ln -s /system/sd/data /data/data
rm -r /data/dalvik-cache
ln -s /system/sd/dalvik-cache /data/dalvik-cache
6. reboot
7. enjoy
Been running smooth ever since, 1gb ext2 partition w/ 150ish apps installed, 88mb internal mem free.

If you had Klaxon installed before you went to the H build, thats probably the culprit. It will put your phone in a continuos loop at boot screen.

kchino said:
If you had Klaxon installed before you went to the H build, thats probably the culprit. It will put your phone in a continuos loop at boot screen.
Click to expand...
Click to collapse
that and " owner" and a few other programs.
on a side note, after thinking about it last night after looping mine about 10 times...
i think it prob is necessary to reformat the sd, so back it all up jic , then the old a2sd prog seems to work for most folks. the only guys that seem to get it to work are ether coming from a clean sheet, or an H build...
also, i think if your coming from a non H build and you use backup for root it seems to loop.

ichibanpnoy said:
here's what i did :
1. nandroid backup
2. alt+w, alt+s, reboot
3. open terminal emu, rm all folders in /system/sd from H1.5r3, reboot
4. busybox cp -a /data/app /system/sd/
busybox cp -a /data/app-private /system/sd/
busybox cp -a /data/dalvik-cache /system/sd/
busybox cp -a /data/data /system/sd/
5. rm -r /data/app
ln -s /system/sd/app /data/app
rm -r /data/app-private
ln -s /system/sd/app-private /data/app-private
rm -r /data/data
ln -s /system/sd/data /data/data
rm -r /data/dalvik-cache
ln -s /system/sd/dalvik-cache /data/dalvik-cache
6. reboot
7. enjoy
Been running smooth ever since, 1gb ext2 partition w/ 150ish apps installed, 88mb internal mem free.
Click to expand...
Click to collapse
APPRECIATED!! i almost gave up on the build and went back to JF's.. 88meg free

Related

Apps-to-SD in Recovery Terminal Tutorial(includes cache and dalvik-cache)

Alright, I've been posting this all over trying to help people figure out how to do this and figured it's time to make a dedicated thread. If at any point you get an error DON'T PROCEED. See if I referenced the error you're getting and, if so, do what I suggested. If not, post your error here and I'll try to get back to you ASAP.
NOTE: This can now also be done through my appstoSD app posted on this forum!!!! It will do everything for you.
This tutorial assumes you have:
A: A micro-sd card with 2 partitions, the first must be FAT32 and the second must be ext2.
B: Your phone must have one of the apps-to-sd ROM's installed.
C: Busybox installed into the /system/xbin directory. For steps on this please reference Darkrift's thread.
Before we start, let's make sure your phone is set up to handle this. Open up the terminal emulator app(available in the market) and type:
Code:
su
busybox df -h
If /system/sd doesn't appear, something is wrong. Either your sd card isn't partitioned correctly or your phone has a ROM that doesn't have apps to sd enabled. If /system/sd does show up then you're set and can start the tutorial
NOTE: Moving the cache is highly unstable and works for some people but not for most. I don't recommend trying unless you have a good idea of how to get your phone back to a usable state if it starts boot looping.
Now, for the first step you need to copy all the apps over to the sd card. To do this type(still in the terminal emulator)(The third and fourth lines are for cache to sd only):
Code:
busybox cp -a /data/app /system/sd/
busybox cp -a /data/app-private /system/sd/
busybox cp -a /data/dalvik-cache /system/sd/
busybox cp -a /data/data /system/sd/
exit
exit
Once the terminal emulator app closes, power off your phone. Then, turn it on in recovery mode by holding down the home button and then pressing the power button. Continue holding the home button until the "T-Mobile G1" icon goes away and a menu comes up. Then press Alt-x to go to recovery terminal. Press enter and a prompt should come up with a "#". Now type(If you only want your apps on your sd card and not the caches, skip steps 6-9)
Code:
mount data
rm -rf /data/app
ln -s /system/sd/app /data/app
rm -rf /data/app-private
ln -s /system/sd/app-private /data/app-private
rm -rf /data/data
ln -s /system/sd/data /data/data
rm -rf /data/dalvik-cache
ln -s /system/sd/dalvik-cache /data/dalvik-cache
reboot
And... you're all set! Your phone might take a while at the android screen since it has to populate the apps tray. If it lasts >5-10 minutes then something likely went wrong. Make sure you did all the steps correctly and if you did try the steps in the recovery terminal section of this tutorial again. If it still doesn't work, post here and we'll try to get it sorted out. That aside, enjoy having your apps on SD card and the permanent 72-73MB available!
EDIT: forgot the app-private directory. Thanks, LucidREM!!!
Maximus is the man.
[email protected] said:
Now, for the first step you need to copy all the apps over to the sd card. To do this type(still in the terminal emulator)(The second and third lines are for cache to sd only):
Code:
busybox cp -a /data/app /system/sd/
busybox cp -a /data/dalvik-cache /system/sd/
busybox cp -a /data/data /system/sd/
exit
exit
Once the terminal emulator app closes, power off your phone. Then, turn it on in recovery mode by holding down the home button and then pressing the power button. Continue holding the home button until the "T-Mobile G1" icon goes away and a menu comes up. Then press Alt-x to go to recovery terminal. Press enter and a prompt should come up with a "#". Now type(If you only want your apps on your sd card and not the caches, skip steps 4-7)
Code:
mount data
rm -rf /data/app
ln -s /system/sd/app /data/app
rm -rf /data/data
ln -s /system/sd/data /data/data
rm -rf /data/dalvik-cache
ln -s /system/sd/dalvik-cache /data/dalvik-cache
reboot
Click to expand...
Click to collapse
i see a missing step here .. what about /data/app-private
LucidREM said:
i see a missing step here .. what about /data/app-private
Click to expand...
Click to collapse
RIGHT! I keep forgetting that one cause that folder pisses me off and I move all the apps there to the normal app folder lol. Will fix in 5, 4, 3...
EDIT: 2,1,0
cp: cannot stat '/data/davlik-cache': no such file or directory
whats up?
NEVERMIND. i need to go back to spelling class.
I'm sure its been asked and answered but I'll ask again! I understand it can take quite a few minutes to boot but is this every time you reboot or just the first time?
Thanks
DynaMight said:
I'm sure its been asked and answered but I'll ask again! I understand it can take quite a few minutes to boot but is this every time you reboot or just the first time?
Thanks
Click to expand...
Click to collapse
just the first time. its moving all the apps and cache from phone to sd card during that first reboot.
won't that slow down the phone even more?
the first time takes much longer. Subsequent reboots are of normal duration, comparable to the standard build.
Smokuevo said:
won't that slow down the phone even more?
Click to expand...
Click to collapse
if you use a class six sdcard, the apps will load faster. i believe that class 6 flash media is faster than the phones flash.
stogchris81 said:
if you use a class six sdcard, the apps will load faster. i believe that class 6 flash media is faster than the phones flash.
Click to expand...
Click to collapse
Pushing (writing) a 2MB file through adp push seems a bit faster to the SDCARD compared to the internal memory.
-> rough average for SDCARD : 1200 KB/s
-> rough average for system storage : 1000 KB/s
Regarding pulling (reading), internal seems faster :
-> rough average for SDCARD : 1247 KB/s
-> rough average for system storage : 1250 KB/s
These tests are everything but serious.. This is using the famous SanDisk 8GB Mobile Ultra (class 6).
To conclude I'd say that speed is almost the same, sometimes a bit faster for SDCARD.
i have one question
i tried to read through the thread but it was waay to large and long
if u do install apps to the sd card
when u install a newer rom on it does that mean the apps are automatically installed once again? i would like to do this because haykuro's roms are released once a week and i dont like reinstalling apps over and over again...
bigballa said:
i have one question
i tried to read through the thread but it was waay to large and long
if u do install apps to the sd card
when u install a newer rom on it does that mean the apps are automatically installed once again? i would like to do this because haykuro's roms are released once a week and i dont like reinstalling apps over and over again...
Click to expand...
Click to collapse
Unfortunately the answer is "sorta". The apps will still be on your sd card in the same places you put them. BUT all the symlinks will be gone so it'll look like they all dissapeared. You'll have to repeat the recovery terminal part of the tutorial, but all the stuff before it will be unnecessary.
i keep getting /system/sd/app is not a directory but when i run mkdir /system/sd/app it says that the file already exists.
the one time i got adb to work i did the steps through it to get apps to sd but the i had to wipe my phone. do i have to do the steps in the first post or recreate the symlinks?
wizern23 said:
i keep getting /system/sd/app is not a directory but when i run mkdir /system/sd/app it says that the file already exists.
the one time i got adb to work i did the steps through it to get apps to sd but the i had to wipe my phone. do i have to do the steps in the first post or recreate the symlinks?
Click to expand...
Click to collapse
In terminal emulator do this:
Code:
su
cd /system/sd
ls -l[CODE]
And put what it says on the line with "app" in it here. If it says "app ->" and has something after the arrow(my guess would be /data/app) then you put the symlink the wrong way. Make sure you do ln -s /system/sd/app /data/app, not the other way around. Let me know what your results are
[email protected] said:
In terminal emulator do this:
Code:
su
cd /system/sd
ls -l[CODE]
And put what it says on the line with "app" in it here. If it says "app ->" and has something after the arrow(my guess would be /data/app) then you put the symlink the wrong way. Make sure you do ln -s /system/sd/app /data/app, not the other way around. Let me know what your results are[/QUOTE]
huh? can you repeat that because i didnt understand what you were saying
im at the first step anyway. and thats when it says /system/sd/app is not a directory. my other question is is do i have to use
rm -rf /data/app
rm -rf /data/dalvik-cache
rm -rf /data/app-private
to re-establish the symlinks or did the steps through adb i used get erased when i wiped it.
Click to expand...
Click to collapse
[email protected] said:
In terminal emulator do this:
Code:
su
cd /system/sd
ls -l[CODE]
And put what it says on the line with "app" in it here. If it says "app ->" and has something after the arrow(my guess would be /data/app) then you put the symlink the wrong way. Make sure you do ln -s /system/sd/app /data/app, not the other way around. Let me know what your results are[/QUOTE]
i had the same problem. it said /system/sd/app is not a directory even though it already existed. when i used your code above this was my result:
drwx----- root root 2009-04-12 20:11 lost+found
-rw-r--r-- system system 29303 2009-04-11 11:56 app
Click to expand...
Click to collapse
wizern23 said:
huh? can you repeat that because i didnt understand what you were saying
im at the first step anyway. and thats when it says /system/sd/app is not a directory. my other question is is do i have to use
rm -rf /data/app
rm -rf /data/dalvik-cache
rm -rf /data/app-private
to re-establish the symlinks or did the steps through adb i used get erased when i wiped it.
Click to expand...
Click to collapse
Umm I wouldn't proceed cause if /system/sd/app isn't a directory then you're gonna have lots of problems. I need to know what it says after you type
Code:
su
cd /system/sd/
ln -s
Specifically, there'll be a line of output that has the word "app" towards/at the end. I need to know what's in that line. If the line doesn't start with a 'd' then app isn't a directory and something happened and you need to remove /system/sd/app by typing this in the terminal emulator:
Code:
su
busybox rm -rf /system/sd/app
and then restart the process from the beginning.
it says that /system/sd/app is not a directory but when i do mkdir /system/sd/app it says the file already exists.
the line with app in it says
-rw-r--r-- system system 29303 2009-04-14 17:27 app.
okay removing that made it work.
[edit] Thank you so much. it finally worked. i now have 73mb free on the phone.
glad I could help. On a side note Apps to SD app is now live

[Script] Turn off Apps2SD on CM 4.2+

The script does a one time copy of the apps from /system/sd to /data for mytouch phones (since we don't need a2sd!). After that, a2sd is just disabled
Attachment: Update zip (takes about 20sec lol)
Pastebin: http://pastebin.com/d108b98f8
Rough info:
Cyanogen & Twisted A2SD modded for Hero (by Maxisma)
Remodified for CM 4.2+ by Wes Garner
This finds out if it is running on Magic or G1 and decides if A2SD is used or not
Mounts EXT for Magic and G1
Or you could just delete your ext2 partition...
but then no userinit
Didn't work for me. I have CM 4.2.5, downloaded mt3g-noa2sd-signed.zip and flashed it in recovery. Then when I rebooted I got to the CM bootscreen, after a few seconds the screen went black. I let it load for 45-60 minutes (watching tv) but nothing happened. Tried to flash again and the same thing.
ls -l in /data showed app and app-private was still linked to sd. I removed the links, made the directories and copied over the data from sd. Then it worked.
Kaptur said:
Didn't work for me. I have CM 4.2.5, downloaded mt3g-noa2sd-signed.zip and flashed it in recovery. Then when I rebooted I got to the CM bootscreen, after a few seconds the screen went black. I let it load for 45-60 minutes (watching tv) but nothing happened. Tried to flash again and the same thing.
ls -l in /data showed app and app-private was still linked to sd. I removed the links, made the directories and copied over the data from sd. Then it worked.
Click to expand...
Click to collapse
I'm having the same issue here, after flashing, I get Cyanogen boot screen and then it moves to black and sits there - since there's no way it's taking that long to copy the data, I'm guessing this script is broken as of 4.2.5.
From CyanogenMod Wiki http://wiki.cyanogenmod.com/index.php/Removing_Apps2SD
Removing Apps2SD
From CyanogenMod Wiki
Jump to: navigation, search
You'll probably have to re-install any paid apps (app-private) but normal apps should run fine after this.
For Terminal Emulator
Code:
su
mount -o rw,remount /system
Then proceed to the ADB instructions from after 'adb shell'
ADB Instructions
Code:
adb remount
adb shell
Code:
rm /data/app
mkdir /data/app
cp /system/sd/app/* /data/app/
rm /data/app-private
mkdir /data/app-private
cp -r /system/sd/app-private/* /data/app-private
rm /data/dalvik-cache
mkdir /data/dalvik-cache
reboot recovery
In Recovery Mode console, you will have to delete the ext partition:
Code:
parted /dev/block/mmcblk0
rm 2
quit
Note: If you had a 3rd partition for swap it will now be partition 2. Adjust your userinit.sh accordingly.
After rebooting, you can confirm that it worked by running:
ls -l /system
From Terminal Emulator (no need to remount/su) and you should see 'app' and 'app-private' as directories (and not app -> /system/sd/app).
Click to expand...
Click to collapse
yea oops, forgot to delete old symlinks on it
It doesn´t work for me...
I´m trying to disable A2sd because of my partition layout (Swap+Fat32) on my HTC Magic 32B but nothing happens after applying the update. My phone it just keeps in the bootloop forever....

[Q] Easy way to convert to Froyo A2SD??

Hey Everyone,
Is anyone else having major issues getting all their apps over to Froyo's Apps2SD? I cant restore my apps using Froyo-compatible apps like Titanium Backup, I cant download them from the market because if fails during the install. Only way ive found that works (but is manual and tedious) is to install to internal, and then "Move to SD" for each app.
Till Apps2EXT gets officially implemented in CM6, does anyone know of a better method of converting to the Froyo Apps2SD. I have BART backups and all the apks, but nothing seems to work for batch install.
I am using the updated gapps that was posted for the market fix, btw
Thanks!
zimphishmonger said:
Hey Everyone,
Is anyone else having major issues getting all their apps over to Froyo's Apps2SD? I cant restore my apps using Froyo-compatible apps like Titanium Backup, I cant download them from the market because if fails during the install. Only way ive found that works (but is manual and tedious) is to install to internal, and then "Move to SD" for each app.
Till Apps2EXT gets officially implemented in CM6, does anyone know of a better method of converting to the Froyo Apps2SD. I have BART backups and all the apks, but nothing seems to work for batch install.
I am using the updated gapps that was posted for the market fix, btw
Thanks!
Click to expand...
Click to collapse
This is the part where I post a sarcastic pic and tell you to GTFO.
But I too am having the same problem. I tried to use ADB and DroidExplorer to batch install my backed up apps but they both failed.
I really want to use CM6 on a daily basis but I can't without my favorites apps.
There's a thread you might have missed where firerat has an implementation... for now.
Go check it out and I think you might be happier...
Sent from my HTC Dream using XDA App
philosophics said:
There's a thread you might have missed where firerat has an implementation... for now.
Go check it out and I think you might be happier...
Sent from my HTC Dream using XDA App
Click to expand...
Click to collapse
I saw that he put together a quick script for it, but I also heard that it slows things down. Might give it a shot anyways, though.
If anyone else has a good method of converting over to Froyo A2SD, def leave word here
apps
Z҉A҉L҉G҉O̚̕̚ said:
This is the part where I post a sarcastic pic and tell you to GTFO.
But I too am having the same problem. I tried to use ADB and DroidExplorer to batch install my backed up apps but they both failed.
I really want to use CM6 on a daily basis but I can't without my favorites apps.
Click to expand...
Click to collapse
same here i got over 300 apps and even though i dont use all of em i cant commit to cm6 without em. yes im an app addict.
found the apps2sd for cm6 aka froyo:
install firerats recovery 1.3 patch, install cm6,install gapps1-2.zip, install firerats boot 1.2,reboot,...
for apps2sd:
just re-install the apps one by one. theres no other fix as of now. nahh jus kiddin i found this **** earlier for you who missed it: http://forum.xda-developers.com/showthread.php?t=722861
B6gSix said:
found the apps2sd for cm6 aka froyo:
install firerats recovery 1.3 patch, install cm6,install gapps1-2.zip, install firerats boot 1.2,reboot,...
for apps2sd:
just re-install the apps one by one. theres no other fix as of now. nahh jus kiddin i found this **** earlier for you who missed it: http://forum.xda-developers.com/showthread.php?t=722861
Click to expand...
Click to collapse
That slowed down my phone.
B6gSix said:
found the apps2sd for cm6 aka froyo:
install firerats recovery 1.3 patch, install cm6,install gapps1-2.zip, install firerats boot 1.2,reboot,...
for apps2sd:
just re-install the apps one by one. theres no other fix as of now. nahh jus kiddin i found this **** earlier for you who missed it: http://forum.xda-developers.com/showthread.php?t=722861
Click to expand...
Click to collapse
The second file always gives an error, and Im currently using Firerat's patch to enable app2sd, although its a lil slow. I am looking for a method to batch install apps to froyo a2sd (on FAT)
zimphishmonger said:
The second file always gives an error, and Im currently using Firerat's patch to enable app2sd, although its a lil slow. I am looking for a method to batch install apps to froyo a2sd (on FAT)
Click to expand...
Click to collapse
Batch install on internal worked fine (titanium 2.9.7.6, 150 apps), it's better than nothing.I use FR data patch (85 instead of 55MB free space).
robuser007 said:
Batch install on internal worked fine (titanium 2.9.7.6, 150 apps), it's better than nothing.I use FR data patch (85 instead of 55MB free space).
Click to expand...
Click to collapse
Ya, I found that internal worked okay as well w/ Titanium backup. I just have to manually move all of them to the SD card :-|
I havent had any luck installing directly to the SD card, it gives an error each time, both when installing APKs within Android and using ADB
EDIT: Seems the only method working for me is to restore to internal, and "move to sd" (you need to enable it in CM settings)
zimphishmonger said:
Ya, I found that internal worked okay as well w/ Titanium backup. I just have to manually move all of them to the SD card :-|
I havent had any luck installing directly to the SD card, it gives an error each time, both when installing APKs within Android and using ADB
EDIT: Seems the only method working for me is to restore to internal, and "move to sd" (you need to enable it in CM settings)
Click to expand...
Click to collapse
this would move everything in /data/app to the FroYo sd
Code:
#!/system/bin/sh
#
# move all apps from /data/app/ to /sdcard/.android_secure ( FroYo apps2ext )
pm setInstallLocation 2
for apk in `ls /data/app/*apk`;do
cp $apk /dev/temp.apk
echo "uninstalling $apk"
pm uninstall -k `awk -F \" '/'\`basename $apk\`'/ { print $2 }' /data/system/packages.xml`
echo "reinstalling $apk"
pm install /dev/temp.apk
done
rm /dev/temp.apk
takes a while..
and it will move everything !!
change
for apk in `ls /data/app/*apk`;do
to
for apk in `ls /data/app/*apk|egrep -v "app1|app2|app3"`;do
where app1,2 and 3 are the ones you wish to keep on internal
BRILLIANT!
Firerat said:
this would move everything in /data/app to the FroYo sd
Code:
#!/system/bin/sh
#
# move all apps from /data/app/ to /sdcard/.android_secure ( FroYo apps2ext )
pm setInstallLocation 2
for apk in `ls /data/app/*apk`;do
cp $apk /dev/temp.apk
echo "uninstalling $apk"
pm uninstall -k `awk -F \" '/'\`basename $apk\`'/ { print $2 }' /data/system/packages.xml`
echo "reinstalling $apk"
pm install /dev/temp.apk
done
rm /dev/temp.apk
takes a while..
and it will move everything !!
change
for apk in `ls /data/app/*apk`;do
to
for apk in `ls /data/app/*apk|egrep -v "app1|app2|app3"`;do
where app1,2 and 3 are the ones you wish to keep on internal
Click to expand...
Click to collapse
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Firerat said:
this would move everything in /data/app to the FroYo sd
Code:
#!/system/bin/sh
#
# move all apps from /data/app/ to /sdcard/.android_secure ( FroYo apps2ext )
pm setInstallLocation 2
for apk in `ls /data/app/*apk`;do
cp $apk /dev/temp.apk
echo "uninstalling $apk"
pm uninstall -k `awk -F \" '/'\`basename $apk\`'/ { print $2 }' /data/system/packages.xml`
echo "reinstalling $apk"
pm install /dev/temp.apk
done
rm /dev/temp.apk
takes a while..
and it will move everything !!
change
for apk in `ls /data/app/*apk`;do
to
for apk in `ls /data/app/*apk|egrep -v "app1|app2|app3"`;do
where app1,2 and 3 are the ones you wish to keep on internal
Click to expand...
Click to collapse
Thanks FR!
terminal
Firerat said:
this would move everything in /data/app to the FroYo sd
Code:
#!/system/bin/sh
#
# move all apps from /data/app/ to /sdcard/.android_secure ( FroYo apps2ext )
pm setInstallLocation 2
for apk in `ls /data/app/*apk`;do
cp $apk /dev/temp.apk
echo "uninstalling $apk"
pm uninstall -k `awk -F \" '/'\`basename $apk\`'/ { print $2 }' /data/system/packages.xml`
echo "reinstalling $apk"
pm install /dev/temp.apk
done
rm /dev/temp.apk
takes a while..
and it will move everything !!
change
for apk in `ls /data/app/*apk`;do
to
for apk in `ls /data/app/*apk|egrep -v "app1|app2|app3"`;do
where app1,2 and 3 are the ones you wish to keep on internal
Click to expand...
Click to collapse
just to be clear i run this in terminal or adb correct? and do this AFTER i installed apps or before?
smuvman said:
just to be clear i run this in terminal or adb correct? and do this AFTER i installed apps or before?
Click to expand...
Click to collapse
after
it does take quite a long time,
but I guess its quicker/easier than going through the manage application settings bit.
smuvman said:
just to be clear i run this in terminal or adb correct? and do this AFTER i installed apps or before?
Click to expand...
Click to collapse
Now that I think about it. How DO we suppose to install the script? Is it an a2sd or userint.sh script, or an ADB/Terminal command?
Z҉A҉L҉G҉O̚̕̚ said:
Now that I think about it. How DO we suppose to install the script? Is it an a2sd or userint.sh script, or an ADB/Terminal command?
Click to expand...
Click to collapse
you can just
adb shell
then copy and paste that code block
or , save as text, put on sdcard
Code:
su
dos2unix /sdcard/thesrcipt.txt
sh /sdcard/thesrcipt.txt
Firerat said:
you can just
adb shell
then copy and paste that code block
or , save as text, put on sdcard
Code:
su
dos2unix /sdcard/thesrcipt.txt
sh /sdcard/thesrcipt.txt
Click to expand...
Click to collapse
Thank you. You brilliant, brilliant man .
YESS!
Z҉A҉L҉G҉O̚̕̚ said:
Now that I think about it. How DO we suppose to install the script? Is it an a2sd or userint.sh script, or an ADB/Terminal command?
Click to expand...
Click to collapse
and here i was wondering if you were gonna post some pic for me asking that. haha thanx alot firerat this was the one thing stopping me from using cm6 daily. last qeustion though, i have over 300 apps (i know useless) so just say i install half and i see mem space goes down then i use this code can i reboot then install the rest and use the code again?
method works
i tried it on a few apps just to test and it works. only prob is i get :failure container error on some apps. i think it may be because they are not froyo ready. have to leave but will post logcat when i get back. thanx again firerat

[HOW TO] Flash FROYO properly with everything working

As there seems to be a bit of confusion about Froyo, maybe this quick step by step guide will help. I can't guarantee it will work on your Defy and I'm not responsible for bricked devices.
IMPORTANT: If your flash doesn't work before flashing this rom, you need to flash UK 2.21 ROM via RSD lite, wipe data and cache (VOL Down + Power Boot; click right corner) and do a factory reset (settings-> privacy). Now your flash should work and you can precced with this guide. Don't install any other cam apps as they may brick your flash.
Video of Quadrant benchmark:
http://www.youtube.com/watch?v=lIHFivjrM7w
Video of Market and Flashlight working:
http://www.youtube.com/watch?v=viyxqVLtZE4
Advantages of this guide:
+stable and fast Froyo with ROOT ([email protected])
+Camera works (no fix needed)
+Wifi works (no fix needed)
+Market works (no fix needed)
+Recovery works
+Everything deodexed
+Bloatware removed (optional)
+Black Notification Bar (optional)
Disadvantages:
-Not for Defys with 2.51
-Only 2 languages
-All your apps and settings will be gone
-You need to manually add your APN
-Guide not for beginners
UPDATE 19.Jan.2011
-It may cause problems to install google apps AFTER rooting. Guide updated.
-Minor update on point 8. Make sure "USB Connection" is set to "None".
-Added point 13 for people who suffer from the Flash bug.
UPDATE 20.Jan.2011
-Added point 14: miscellaneous tweaks.
UPDATE 21.Jan.2011
-Updated point 8 and 13.
-Fixed search_fix from point 9.
UPDATE 22.Jan.2011
-Added info about baseband switcher app to point 14.
UPDATE 22.Jan.2011
-Updated point 7 and 13
UPDATE 30.Jan.2011
-Updated point 12 with theme files for UK Froyo
1)
First Backup using Tenfar's recovery!!
2)
Download the official 2.2 ROM. Here is a mirror from Sorensiim(Thanks!)
3)
Turn on your Defy by holding VOL-UP + POWER, connect it to your PC and flash the ROM using RSD lite 4.9
4)
After flashing, turn your defy off and turn it on again by holding VOL-DOWN + POWER. When you've reached the screen with the exclamation mark, press the bottom right corner of your screen. WIPE everything.
5)
Boot into Froyo. When you've reached the red screen, click on the Chinese text in the center and choose ENGLISH. Press the menu button, click at the bottom right and skip creating a Motoblur account. Froyo might still feel slow. This is normal.
6)
Download google apps update.zip and save it on the root of your sdcard.
Start your phone holding VOL-DOWN + POWER. Press the bottom right corner of your screen again. Flash the update.zip on your sdcard and wipe everything again (this was the last time).
7)
Reboot. Turn usb debugging on. Set USB Mode to Moto Phone Portal.
Download SuperOneClickFor2.1.zip from this thread and root your device.
8)
Reboot. Download HIGGS's deodexed files from this thread. Extract system to the root of your sdcard. Make sure "USB Connection" is set to "None".
enter the following adb commands:
Code:
adb shell
su
stop
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
cp /sdcard/system/app/* /system/app/
cp /sdcard/system/framework/* /system/framework/
rm /system/app/*.odex
rm /system/framework/*.odex
mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system
reboot
Note: after typing "su" for the first time, on your phone the app "Superuser" should pop up with a notification asking for root permissions. It's important to allow this.
9)
Optional: At this point "google search" was FCing. To fix it download the search_fix.zip attachement, extract it to the root of your sdcard and use adb:
Code:
adb shell
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
cp /sdcard/QuickSearchBox.apk /system/app/QuickSearchBox.apk
reboot
10)
Now everything should be working. Switch to the other keyboard (or install a new one). I recommend to uninstall Bloatware. Make sure to install a new Launcher before uninstalling "BlurHome.apk"! I uninstalled the following apps using adb:
Code:
adb shell
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
rm /system/app/AdService.apk
rm /system/app/Alipay.apk
rm /system/app/ArcPhotoworkshop.apk
rm /system/app/ArcVideoEditorLite.apk
rm /system/app/AudioEffectSettings.apk
rm /system/app/BatteryManager.apk
rm /system/app/BingClient.apk
rm /system/app/BlurEmail.apk
rm /system/app/BlurHome.apk
rm /system/app/Dianping.apk
rm /system/app/DLNA.apk
rm /system/app/Dock.apk
rm /system/app/EventReminder.apk
rm /system/app/FileManager.apk
rm /system/app/Firewall.apk
rm /system/app/FMRadio.apk
rm /system/app/FMRadioService.apk
rm /system/app/Gobang.apk
rm /system/app/HomeSyncWizard.apk
rm /system/app/Landlord.apk
rm /system/app/MagicSmokeWallpapers.apk
rm /system/app/Mobee.apk
rm /system/app/MotoImeTutorial.apk
rm /system/app/MotoPhonePortal.apk
rm /system/app/MotoSmartHandWriting.apk
rm /system/app/MSExchangeService.apk
rm /system/app/Mynet.apk
rm /system/app/Palmebook.apk
rm /system/app/PerformanceManager.apk
rm /system/app/PhotoWidget.apk
rm /system/app/PicoTts.apk
rm /system/app/PimBackup.apk
rm /system/app/Pinyin.apk
rm /system/app/Protips.apk
rm /system/app/QQ.apk
rm /system/app/QuickContactWidget.apk
rm /system/app/QuickOffice.apk
rm /system/app/Shop4Apps.apk
rm /system/app/SimContactAdapter.apk
rm /system/app/SinaWeatherWidget.apk
rm /system/app/SinaWeibo.apk
rm /system/app/SocialShare.apk
rm /system/app/SpellingCheckService.apk
rm /system/app/StatusWidget.apk
rm /system/app/StickyNoteWidget.apk
rm /system/app/Stk.apk
rm /system/app/StraightFlush.apk
rm /system/app/Sudoku.apk
rm /system/app/Tilemaze.apk
rm /system/app/ToggleWidgets.apk
rm /system/app/VisualizationWallpapers.apk
rm /system/app/WindowsLiveClient.apk
rm /system/app/WorldClockWidget.apk
rm /system/app/WorkContacts.apk
rm /system/app/YoudaoDict.apk
rm /system/app/YoukuHD.apk
exit
11)
Optionally install Tenfar's recovery, choose "Install Recovery System", give it root access and finally boot into recovery. REMEMBER to deactivate usb debugging before booting into recovery or it won't work!
12)
Optional: Black Notification Bar. Download froyo_theme_files.zip and extract it to the root of your sdcard. For UK Froyo you need other files!!
adb:
Code:
adb shell
su
stop
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
cp /sdcard/framework-res.apk /system/framework/framework-res.apk
cp /sdcard/services.jar /system/framework/services.jar
reboot
13)
Optional: If your cam flash shouldn't work, try wiping camera data using titanium backup. If this still doesn't help. Install 2.21 UK via RSD Lite, wipe everything and do a factory reset (in settings -> privacy). Your flash should work again.
14)
Minor tweaks:
-To remove the Chinese text in your call history, go to Settings > Call Settings > Number Attribution Settings and deselect "Location"
-Install "autokiller" (it's NOT a task killer) from the market and set it to "ultimate" (as the Defy has plenty of RAM). Once you've done this, no need to ever open the app again (make sure "autokiller" is set to "apply at boot" though). For me this improves performance and battery life.
-If you should have problems with 2G or 3G, this app might help: ItfunzBaseBandSwitcher.apk
You need root. For T-Mobile usa:美版基带 For EU: 欧版基带 Click and reboot your phone.
Thanks for this useful guide.
Does the flash camera work "properly" following this method?
A question, is this guide for US or European users? Does 3G and stuff like that work in Europe?
ellendel said:
Thanks for this useful guide.
Does the flash camera work "properly" following this method?
Click to expand...
Click to collapse
Yes it works properly for both camera and camcorder.
pomah said:
A question, is this guide for US or European users? Does 3G and stuff like that work in Europe?
Click to expand...
Click to collapse
For European. I'm not sure about US and 3G.
Great i'll follow your guide. Thx again
one question
First, thanks for all the work doing this guide.
i have a problem when trying to apply update.zip from Tenfar's recovery, i get this error:
installing update...
assert failed: getprop("ro.product.model") == "ME525" && getprop("ro.build.version.sdk") == "8" E:Error in /sdcard/update.zip
(Status 7)
Installation aborted
i check twice the update.zip file, but always do the same, i downloaded twice and checked twice without errors...
what i'm doing wrong?
thanks in advance
koto2 said:
i have a problem when trying to apply update.zip from Tenfar's recovery, i get this error:
installing update...
assert failed: getprop("ro.product.model") == "ME525" && getprop("ro.build.version.sdk") == "8" E:Error in /sdcard/update.zip
(Status 7)
Installation aborted
Click to expand...
Click to collapse
I updated the guide (Point 6). Try point 6 before rooting. It should work.
And what do you do to fix the flash? The only difference between this and when I flash is the deodexed files... And my flash don't work.
Thanks!
tensan said:
And what do you do to fix the flash? The only difference between this and when I flash is the deodexed files... And my flash don't work.
Thanks!
Click to expand...
Click to collapse
Camera flash works with or without deodexed files. No fixes needed.
Did you flash this unrooted ROM from here? Other roms might not work properly.
Did you also wipe everything after flashing? This is important.
shamo42 said:
Camera flash works with or without deodexed files. No fixes needed.
Did you flash this unrooted ROM from here? Other roms might not work properly.
Did you also wipe everything after flashing? This is important.
Click to expand...
Click to collapse
Yes, both. I wipe and my flash works sometimes only. Have you tested the flash for many times?
Thanks!!
tensan said:
Yes, both. I wipe and my flash works sometimes only. Have you tested the flash for many times?
Thanks!!
Click to expand...
Click to collapse
I just tested it 10 times in a row. No problems.
edit:
Here is a video that shows flash working without problems:
http://www.youtube.com/watch?v=viyxqVLtZE4
quadrant score?
Kovyrshin said:
quadrant score?
Click to expand...
Click to collapse
~1250 @800Mhz
~1600 @1200Mhz:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Maybe my problem was that I install google apps after I root the.phone. I will try to do before.
Thanks a lot
Sent from my MB525 using XDA App
shamo42 said:
~1250 @800Mhz
~1600 @1200Mhz:
Click to expand...
Click to collapse
nice stats... gonna give it a try this weekend, if i wont drive away snowboarding.
shamo42 said:
...
Advantages of this guide:
...
+Wifi works (no fix needed)
+Market works (no fix needed)
...
Click to expand...
Click to collapse
Hi!
I follow all the great guide and works really fine, but I found a little bug. When I turn on the Wifi connection after 5mins of inactivity (or 10m) my motorola Defy doesn't reconnect by itself. I must disconnect, forget the password and re-type the password.
Anyone can test it, so I don't know if it's my problem or a real bug of this image.
Thanks!
I followed the guide, everything works well, except the camera. There's still the camera flash bug, works only for the first time.
After i unzip the deodexed system folder in the sdcard root, then i try to follow the adb commands posted in the guide, but when i type in the shell
"cp /sdcard/system/app/* /system/app/" it says "no such file or directory.
Any suggestion?
ellendel said:
After i unzip the deodexed system folder in the sdcard root, then i try to follow the adb commands posted in the guide, but when i type in the shell
"cp /sdcard/system/app/* /system/app/" it says "no such file or directory.
Any suggestion?
Click to expand...
Click to collapse
Sure, and it's easy I had the same issue!
Swift the notification bar, Press the Option "USB Connection" and select "None".
Tell me what about.
Muznyu said:
I followed the guide, everything works well, except the camera. There's still the camera flash bug, works only for the first time.
Click to expand...
Click to collapse
Yes, I have the same problem! :S maybe we can fix it with the patch of other thread? :S Shamo, did you apply this patch? :S

[SCRIPT][6/19/2011] Inspirefy 1.1 for CM7 nightly - Delete stuff & Replace stuff

Hello, I wrote this shell script to make the CM7 nightly the way I like. It was a pain to do it manually every time I would flash a new nightly.
NOOB WARNING:
THIS SCRIPT IS FOR CM7 NIGHTLY ONLY. IT MAY WORK FOR OTHER CM7 BASED ROM BUT USE IT AT YOUR OWN RISK. IT DELETE SOME FILES ON THE /SYSTEM/APP AND MODIFY YOUR BUILD.PROP FILE. I'M NOT RESPONSIBLE IF YOU DESTROY YOUR PHONE NOR IF YOUR PET DIES AND THINGS LIKE THAT.​​
This script do this:
1) delete some APKs from /system/app that I don't need
/system/app/Camera.apk - replaced by Miui camera
/system/app/Calculator.apk - I use RealCalc
/system/app/FileManager.apk - I use Root Explorer
/system/app/Music.apk - I use the new Music App
/system/app/BooksPhone.apk - I don't use this
/system/app/Protips.apk - Useless
Click to expand...
Click to collapse
2) replace the boot animation with a sharper and bigger version (file size is bigger too)
The original boot animation size is too small for our screen. Some people could car less for this as you don't reboot your phone that often.
Original boot image:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
New boot image:
Click to expand...
Click to collapse
3) replace the default camera for a Miui camera
We all know the AOSP camera sucks...
Click to expand...
Click to collapse
4) backup and edit build.prop to display "Inspire 4G" as device name
Some people asked how it affect the market and so far so good for me.
I have no idea if automatic backup/restore from Google is working or not. I use Titanium Backup to restore my apps before I login with my Google account.
Click to expand...
Click to collapse
Things you will need:
1) Scripting Layer for Android (SL4A)
Free app. We will use this to run the script.
Click to expand...
Click to collapse
2) Script and other files - RAR version inspirefy_files_v1.1.rar or ZIP version: inspirefy_files_v1.1.zip
All the files needed for the magic to happen...
VERSION 1.1 UPDATE: If you already have the version 1.0 on your phone you can download the attached zip file from this post to update the script to version 1.1 - Just extract the zip file to /sdcard/inspirefy/ and replace the old 'inspirefy.sh' script.
Click to expand...
Click to collapse
How to install & use it:
1) Extract the inspirefy_files.rar (or inspirefy_files.zip) to the root of your sdcard (/sdcard).
You will have 2 new folders (or just 1 new folder is SL4A was already installed): /sdcard/inspirefy and /sdcard/sl4a
2) Install the sl4a on your phone and run it.
2a) Select "run-inspirefy.sh" from the main screen. If it's your first time running the script you must confirm the super user request.
3) After the script is done (about 2s) you can close SL4A and reboot your phone.
Done
You can edit the file /sdcard/inspirefy/inspirefy.sh with your preferred text editor to make any changes you would like, maybe you want to keep the Tips widget
Have fun!
Thanks to dog77k for the feedback and suggestions and everybody who is using this script.
Good stuff LGSilva. Will let you know how things go after I find a free method to extract the rar (don't use root explorer) or when I get to my desk...
Very cool and glad to see this. Nice job
Sent from my Desire HD using XDA Premium App
Just added a ZIP version for the necessary files in case you want to do this on your phone.
forgive me, but I've never ran a script on android before. I loaded up the folders on the root of my sdcard, installed SL4A and ran it. Superuser didn't ask for permissions. Also, I can't figure out how to run what I need to. Help?
poetofsound said:
forgive me, but I've never ran a script on android before. I loaded up the folders on the root of my sdcard, installed SL4A and ran it. Superuser didn't ask for permissions. Also, I can't figure out how to run what I need to. Help?
Click to expand...
Click to collapse
When you ran the script did you get the terminal window output with something like this?
Code:
Inspirefy 1.0 by LGSilva
Remounting system partition rw...
Deleting apk files and boot animation...
Copying new boot animation and camera...
Setting permitions and ownership...
Backuping build.prop and changing device name...
Remounting system partition as ro...
DONE
.
The text is tiny but you can read it. Is there any error message on the terminal window?
Check the superuser app, sometimes it will have the SL4A marked to deny root...
Edit: Just testing on build 103... looks like SL4A is not happy with this build, time to investigate.
LGSilva said:
Edit: Just testing on build 103... looks like SL4A is not happy with this build, time to investigate.
Click to expand...
Click to collapse
They (nightly forum) are saying that the SU app is jacked on 103...
Nightly build #103 have a problem with Superuser not working right therefor my script won't work either.
To fix this download the Superuser from Rom Manager > Extras, reboot in recovery and install it.
dog77k said:
They (nightly forum) are saying that the SU app is jacked on 103...
Click to expand...
Click to collapse
Yep, you beat me to that, I blame the internet
Two suggestions/hints for the inspirefy.sh code:
"chown root.root /sys..." gave me an unknown user/group error, but "chown 0.0 /sys..." worked for me.
I was getting an error when trying to remount /system as ro that it was still busy so I added a 2 sec pause before trying to remount:
Code:
echo -e "Remounting system partition as ro...\n"
sleep 2
mount -o ro,remount -t ext4 /dev/block/mmcblk0p25 /system
echo -e "DONE.\n"
Otherwise the code worked well for me. Great work LGSilva.
I was having problems with SU thats why lol I'll fix it and try this again and update when I'm done
dog77k said:
Two suggestions/hints for the inspirefy.sh code:
"chown root.root /sys..." gave me an unknown user/group error, but "chown 0.0 /sys..." worked for me.
I was getting an error when trying to remount /system as ro that it was still busy so I added a 2 sec pause before trying to remount:
Code:
echo -e "Remounting system partition as ro...\n"
sleep 2
mount -o ro,remount -t ext4 /dev/block/mmcblk0p25 /system
echo -e "DONE.\n"
Otherwise the code worked well for me. Great work LGSilva.
Click to expand...
Click to collapse
Thank you dog77k for the suggestions.
I've updated the script with them and also added a 2sec pause after mounting it as RW just in case...
Files with version 1.1 updated on the first post, no need to reinstall SL4A.
tested and seemed to run just fine on build 104. thanks for the awesome script! very cool
Thank you!
+1 to both of you, thanks for the great scripting solution.

Categories

Resources