yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] d2dthetide:
What's going on

How come…after a wipe… my phone reads music and video from my SD card?

I downloaded the video player and it played files stored on my sd card. I thought without the links it couldn’t read or write to the sd card.

I did a wipe….installed the new US jf 1.51, the used Lucids steps to link apps that were already on sd card. Everything seemed to be working….market, internet, most apps, usual force closes…. but seemed to be running much slower than Lucid’s mod jfRC33. I decided to try Data and Dalvik on sd. Couldn’t handle how slow it was...more force closes... and market wouldn’t download. Decided to start over. I deleted lucid’s files and did a wipe.

Decided to just play with what was on the phone before linking apps to sd. Speed was back up but I still think the radio sucks. Then I found out I could read my music and video...one of the main reasons for the sd.

I thought without the links it couldn’t read or write to the sd card.

Lucid your work is great!! You've made things so easy... especially your app in the market. It is so easy for a nuub to make a typing error. Are you going to look into apps on Ext3…suppose to stop force close errors. I’d like to try it if Lucid had error proof commands for it
[G1 Android Development] Unitas:
I'd be more worried if after a wipe and I had things on the sd that the phone wouldn't read them.

Without the symlink method the phone will access the apps and data stored on the internal phone memory. What the script does is (assuming you have an EXT2 partition in addition to the regular FAT32 partition on your sd card) move the folders that store apps and their data from your phone's internal memory to the EXT2 partition. It then creates symlinks from the old app and data folders on the internal memory to the new app and data folders on the sd card. So when the OS goes looking for them the links will direct it to the EXT2 partition, thus freeing up your internal phone memory and allowing you to install a lot more apps than you could without it.

But it can access the sd for normal storage just fine, just as if you're not running apps on sd.

Is your sd card up to snuff to run apps from the sd?
[G1 Android Development] Janis:
Can I format to Ext3 before update & script?

OK, I've run into "no space left" error 4 times using JF1.51 and Cyanogens Mod. I've tried both the adb and the Terminal Emulator on each.

So, I'm getting ready to wipe (I'll live) and flash back to JF 1.whatever this was based on, then with this easy-peasy thing cuz apparently I'm not getting the appstosd thing.

I'm booting to Linux to reformat my 16gb (class 6) partitions (something close to 14 and 1.5 gb split, since I wanted to have an even gb ceiling for my crap).

Can I format my extended partion to EXT3?

(BTW, be careful in establishing a Linux password. I did it after 2nd boot, and I don't know how, but my WinXP password got rehashed, and I had to crack it with Ubuntu. I can't beleive how easy it was. So why the heck am I not getting Apps2SD?)

So what causes the No space Left" error? I got mine in /system/ext
[G1 Android Development] LucidREM:
yes it is run in Terminal .. i'll see if i can't throw that in there .. seems like there could be some small side affects from that
[G1 Android Development] LucidREM:
the script should not care about EXT2 or EXT3 .. it only cares that there's something mounted to /system/sd in which the files can be written .. if your phone supports the EXT3 scenario then the script should work fine
[G1 Android Development] LucidREM:
i put it into the script .. under the help it tells you it's option "-od" .. i have just updated all of the options for the script so watch the help file .. anyhow .. to do the odex thing-a-ma-whats-it the two lines:

#lucid -od /data
#lucid -od /system/sd

now i can't say how safe it is to do under /data as this enlarges the information stored there .. i also can't say i've noticed any speed increase/decrease with this done on my phone

just grab the latest script and have fun!
[G1 Android Development] jmon777:
Lucid once again you are the man. I just bought ur app made things even easyer, must say u have been my fave dev lately.lol
[G1 Android Development] LucidREM:
well JF is my fave .. without him i am nothing - LOL

thanks man .. just trying to spread the love .. it's really good testing for people to use my stuff .. shows me what i need to fix
[G1 Android Development] osho741:
Ok thanks for adding it, I've read so far the only thing it messes up so far is themes if you optimize the /system/app but imma give it a try!

Edit:

I ran the odex-whatya-callit-andwhatthehelldoesitdothing

I agree that the speed increases are minnimal at best if at all, but it ran the script flawlessly, thanks for making my life easier with your app. Its the bomb!
[G1 Android Development] cidica:
Anyone tried this with ion yet? been thinking about moving over to ion from jf1.51 just have yet to take the plunge and love this script.
[G1 Android Development] sir*mez:
@ Lucid : Do you still ave the option to update boot.img cause i dont see it in the options??
[G1 Android Development] LucidREM:
yes sir .. never did add that to the actual menu .. but "lucid rem" still works for that .. i added the "auto" feature if anyone tries to switch to EXT3 instead of EXT2 .. it's a go in that new boot.img file .. i haven't yet tried the switch .. waiting a little to see some other results
[G1 Android Development] osho741:
Lucid, once again thanks for the great app! I got another request that everyone else might find useful too. Is it possible to set the phone's cpu speed to work at a set speed by default with a script so people could set the phone to max out at 528 max and 248 min, like a way for people to pick max and min speeds peramanently? Not sure if it can be done but I bet a lot of people would find a script like that useful as well.
[G1 Android Development] Unitas:
There's a widget in the market that does that, it's called "OverclockWidget" iirc.
[G1 Android Development] Jefpier:
Since the Ion & Hero ROM's were released, Does this script is compatible with the ROM's? Because if is compatible then we can skip the app_s process, and just install Hero (in that particular case).

The reason for this is that i love this script so much for the apps 2 sd and the many other things. If is not compatible then i will wait till is compatible to go to either Ion or HERO ROM's.
[G1 Android Development] edwin.espino:
yes it is compactible with Hero (with Rosi) I just flashed Hero and the Lucid script. I have 88mb internal memory free and all the benefits of Lucid script
[G1 Android Development] edwin.espino:
even so you can run the script you will still need to copy the app_sp folder to your sd card in order to boot after re-image with hero. Otherwise it will loop.
[G1 Android Development] Jefpier:
Just for the first boot? So i can delete afterwards?

Or for everyboot need so be on the sd?
[G1 Android Development] Jefpier:
By the way thanks.
[G1 Android Development] cidica:
anyone noticing an issue with the audio part of this script? I just reinstalled my phone a little bit ago and now that I'm home I was resetting up the lucid script and when I goto upgrade the audio he gives me a show_help_version: not found and show_help_audio: not found error and does nothing?
[G1 Android Development] tehseano:
I noticed this too. I'm assuming you're trying:

lucid -au -v2

Or whichever version? try it like this:

lucid -au v2

Worked for me (guessing Lucid's getting a bit groggy in his updates!!) :D
[G1 Android Development] Binary100100:
Why do I lose ringtones?

So using the 1.51.03 script and the command:

# lucid -m -sd

I was expecting the /media directory (ringtones, notifications and such) to be moved to the ext2 partition (1gb of space on a 16gb class 6). I rebooted the phone and checked my system ringtones and they were gone. Yet the command:

#lucid -s

showed /system/media was linked to system/sd

Since it didn't work for me I just used #lucid -m -g1 to return to normal. Rebooted... everything was fine.

So what happened?
[G1 Android Development] cidica:
ha! thanks worked perfect :)
[G1 Android Development] LucidREM:
you may just need to update the script file .. it's possible you got one of my "in between" versions of the script .. i am self testing everything to make sure it works .. so nothing in the newest script file should be looking for "version" or "audio" .. they've been renamed

glad it worked out for you .. anyone have feedback on the new options? ie: "-a" instead of "app" etc
[G1 Android Development] dialdayo:
uughh i am do pissed...i had to reformat my sd card because my EXT2 was not mounted in order to run my apps off of my sd card..i know i did it already but was it a way that i could of ran my apps of of my sd card without having to repartition..something must have messed up when i updated from JF1.5 ADP to J.F1.51
[G1 Android Development] LucidREM:
the information could have been recovered .. i'm sure you could have copied the app files to a linux desktop and done the format and then copied them back to the card
[G1 Android Development] osideous:
Lucid...i get a message

Nothing was done. /data/app is SYMLINK.

Nothing was done. /data/app-private is SYMLINK.

and my apps arent auto moving to the sdcard. other than clean a wipe and flash any way around this?
[G1 Android Development] LucidREM:
that message only displays when it's symlinked already .. why would you say the apps are not going to the SD?
[G1 Android Development] naars90:
bricked after flashing to jfv1.51crb43

ok, first time I flashed this ROM I couldnt move my apps to the sdcard because the LucidREM script said my EXT2 wasnt mounted...I had already partitioned my sdcard long before this and using different ROMS and trying them out...Lucid's ROMS were the only ones I could get to work right...so I stayed with his ROMS for the longest, but I got itchy fingers one day and decided to try a new ROM, the Cyanogen one, which I couldnt get to work right so I decided to flash back to Lucid's...did everything same as usual except for the part where Lucid's app(LucidREM) stated it couldnt mount my EXT2...okay, so thought I should repartition my sdcard, which I did using MartinFick's method( which I had already done before, went off without a hitch), that went well, wiped, flashed Lucid's ROM, checked if my EXT2 was mounted using busybox df-h(which it was) moved apps to sd using the Lucid script, rebooted and now stuck at G1 screen...panicked and reflashed but couldnt since I reformatted my card beforehand to use MartinFick's script and now I dont have an update.zip in my card...so I couldnt alt-s...did alt-w anyway and still stuck at G1 screen, been longer than 20 minutes now...

Soooo, should i just wait till I can get an update.zip in my card and flash again or am i screwed big time and stuck with a brick?
[G1 Android Development] osideous:
because im losing internal memory, when new apps are being installed.
[G1 Android Development] obe1:
lucid script and hero rom with rosie

so i downloaded the lucid app but now when i try to run it says this

java.io.IOException: Error running exec(). Commands: [/system/bin/su] Working Directory: Null Enviroment:null

do you know how to fix this i really like the look and feel of rosie UI but im running out of space reall quick so im just trying to move my apps to sd card.
[G1 Android Development] rbgmode:
itchy fingers

First of let me stop lmao.

Second I am amazed how many people think they bricked their g1.

Edit: actually try this power using power and home u might be lucky and just flash back to jf 1.51 using wipe

If not continue

1.Take battery off 2. Press power and camera button if u see the spl screen your in goodshape. Either white screen green letters moded or rgb screen oem.

3. If you don't see this then get replacement phone through g1 warranty.

4. If u see spl screen then just copy backup sd card contents and reformat using paragon

4a. I have it split 7.5gb fat32 and 500mb ext2

4b. Get nbh.img (image of rc29) then follow all steps to root phone and update back to jf 1.51 lucidrem latest edition with radio in 1 update.zip

Hopefully this works don't panic calm down and try it out if it worked restore sdcard contents. It worked for me, the only reason I lmao is because it reminded me.
[G1 Android Development] cidica:
not sure if I had an inbetween one. I had just dowloaded the lucid file about 5 minus before I tried it out. what I was doing was -au -v2 as it was said above and that's where the error was coming from once I dropped the - on the v2 is worked perfectly :)
[G1 Android Development] androidmonkey:
My phone has been sluggish since upgrading my phone from JFvRC33 to JFv1.51. Everything works fine, its just a bit sluggish. Like sometimes I would press a button to make a call, and it would take a couple of seconds. I checked whats running in Process Manager, but nothing besides the standard stuff.

So, whats the best (safest) way to "format/reinstall" my phone?

I currently have JFv1.51, HardSPL, ota-radio-2_22_19_26I , and Apps2SD (ext2). I want to wipe everything, including my Apps on the SD card. To start with a clean slate.
[G1 Android Development] cidica:
honestly I'just redo the sd card totally it really does not take much time to redo them. as for the phone itself I'd just run a wipe on it then update
[G1 Android Development] D1strukt:
Nicely Done!
[G1 Android Development] LucidREM:
the term "brick" means your phone does not respond .. meaning you cannot access the bootloader SPL screen .. you cannot access the recovery console .. if you can do either of those you are not stuck with a "brick"
[G1 Android Development] LucidREM:
that doesn't really mean anything .. if you run "lucid -a -sd" only your apk files get moved .. thus the programs still take up space on the phone .. if you run "lucid -d -sd" then the data moves over but STILL the programs take up space on the phone .. if you run "lucid -dc -sd" it moves the dalvik portion over and you maximize the space on /data but even STILL the programs can take a little bit of space .. but with those three commands you should have 70-73M free
[G1 Android Development] LucidREM:
check to make sure you have Terminal installed and have SU access .. remember the step in rooting?

10. Type dd if=/system/bin/sh of=/system/bin/su[enter]

11. Type chmod 4755 /system/bin/su

you may need to do this for your ROM as i am not familiar with it .. but the app most definitely works if SU is present
[G1 Android Development] LucidREM:
1. did you wipe when you did the update? if not, then do so

2. to delete apps on the SD (which should not be necessary) do this:

$su
#rm -r /system/sd/app
#rm -r /system/sd/data
#rm -r /system/sd/dalvik-cache

this will get stuff off the SD in the EXT2 partition .. you could trouble shoot as well .. i have experienced my own troubles and started uninstalling / installing apps to see which one was the culprit .. you are moving from firmware 1.1 to 1.5 and some apps just don't like it
[G1 Android Development] cidica:
Hey lucid I have a question for you. I'm kinda in the middle of messing with my phone gonna be trying cyro's new rom (3.3.5) any reason your script should not work on that rom for moving the files over to the ext3 partition on my sd card? Have to admit that I love how you have things setup just makes it a bit easier and faster (atleast for me) when I'm doing 3 different phones
[G1 Android Development] LucidREM:
should work fine .. check with cyro to make sure the SU processes are the same as JFs build .. then it should just run inside Terminal like normal .. unless he completed reconfigured the structure of android (doubtful) there should still be a partition mounted to /system/sd and apps stored under /data
[G1 Android Development] cidica:
cool. I'm gonna give it a shot just to mess with things. I'm bored today....rofl
[G1 Android Development] bigc07:
Has anybody had the problem of the phone not vibrating in vibration mode? I have wiped twice and reinstalled but it was no help. When I go into vibration mode the phone vibrates but that all it will do. I have the 2003 SPL and .26I radio. Sorry if this was asked I tried to search but nothing came up and I did not feel like going through 144 pages..

Edit:

Fixed
[G1 Android Development] androidmonkey:
Thanks Lucid. Once I do the wipe, do I have to reinstall the update? Also, when running those remove sd app commands, does this actually remove the apps from the SD or just the syslink? Would it be better if I delete the partitions and recreate them?
[G1 Android Development] LucidREM:
that would delete the actual files on the sd .. then the next time you do "ls /system/sd" you should only see "lost+found" folder and nothing else .. the ALT+W just deletes /data .. does nothing with /system .. after this you can redo the "lucid -a -sd" etc to put things back to the SD
[G1 Android Development] sir*mez:
@LucidREM: Can i still run your script even if i have the marcus unionfs apps2sd?? im not going to be running the symlinks apps2sd, i just what everything else you offer. i miss your commands in the terminal...
[G1 Android Development] LucidREM:
certainly .. if you try running "lucid -a -sd" and a folder already exists on the SD card then it won't do anything .. i'm pretty sure the script is "dummy proof" to the unionfs method to prevent people from accidentally doing something they might regret .. i am starting to build in a unionfs compliance as well

you can absolutely keep the script running outside of the apps2sd parameters
[G1 Android Development] sir*mez:
thank you so much... i just didn't want the unionfs link to be unlinked. A lucid unionfs mod... YESSSS!!! i will sertainly use. I've always used you scripts. I appreciate all your work as i do with any other dev!!
[G1 Android Development] mailman1387:
Help

Hey lucid as you know i was running your previous 1.50 ADP rom and it was all running fine but since i've gone to the 1.51 US rom of yours ive been gettin an extremely high amounts of force close notifications and the phone is just very slow now.I always perform a Wipe b4 a new rom so idk.I have an 8GB class 4 sd but it work fine on 1.5 so i dont think thats the issue.Any ideas? :confused:

Also i have 9 Widgets,could that be the problem cuzz on 1.50 i didnt DL those widgets yet?
[G1 Android Development] Unitas:
Well my ext2 partition went all funky again after about a week or so. /system/sd/app and /system/sd/data are writable but the directories inside them are not. So obviously when an app tries to write to them it gives the apps the finger. And this was with the new boot image that has the extra "noatime,nodiratime" or whatever options on it (as well as "auto"). Wiping and re-linking obviously didn't work because the data on the partition was borked. Since it was useless I took the opportunity to reformat it to ext3, we'll see of the journaling helps as cyano suggested. It's working atm, but time will tell. Worth a shot.
[G1 Android Development] jmon777:
Awsome!!! Went to the 3.3.5 build. Kind of made me sad to use the ap2sd apliaction. Lol

But seriously in that butild useing a difeent type of system then marcus or you u it converts it to aufs? I think... will ur new script incorporate this idea? Also it usese ext3 hope the new update comes out soon. Keep up the good work sir.

Also yes I agree we all have nothing and most devs aould be nothing without jf
[G1 Android Development] iso67:
after two weeks of smooth use of this fw, I lost the root privilege... why??!?! any way to "have root" back without starting from scratches?
[G1 Android Development] LucidREM:
as far as i know you don't just lose root without actually doing something to modify the phone .. what was the most recent thing you did? you say you lost root so i'm guessing you can no longer open Terminal and type "su" and get the "#" command line
[G1 Android Development] ddrum2000:
Readme

Hey Lucid,

Can you make a readme or something that explains a little more about all of the functions of your script? I understand most of the functions but not all. Thanks.
[G1 Android Development] iso67:
hi, actually I didn't so much.... just installed a few software on sd. yes when I open terminal and type su I don't get the "#" command line
[G1 Android Development] dialdayo:
umm lucid or any1 can u help me out..i use your scripts often and i recently switched from jf 1.51 to the ionr2 rom because i thought jf 1.51 was real laggy. when i tried to do apps to sd the first time my EXT2 was not mounted. I ended up doing SD split and all my 133 apps from my ext2 got deleted and all my important files from my FAT32 got deleted. I used sd split and remounted my ext2 yesterday..so dar i am loving ION but i rebooted the phone today and it started looping at the android screen, so i wiped and reflashed and now i used the script to symlink apps and davlik back to my SD card and it saying its not mounted..i know i will end up having to repartition again but how can i back up both file partitions..i have ADB and a windows computer..
[G1 Android Development] LucidREM:
i'll put some work on that for you .. i'll attach it to the first post when complete
[G1 Android Development] LucidREM:
there's a readme.txt file on the first post .. let me know if you think there should be some added information in there
[G1 Android Development] danguyf:
Have you added v4 of the volume hack in? (Or does it even need to be added seperately? I haven't looked at how the script does it.)
[G1 Android Development] LucidREM:
i added option "v4" into the script .. i'm going to double check that thread and make sure i have all the latest files
[G1 Android Development] chrisrj28:
I just tried to update to the latest script today and it downloaded and everything but now when I type lucid it says lucid not found. Did the script change?
[G1 Android Development] creid2352:
Question, how do you apply the new boot.img? Fastboot?
[G1 Android Development] LucidREM:
type "lucid rem" .. it downloads the boot_rem.img file and flashes the boot .. then just "reboot"
[G1 Android Development] LucidREM:
i just made a modification today .. maybe three hours ago .. but you shouldn't be getting that response .. did you download from the app, Terminal or manually with wget?
[G1 Android Development] chrisrj28:
I downloaded terminally, wget still tells me bad address files.lucidrem.us
[G1 Android Development] kfhickel:
Bug in lucid -d -g1

There seems to be a bug in trying to move data back to internal memory:

# lucid -s

lucid -s

/data/app is not linked

/data/app-private is not linked

/data/data -> /system/sd/data

/data/dalvik-cache -> /system/sd/dalvik-cache

/system/media -> /system/sd/media

-------------------------

0 /system/sd/app

0 /system/sd/app-private

15.9M /system/sd/data

10.8M /system/sd/dalvik-cache

2.0M /system/sd/media

-------------------------

28.7M /system/sd

# lucid -d -g1

lucid -d -g1

Nothing was done. /system/sd/data is FOLDER.

Please rm -r /system/sd/data first.

#

Looking at the script, comparing user_dat() to user_app() it appears that line 159 (version 1.51.05) is:

elif [ $U2 = "-g1" ]; then TO="$INT"; FROM="$DA1_SDD"; LINK="$DA1_SDD"; move_file; exit 0;

and should be:

elif [ $U2 = "-g1" ]; then TO="$INT"; FROM="$DA1_SDD"; LINK="$DA1_INT"; move_file; exit 0;

right?

-Kelly
[G1 Android Development] kfhickel:
Same bug for lucid -dc -g1....
[G1 Android Development] kfhickel:
(lucid, if you're not interested, just tell me and I'll stop ;-} )

lucid -o doesn't appear in the show_help output.

lucid -hb calls show_help_spl() which doesn't exist.

lucid radio doesn't appear in the show_help output, and doesn't seem to work:

# lucid radio

lucid radio

[: RC33: unknown operand

-Kelly
[G1 Android Development] Wextercz:
hello

Hello guys.. i am amater and ai need help ... i have root, 1.51 JF, something CRB43 (think i have UK version, i am not sure) and i have old recovery menu (cant get to recovery terminal ALT+X)

my recovery look like this

can you tell my step by step How to update recovery menu ????

pls pls and thx so much !
[G1 Android Development] LucidREM:
good catch .. heheh .. never did test that code .. must've missed it .. fixed now .. thanks for the heads up