yashsingh1/xdaforums huggingface dataset:
[Optimus One, P500 Original Android Development] emyller:
You're welcome, it's great that it's working fine now. Going off-topic but also finishing the conversation on this subject, I advise you start it all over: install the stock 2.3.x KDZ then make your way to CyanogenMod again, so you'll never need to install any baseband fix.
[Optimus One, P500 Original Android Development] nldxda:
OK I'll look into this, thnx
[Optimus One, P500 Original Android Development] nldxda:
Question.. The move to SD script is clearly working, sweet... But I noticed the available internal space lowered a few mb after some use. What data is that? What's a good app to view/manage the apps contained in sd-ext and their associated data?
[Optimus One, P500 Original Android Development] 3ncrypt3d_Droid:
For amonra recovery you must mount system before flashing old bb fix or it won't work:D
[Optimus One, P500 Original Android Development] nldxda:
How do I mount system?
[Optimus One, P500 Original Android Development] 3ncrypt3d_Droid:
Boot into recovery(amonra)

> mounts

>mount/system

Go back to main menu and flash obb zip.

done

You don't need to do this for cwm.. I don't know about twp as I've never used that recovery.
[Optimus One, P500 Original Android Development] nldxda:
so that explains the problem I had, thnx
[Optimus One, P500 Original Android Development] 3ncrypt3d_Droid:
Yep.. no problem:D
[Optimus One, P500 Original Android Development] DavisNT:
Those are application data (/data/data). They are not moved, due to several reasons (and generally they should not fill entire space on /data partition).

You can use any file manager capable of viewing files outside sdcard (e.g. Root Explorer, ES File Explorer). Just look into /sd-ext for everything moved to sd-ext and look in /data (except moved folders - see original post of this thread) for everything that stays in data partition.
[Optimus One, P500 Original Android Development] nldxda:
OK thnx...... Also, I found "disk usage" (to answer my other question) which shows the data on the partition

---------- Post added at 03:48 PM ---------- Previous post was at 03:08 PM ----------

ok more questions:

Even though everything's working, I'd like to wipe everything and re-flash it all again (I need to know how to do this anyway for each time the rom updates). I wanna try to get ext-4 to work, even though I'm not having problems with ext-2. So Ima try changing that.

My question is, how do I properly wipe now that the move to sd-ext is being used? I wanna know for clockworkmod AND amon ra.. any extra steps or things I should know/do?

thnx
[Optimus One, P500 Original Android Development] ruelericsapalaran:
This is the best A2SD mod I've used so far in terms of stability. However, I'm always having problems about it when reflashing my rom. Before I reflash, I have around 100 MB of free space. After it, it goes down to 28 MB. I believe I did the instruction correctly but still.

Is this really the case after reflashing? If not, is there a fix for this?

TIA
[Optimus One, P500 Original Android Development] DavisNT:
Can you do the following commands

su
busybox ls -la /data

and paste here the output?
[Optimus One, P500 Original Android Development] ruelericsapalaran:
Here:

app_6@android:/ $ su

app_6@android:/ # busybox ls - la /data

ls: -: No such file or directory

ls: la: No such file or directory

/data:

!bOOM_Stick_COOKED.log

!bOOM_Stick_RAW.log

99SuperCharger.sh

BootLog_FastEngineFlush.log

BootLog_SuperCharger.log

Log_SuperCharger.log

Ran_EngineFlush-O-Matic.log

Ran_SuperCharger.log

V6_SuperCharger

amit

anr

app

app-private

audioprop

backup

dalvik-cache

data

dontpanic

drm

init.rc

init.rc.unsuper

local

lost+found

misc

nv

property

radio

resource-cache

spiritsu

system

tombstones

user

1|app_6@android:/ #
[Optimus One, P500 Original Android Development] DavisNT:
There must be no space between dash and la
[Optimus One, P500 Original Android Development] ruelericsapalaran:
I hope this is correct this time :)

app_6@android:/ $ su

app_6@android:/ # busybox ls-la /data

ls-la: applet not found

1|app_6@android:/ # busybox ls -la /data

-rw-rw-rw- 1 root root 2521 Jun 26 08:59 !bOOM_Stick_COOKED.log

-rw-rw-rw- 1 root root 1799 Jun 26 08:59 !bOOM_Stick_RAW.log

drwxrwx--x 1 system system 2048 Jun 26 09:00 .

drwxr-xr-x 15 root root 0 Jun 26 09:00 ..

-rwxrwxrwx 1 root root 9838 Jun 26 08:54 99SuperCharger.sh

-rw-r--r-- 1 root root 178 Jun 25 22:46 BootLog_FastEngineFlush.log

-rw-r--r-- 1 root root 737 Jun 25 22:48 BootLog_SuperCharger.log

-rw-r--r-- 1 root root 1572 Jun 25 22:45 Log_SuperCharger.log

-rw-r--r-- 1 root root 127 Jun 25 22:46 Ran_EngineFlush-O-Matic.log

-rw-r--r-- 1 root root 1262 Jun 25 22:48 Ran_SuperCharger.log

drwxrwxrwx 1 root root 2048 Jun 26 08:52 V6_SuperCharger

drwxrwxrwx 1 root root 2048 Jun 25 22:41 amit

drwxrwxr-x 1 system system 2048 Jun 26 18:24 anr

lrwxrwxrwx 1 root root 11 Jun 25 22:41 app -> /sd-ext/app

lrwxrwxrwx 1 root root 19 Jun 25 22:41 app-private -> /sd-ext/app-private

drwxrwxrwx 1 system system 2048 Jun 23 19:31 audioprop

drwx------ 1 system system 2048 Jun 25 22:41 backup

drwxrwx--x 1 system system 2048 Jun 26 06:13 dalvik-cache

drwxrwx--x 1 system system 2048 Jun 26 06:13 data

drwxr-x--- 1 root log 2048 Jun 23 19:31 dontpanic

drwxrwx--- 1 drm drm 2048 Jun 25 22:42 drm

-rwxr-x--- 1 root root 21029 Jun 26 08:54 init.rc

-rwxr-x--- 1 root root 18533 Jun 23 22:53 init.rc.unsuper

drwxr-x--x 1 root root 2048 Jun 25 22:42 local

drwxrwx--- 1 root root 2048 Jun 23 19:31 lost+found

drwxrwx--t 1 system misc 2048 Jun 25 22:42 misc

drwx--x--x 1 system system 2048 Jun 23 19:31 nv

drwx------ 1 root root 2048 Jun 26 08:54 property

drwxrws--- 1 radio radio 2048 Jun 25 23:14 radio

drwxrwx--x 1 system system 2048 Jun 23 19:31 resource-cache

-rwxrwxrw- 1 root root 10 Jun 26 14:50 spiritsu

drwxrwxr-x 1 system system 2048 Jun 26 18:40 system

drwxr-xr-x 1 system system 2048 Jun 25 22:42 tombstones

drwxr-xr-x 1 system system 2048 Jun 25 22:42 user

app_6@android:/ #
[Optimus One, P500 Original Android Development] DavisNT:
It is correct. I will create a flashable fix soon. :)
[Optimus One, P500 Original Android Development] DavisNT:
Some recoveries (e.g. Clockworkmod Recovery) delete Dalvik cache folders instead of deleting everything in them. In that case Android recreates Dalvik cache on /data partition during next boot (i.e. Dalvik cache is moved back to internal memory when wiped from Clockworkmod Recovery and consumes space there).

To overcome this behavior utility_Dalvik-cache_sd-ext-signed-vXX.zip must be flashed. It deletes /data/dalvik-cache and /sd-ext/dalvik-cache, recreates /sd-ext/dalvik-cache and symlinks /data/dalvik-cache to it. In result Dalvik cache is wiped and moved to sd-ext.

Warnings and disclaimer on first post of this thread.

Instruction below only applies when this mod (Move to sd-ext) has been set up before wiping Dalvik cache.

After wiping Dalvik cache from Clockworkmod Recovery (or other recovery deleting Dalvik cache folders):

Flash utility_Dalvik-cache_sd-ext-signed-vXX.zip via Recovery.
[Optimus One, P500 Original Android Development] ruelericsapalaran:
This fix is awesome. My internal memory is now back to 125 MB :)
[Optimus One, P500 Original Android Development] claus1953:
I have an Optimus L) with JB stock ROM, rooted and CWM installed. I have partitioned my SD card and i have used link2SD to move some heavy apps to the SD. Can i use this script on my device with this ROM?
[Optimus One, P500 Original Android Development] ruelericsapalaran:
I believe you can. You just have to uninstall Link2SD first before installing the script. :)
[Optimus One, P500 Original Android Development] magicreal:
hi

i have a miui and i wanna try this move to sd...i still use init2ext+....can i use this move to sd or i have to reinstall the rom?
[Optimus One, P500 Original Android Development] DavisNT:
You have to remove previous mod.

One way to do so is by reinstalling ROM and wiping data and sd-ext (it is possible to backup and restore most data and applications using Titanium backup).
[Optimus One, P500 Original Android Development] korbeny:
Flashed on CM10.1.3... works like a charm, good job! :good:
[Optimus One, P500 Original Android Development] droidgeek99:
Stuck at at boot animation

Hello, after flashing this my LG Optimus P500 got stuck at the boot logo. I'm using this AOKP 4.2.2 ROM: http://xdaforums.com/showthread.php?t=2212316

Anyone else have this trouble?

Otherwise this looks like a great MOD!
[Optimus One, P500 Original Android Development] mns123:
Works well with CM 10.1.4.. Great job!
[Optimus One, P500 Original Android Development] joznathan:
this mod never work for me, please help me for installation step for step ,
[Optimus One, P500 Original Android Development] mcd_legend:
somehow i feel that amonra and CWM are bugged

they mess up with partitioning stuff

try TWRP and repartition your sdcard

make sure u

1 flash rom + gapps

2 flash sd_ext.....

3 first boot ... sign in google account

4 flash to_ext.....

5 reboot

always worked for me with TWRP but with amonra and cwm for me sometime it worked sometime it didnt
[Optimus One, P500 Original Android Development] yokitasukamoto:
:good: works well @ [ROM][4.2.2][[CM10.1.5] Jenkins Builds (03 Oct, 2013)
[Optimus One, P500 Original Android Development] slepejs:
error status 7

Please help

I did format sd card (A-DATA 32GB class 10) on ext4 partition 2GB swap 0 I installed the 10.1.6 CM + gapps then flash sd_ext ..... , Reboot and flash to_ext ..... I want, but I always have an error - status 7 What am I doing wrong?
[Optimus One, P500 Original Android Development] DavisNT:
Where/when is the message stating "error - status 7" displayed?
[Optimus One, P500 Original Android Development] slepejs:
message "Error - Status 7" appears immediately after line mounting. I'm in recovery mode and running the install zip from sd. Of course, the line of the error message is more, but the last one is (error 7).
[Optimus One, P500 Original Android Development] DavisNT:
Looks like you have partitioned SD card incorrectly.

Can you save to sdcard and post here recovery log? Have you tried partition SD card using AmonRa recovery?
[Optimus One, P500 Original Android Development] slepejs:
I formatted SD card via recovery mod, partition SD Card. Ext size 2048 Swap 0M. I then reformat the ext partition MiniTool software program to ext4. Followed by installation of CM 10.1.6 (Android 4.2.2), but I already wrote.

I even tried this: After wiping Dalvik cache from Clockworkmod Recovery (or other recovery deleting Dalvik cache folders):

Flash utility_Dalvik-cache_sd-ext-signed-vXX.zip via Recovery.

He writes to me:

Mounting data ...

Monting sd-ext ...

Verifying mounts ...

assert failed: is_mounted ("/ data") == "/ data" && is_mounted ("/ sd-ext") == "/ sd-ext"

E: Error in / sd-cart/DCIM/Cyanongenmod/utility_Dalvik-cache_sd-ext-signed-v10.zip

(Status 7)

instalation aborted.

and the same is with to_sd-ext_patch-signed - v11.zip

The following items will be moved to /sd-ext and linked:

* /data/app

* /data/app-private

* /data/dalvik-cache

mounting data..

mounting sd-ext..

Verifying mounts...

assert failed: is_mounted ("/ data") == "/ data" && is_mounted ("/ sd-ext") == "/ sd-ext"

E: Error in / sd-cart/DCIM/Cyanongenmod ................. (Status 7)

I tried AmonRa recovery.

You can send the link?
[Optimus One, P500 Original Android Development] DavisNT:
If I understood you correctly, you want to try Amon Ra recovery. It can be downloaded from this site. LG P500 needs file recovery-ra-thunderg-3.06-gnm.img.

You need to partition SDcard and afterwards convert ext2 to ext3 or ext4. All partitioning and conversion can be done from the recovery.

Warning! Repartitioning SDcard will erase all data from it.
[Optimus One, P500 Original Android Development] lera3996:
Why me?...

Can you tell me step by step how you did it, please, I've tried with this ROM, and it didn't work for me.

Oh, and which recovery do you use?

And the same ROM that you. Please.

Thanks
[Optimus One, P500 Original Android Development] Stone7:
Hey I just installed this on CM 10.1.6 and whenever I download an app and starts installing, my phone reboots every time. I tried with different apps... Any solution?
[Optimus One, P500 Original Android Development] lera3996:
Can someone help me please?

Please, I really need help, I'm using this rom: [ROM][4.2.2][CM10.1.5] Jenkins Builds (03 Oct, 2013)

And this Amon Ra Recovery ver.: [RECOVERYs][LATEST]Flashable Recovery Zips For P500

And I do this:

1.- Wipe All (Data, cache and Dalvik cache)

2.- Install ROM

3.- Install gapps

4.- Install sd-ext_patch-signed-v11.zip

5.- Reboot, sign in with my google account.

6.- Reboot in recovery mode and install to_sd-ext_patch-signed-v10.zip

But when I reboot, just get a bootloop. And can't do anything.

I've tried with CWM too, it doesn't work.
[Optimus One, P500 Original Android Development] mns123:
It works well with 10.1.6 too.

What I do every time, using Amon Ra3.06 recovery

1. Wipe all(Data,cache,and dalvik cache}

2. Install ROM

3. Install sd-ext_patch-signed-v11.zip

4. Reboot, sign in with my Google account

5. Now this is important- Install at least one application.

6. Reboot in recovery mode and install to_sd-ext_patch-signed-v10.zip

7. Reboot system.

It works every time.
[Optimus One, P500 Original Android Development] lera3996:
I will try it, and tell you, thanks.
[Optimus One, P500 Original Android Development] lera3996:
I tried it, and didn't work. I've waited 20 min in the boot screen before noticed that I had a bootloop, again.
[Optimus One, P500 Original Android Development] slepejs:
Thank you very much for instructions. It seems that everything was as it should after installing Amon Ra3.06 recovery. Why does my phone still reports that I only have 150 megabytes of free space?

Which is quite a bit more than I had before - 14 megabytes

It should show the value of 2000 megabytes, when I formatted SD to 2048 megabytes?

But I guess it works.

Once again, thank you very much.
[Optimus One, P500 Original Android Development] mcd_legend:
use titanium backup to see the exact values
[Optimus One, P500 Original Android Development] DavisNT:
[MENTION=4718662]droidgeek99[/MENTION] [MENTION=4222933]joznathan[/MENTION] [MENTION=5259112]lera3996[/MENTION] [MENTION=3487101]Stone7[/MENTION]

Please flash sd-ext_patch-signed-vXX.zip boot into your ROM, run the following commands and post here the output:

su
mount
ls -la /dev/block/mmcblk*
[Optimus One, P500 Original Android Development] lera3996:
Here is my output

brw------- root root 179, 0 2013-10-21 17:27 mmcblk0

brw------- root root 179, 1 2013-10-21 17:27 mmcblk0p1

brw------- root root 179, 2 2013-10-21 17:27 mmcblk0p2
[Optimus One, P500 Original Android Development] DavisNT:
Please post full output (including output of mount)!
[Optimus One, P500 Original Android Development] slepejs:
SD-ext_patch - CM 10.2 (Android 4.3.1)

Please, is there any Int2Ext (SD-ext_patch) that works on cm_p500-userdebug-cm-10.2?

Or how to make that work?
[Optimus One, P500 Original Android Development] DavisNT:
Have you tried this patch (from original post of this thread)? ;)

If yes, can you issue the commands I recently mentioned after flashing only sd-ext_patch-signed-vXX.zip?
[Optimus One, P500 Original Android Development] lera3996:
Sorry

Sorry but now my OO is dead. :(
[Optimus One, P500 Original Android Development] hariraj96:
2nd zip bootloops on cm 10.2 stable using both twrp,cwm.....
[Optimus One, P500 Original Android Development] DavisNT:
Please flash sd-ext_patch-signed-vXX.zip boot into your ROM, run the following commands and post here the output:

su
mount
ls -la /dev/block/mmcblk*
[Optimus One, P500 Original Android Development] hariraj96:
gave up on it and started using link2sd....
[Optimus One, P500 Original Android Development] mum_laris:
Script compatible with Cooper?

Hi all.

I've installed: http://download.cyanogenmod.com/?device=cooper&type=stable

So I'm on 7.2.0 (2.3.7)

Created ext2 partition after vfat one.

I've installed ROM, gapps, booted phone, tryed some apps...

Realized Link2sd doesn't work for mismatch between mount-point of ROM and app "waiting-for"...

Then I tryed Your script.

Verified mount as your request:

/dev/block/mmcblk0p2 on /sd-ext type ext3 (rw,noatime,nodiratime,barrier=1,nodelalloc,data=ordered)

So, first of all tried:

to_sd-ext_patch-signed-v10.zip

But, rebooting, system doesn't come up!

Restarted again: installed ROM, gapps, booted phone...

So I tried only with:

utility_Dalvik-cache_sd-ext-signed-v10.zip

And in this way, after a long time... System booted!!!

So I'd like to know: what was wrong in previous try?

Thanks a lot!!!

Cheers,

M.
[Optimus One, P500 Original Android Development] mum_laris:
Moving dalvik-cache after use?

And, please, tell me if I can move dalvik-cache with this script also "after" the normal use of a mobile like mine (and not only freshen install!).

I'd like to try it on "mimmi" too...

Thanks...

:)
[Optimus One, P500 Original Android Development] DavisNT:
Can you boot the phone and install an app before applying to_sd-ext_patch-signed-v10.zip?

This mod is meant to be used on a phone with apps installed, but nevertheless make a full Nandroid backup before trying this mod.
[Optimus One, P500 Original Android Development] mum_laris:
But I did!

You see:

So there's somethiing different...

I think it's related to partition size... What size is yours?

Thanks.

M.
[Optimus One, P500 Original Android Development] DavisNT:
My ext partition size was 1 GB or 2 GB.

So you:

had a working phone with CyanogenMod 7.2 (and some apps installed)

flashed sd-ext_patch-signed-v11.zip

rebooted the phone (booted in ROM)

opened Android Teminal (or adb shell from computer)

invoked

su
mount

and in the output of mount saw

/dev/block/mmcblk0p2 on /sd-ext type ext3 (rw,noatime,nodiratime,barrier=1,nodelalloc,data=o rdered)

rebooted phone in recovery

flashed to_sd-ext_patch-signed-v10.zip without any errors/warnings being displayed

rebooted and got bootloop

Is this all correct?
[Optimus One, P500 Original Android Development] hariraj96:
is this script supported on kitkat ?? whenever i try either the phone reboots on installing new apps or after rom reflash if it install properly all the apps on data partition FC..
[Optimus One, P500 Original Android Development] DavisNT:
What ROM are you using?
[Optimus One, P500 Original Android Development] eagledipesh:
Hi, is this compatible with CM11 or Omni 4.4.4 roms, i want to try this on LGp500.
[Optimus One, P500 Original Android Development] DavisNT:
Is performance of those ROMs reasonable (e.g.no 15 seconds button-clicks)?

If yes, I can test them.
[Optimus One, P500 Original Android Development] eagledipesh:
It seems the system is laggy already, but again i only have 36KB of space left with fully trimmed rom + Gapps lights.

Its a necessity i guess.
[Optimus One, P500 Original Android Development] DavisNT:
I remember that Move to sd-ext was not working on one CM11 port for LG P500, and I haven't tried to fix it, because P500 with that ROM was IMHO too slow for everyday use.

I think you can do full Nandroid backup and then try this mod... :S
[Optimus One, P500 Original Android Development] eagledipesh:
I tried it on omega rom, first script works but doesnt work, i had to install link2sd, second script to sd script fails, i am using TWRP recovery

Thanks :)
[Optimus One, P500 Original Android Development] m.morcielago:
Can I flash it on stock rom?
[Optimus One, P500 Original Android Development] DavisNT:
I don't know (I assume it may not work with stock ROM, but you can make full Nandroid backup and test it). Remember that you have to partition SDcard before flashing Move to sd-ext.

For testing you can actually flash sd-ext_patch-signed-vXX.zip at first and do

su
mount
busybox df -h

in Android Terminal to see whether /sd-ext has been mounted (if it appears in output of mount and df then most likely Move to sd-ext will work on your ROM and you can flash the second file).
[Optimus One, P500 Original Android Development] m.morcielago:
I did it

I created 2ext partition,and flashed it

And its results
[Optimus One, P500 Original Android Development] DavisNT:
Looks like Move to sd-ext is not supported on your ROM. :(
[Optimus One, P500 Original Android Development] mns123:
Can I flash it with stock rom V20D with sd ext formatted to FAT32?

Link 2SD works with FAT32 only.

Output attached
[Optimus One, P500 Original Android Development] DavisNT:
Looks like you don't have /sd-ext mounted, so to_sd-ext_patch-signed-vXX.zip should not be flashed.
[Optimus One, P500 Original Android Development] mns123:
I have problems with this script in cm-10.2, not being able to install new apps.

Here are my outputs after flashing to_sd-ext_patch-signed-vXX.zip
[Optimus One, P500 Original Android Development] DavisNT:
What is the SELinux mode in this ROM (can be seen in Settings -> About)?
[Optimus One, P500 Original Android Development] mns123:
SE Linux status is Permissive.
[Optimus One, P500 Original Android Development] DavisNT:
Can you try installing an app andpost logcat afterwards?
[Optimus One, P500 Original Android Development] mns123:
Here is the Logcat
[HTC Amaze 4G] Double0EK:
Just flashed your modified boot.img so far everything works as described. Going to attempt my backlight script now. Just reflashed the stock RUU as certain Roms were giving me WiFi issues. Thanks :)
[HTC Amaze 4G] KnowledgeBroker:
Is this why adb remount never worked?? I asked a few people and they acted like I was crazy.. I KNEW there had to be a reason it wasn't working.. I guess my only question is why was it no one thought to do this since the ICS release except you? LOL.

Edit: And I am out of thanks, this is my mental note to come back and hit thanks when I get some to give again!

Edit2: As advertised it works flawlessly, as advertised. It will be awesome to be able to push files to my phone and all the other things I couldn't do before! A simple tweak, as you said, still appreciated!
[HTC Amaze 4G] mrmako777:
seems like were getting some more people around here that actually contribute to the amaze forums. thanks guys...carry on :D
[HTC Amaze 4G] bilek06:
Thank you very much :):)
[HTC Amaze 4G] Dark Nightmare:
Now to find some scripts to run, lol.
[HTC Amaze 4G] ringochan:
Thank you all for the kind words!:) As I said in the OP, I was curious at first about the usefulness of my post. I truly believe that, if HTC had given us more power to mod this phone, this forum would have been 10 time more active with all sorts of useful stuff. Come on HTC, you give us the best phone (even better than the One series!), and why do you want to cripple us?

As I didn't test the boot.img with any roms around, I don't know what went wrong with your wifi. That's why I only promised it would work with the NEWER stock ICS rom. Is it possible that you flashed the boot.img to a custom rom that is based on the OLDER leak?

Additionally, if the rom dev has made his/her own mods to the boot.img, it would not be compatible with the stock boot.img like mine. I didn't add, remove or move any files.

Hehe, yeah it is because of some security settings that phone manufacturers chose to enable in order to minimize customer support costs, I guess. Instead, they should give us all the power (and funding, too) so that we can support each other at XDA!

I've used more than two dozen smart phones in the past, including ancient pda's and even iPhones (ouch!:D), and I think the Amaze has the best (mix of) hardware. I, too, wish there were more devs here, and wonder why some great devs around didn't see the potential in it. Well, HTC isn't doing something right...:o