yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] LucidREM:
JFs new builds are supposed to support the EXT2 partition .. so if you go to the first post you can just download the "lucid.txt" file instead of flashing a totally new build .. also .. i just added an update

if you have the latest script you should be able to type "lucid update" and get the latest .. the new script has "lucid media sd" to move the media files to the EXT2 partition .. the "lite" version to work with themes in case anyone has had troubles with not enough room on /system
[G1 Android Development] Land Of The Trill:
Well I see your point Lucid just curious and keep up the good work I also wrote a few script and thanks to Gscript it made it even easier but I was around when it was just you and JF so I understand and never start the beginning of a sentence with first of all lol....I thought everyone was gonna rain down on me then I would have to point the finger at the iphone.

P.S. I lurk a lot on forums and on the Haykuro builds I actually read all 600+ pages but hope we didn't get off on a bad start cause I would like to know more about logcat commands..
[G1 Android Development] iso67:
hi, I just realized that the haycuro 6.0 is out: is this methods compatible with it? does the hsykuro 6.0 uses this or unionsf methods?
[G1 Android Development] LucidREM:
you would have to ask harkuro about that .. basically any build that loads the EXT2 partition you can use my script .. the unionfs method has a a2sd.sh file that needs to be deleted first .. to return to unionfs you could simply replace the a2sd.sh file

the fun thing about my script is it's capatible with all builds provided they don't undo the process .. a2sd.sh will delete your symlink .. thus the need to remove it
[G1 Android Development] LucidREM:
first of all - LOL - you started your post with "i don't understand"

hey .. no problem man .. logcat takes the log and outputs it .. ie:

#logcat -d V > logcat.txt

this outputs the log to a text file that you can then open and read .. the phone is doing so many things in the background that you never get to see
[G1 Android Development] Land Of The Trill:
Thanks! Will this also copy any errors in terminal or will I be able to do it specifically with another command.
[G1 Android Development] Strapt:
ok sweet! Just wanted to say thanks for helping and explaning .. I have downloaded all my apps and still have the 72MB free in the phone.

guess I didnt see the scripts running but its good to know that they are all there and that this method is way easier than trying to do both like I was .. just odd how it wasnt working before like that ... oh hey I noticed you placed a new update for your txt and it inluded the media to ext2 ... is that media like pictures and stuff?? and if it is ... why?? lol

edit: hmm odd I did the update and typed lucid and it shows me the options but ....it doesnt show me that media one .. is it supposed to be in there?
[G1 Android Development] G'uno:
Hello and Good Afternoon to all...

I have a quick question if someone could be so kind to answer...

I typed this in the terminal: #lucid dalvik

*At first I got this...

busybox cp -a /data/dalvik-cache /system/sd

cp: cannot stat ' /system/sd/dalvik-cache/system@app@MediaProvider .apk@classes.dex' : Stale NFS file handle

cp: cannot stat ' /system/sd/dalvik-cache/system@framework@service.jar@classes.dex' : Stale NFS file handle

rm -r /data/dalvik-cache

ln -s /system/sd/data /system/sd/data/dalvik-cache

Then I tried it again and got this..

busybox cp -a ?data?dalvik-cache /system/sd

cp: cannot create ' /system/sd/dalvik-cache' : File exists

rm -r /data/dalvik-cache

ln -s /system/sd/dalvik-cache /data/dalvik-cache

The Question is.. does this mean I've already have cache on the card or did I mess up some where ? (or maybe corrupted)

Thanks in Advanced

:cool:
[G1 Android Development] rydr1:
This has got to be the best method to do all of these procedures. thanks for the hard work.
[G1 Android Development] LucidREM:
the media spoken of is the audio files on /system/media .. if you "lucid update" you will get the latest script which should show you "media sd" option and such

people take off the media files to make room on /system for themes and stuff (the "lite" version) .. i figured i'd throw that in there
[G1 Android Development] LucidREM:
i do apologize for the confusion .. that is the older script that does not have the built in safeguards .. on the first post you can download the latest one and from here on out you can "lucid update" to download the latest straight to your phone

the new script will prevent you from losing data by first checking that the files will copy .. if /data/app is a link for example it will not try to copy .. if /system/sd/app is a folder it will ask you to delete it first .. you can always just "lucid app link" to create the link without copying (ie: after ALT+W)
[G1 Android Development] G'uno:
Thank you so much...

I'm trying it out right now, I will post results after I'm done

:cool:
[G1 Android Development] G'uno:
Hello again, here's the situation at this time...

While typing in the script, everything if fine until I get to this part.

#chown 0:0 /system/bin/lucid

No such user '0:0'

I guess I'm not having the best of luck eh

:o
[G1 Android Development] LucidREM:
i'm going to add "busybox" in front of that command .. seems it doesn't work with 1.5
[G1 Android Development] Strapt:
ahhhh well that makes more sense :D I figured out the damn update .. I kept forgetting to hit su .... im retarded .. but worked and now I have it updated .. not that Im gonna use the media deal .. but its the latest version anyhow lol.

Im half way tempted to use the undo codes for your apps2sd method and temporarily unroot my phone by downloading the OFFICIAL US 1.5 cupcake that I found today. Little nervous that it wont let me re-root it after though .. heard something about them incorporating something that would prevent you from downgrading or something.

not sure if you have seen it or messed with it but if not then here is the link

although it does say Root Obtained: yes, see Rooting Android at the bottom .. any ideas what that means?

http://android-dls.com/wiki/index.p...Mobile_.2A.2AUS.2A.2A_G1_Over_The_Air_Updates
[G1 Android Development] peliROJO:
After "lucid app sd" apps have disappeared.

I typed in the JF1.5 script as shown in the first post and then "lucid app sd" and there were no errors. However, after I exited the Terminal window all my downloaded application shortcuts were gone, except the ones in a folder called Games. Inside Games the icons are there but when you click on them the phone displays "Application is not installed on your phone." I do not know the first thing to check.

$su
#mount -o rw,remount /dev/block/mtdblock3 /system
#mkdir /sdcard/tmp
#cd /sdcard/tmp
#wget http://files.lucidrem.us/jf/system/bin/lucid.txt
#busybox cp lucid.txt /system/bin/lucid
#chmod 755 /system/bin/lucid
#busybox chown 0:0 /system/bin/lucid
#lucid
#lucid app sd
[G1 Android Development] LucidREM:
folder called Games? hmm .. you try anything else before that like unionfs or anything? if there were no errors it should all be linked to the SD .. i still don't have 1.5 myself .. waiting on the US version .. but it should still work just fine
[G1 Android Development] peliROJO:
Thanks for responding so quickly, Lucid. No, I've never tried unionfs. Basically my experience on this phone is the following:

Rooted and with JF's instructions to v1.43.

Downloaded a bunch of apps and created a Games folder to store shortcuts.

Did the nandroid backup.

Looked at Haykuro's build for a week.

Restored from nandroid to JFv1.43.

Upgraded to ADP1.5 from Haykuro and waited for JF's build.

Formatted a new 8GB series6 SDCard in a Ubuntu OS. 500MB ext2/6.5GB FAT 32.

Changed to JF's ADPv1.5 via JFUpdater and have been sitting pretty, never experienced a problem during the previous mods.

Found this updated post and manually typed the "code" from above.

Searched for that error but haven't found anything useful.

If there is anything I can type, to check directories etc., I'm ready. Linux is a bit strange compared to my Windows only world.
[G1 Android Development] LucidREM:
can try:

#busybox df // tells you what's what for the mounted portions

#ls -l /system/sd // tells you the files + folders under the EXT2 partition
[G1 Android Development] peliROJO:
Thank you, sir. I rebooted to make a nandroid backup. Then, I worked from adb shell vs the terminal on the phone. I was able to do this:

# ls -l /system/sd

# cd /system/sd/app

# ls -l

All my applications were in there. Then I typed this again:

# lucid

# lucid update

# lucid app link

And *Flash *Boom *Rumble all my apps are working again. It's strange because I did this last night on the phone. Or maybe I didn't. :o Seriously, I know I did, but whatever because this time it worked. Appreciate you answering my questions.

-edit- It occurred to me that before typing that I rebooted the phone. Maybe that got it working again. I didn't test the apps after reboot until I typed lucid app link the final time. It's also interesting that all my shortcuts on the desktop were removed, but the ones in the folder remained and I could see their custom icon, not the broken link icon like after you uninstall a program.
[G1 Android Development] iso67:
where the file a2sd.sh should be? I installed the haykuro 6.0 and I'd like to see if it app2sd is working otherwise I'll dowgrade to JF!
[G1 Android Development] hotvico:
App2sd

Hi guys, I just updated my phone and everything is ok now, but in the beginning I saw I had 73mb free on the phone now it shows 72...I just installed my fav applications but on the sd...how comes it's not 73anymore?
[G1 Android Development] LucidREM:
downgrade? how insulting
[G1 Android Development] LucidREM:
the shortcuts and such are connected with /data/data .. so unless you also moved that to the SD and can recover with "lucid data link" then you're out of luck after a wipe

glad it worked for you
[G1 Android Development] webgrafix:
Lucid...

Is it safe to "assume" that we might see your tweaks applied to the new JF1.51 releases??

I don't mess with any one else FW but yours! :)
[G1 Android Development] LucidREM:
i haven't added it to the update.zip file .. but now that JF has made every update compatible with the EXT2 it's pretty easy to download it again

here's what i do after i download the latest update:

#busybox cp /system/bin/lucid /sdcard/lucid.txt

and then so long as you don't scrap your SD .. just do:

#mount -o rw,remount /dev/block/mtdblock3 /system

#busybox cp /sdcard/lucid.txt /system/bin/lucid

#busybox chmod 755 /system/bin/lucid

#busybox chown 0:0 /system/bin/lucid

to get it back
[G1 Android Development] iso67:
wich is the differences between the ADP and the EU jf 1.51 CRB 34 firmware? with the EU one I would loose the root? which SPL I need?
[G1 Android Development] iso67:
:p:p just because haykuro 6.01r build was the latest one! now I'm going to put jf again!
[G1 Android Development] iso67:
so if I start with a clean sd, it's enough to do

#busybox cp /system/bin/lucid /sdcard/lucid.txt

and there is no need for

#mount -o rw,remount /dev/block/mtdblock3 /system

#busybox cp /sdcard/lucid.txt /system/bin/lucid

#busybox chmod 755 /system/bin/lucid

#busybox chown 0:0 /system/bin/lucid

or any other commands to download lucid.txt from net??

many thanks!
[G1 Android Development] LucidREM:
no .. what i meant was if you already have the script you can copy it to your SD with that one line .. then after updating to JF1.51 you can do the other four commands to put it back
[G1 Android Development] LucidREM:
USA = United States

EUR = UK / Europe

ADP = Developers Phone

these are all root'd and OFFICIAL JF builds .. just snagged them today after church
[G1 Android Development] iso67:
ok, so, since I don't have it (I still have haykuro 6.0, and I'm downloading new JF), I have to run the command in thefirst page

$su

#mount -o rw,remount /dev/block/mtdblock3 /system

#mkdir /sdcard/tmp

#cd /sdcard/tmp

#wget http://files.lucidrem.us/jf/system/bin/lucid.txt

#busybox cp lucid.txt /system/bin/lucid

#chmod 755 /system/bin/lucid

#busybox chown 0:0 /system/bin/lucid

#lucid

?

should I use ADP or EU fw?

many thabks for you job!
[G1 Android Development] iso67:
I forgot: I was thinking to come back to jf since with haykuro 6.0 without any apps I have just 61mb available on the phone.... .why?
[G1 Android Development] LucidREM:
no say .. i just upgraded to JFv1.51 and have 73M available .. ran my script for app, data, dalvik and have not seen any problems yet .. also system is running at only 88% capacity
[G1 Android Development] eagle001:
1.51 here also and 73mb phone mem free.

I don't have to rerun the symlink scripts do I?
[G1 Android Development] LucidREM:
nope .. if you have the new script and you have to wipe you should be able to type "lucid app link" etc .. after the first boot
[G1 Android Development] eagle001:
Thanks.

I was not sure, 'cause I see my /system/sd present, but see no symlinks apart from /etc --> /system/etc

I'll keep your new script (lucid) on the sd so I have it available. Thanks again.
[G1 Android Development] jmotyka:
Ok guys I finally figured out how to fully affoid errors with this script when you decide to flash a new rom and you try to run the lucid script ex "lucid app sd" if it says folder already exists then download linda file manager browse to /system/sd and all the folders like app and data and lost and found rename them to appold or something of that nature. For some reason after flahing a new rom rm -f does not work, renaming the folders and then running the script will work. Lucidrem thanx for this lovely script. I will sit down and write a better detailed discription of what I did later. I'm typing this message from my phone at work. Later guys sorry if this sounds like mumbo again I will revise ounce I'm in front of a computer.
[G1 Android Development] gimiento:
excellent, updated build, w/o wiping, worked fine. updated your script and changed audio settings and all is perfect. thanks for the updates and for expanding the scope of the script (and for being methodical with your work, you're not trigger happy and that's very very appreciated). donation coming.
[G1 Android Development] cidica:
well just updated mine without a wipe. got the new lucid files and relinked my stuff flawless so far. 80 meg free on my system (this is with the new spl that was bricking some peoples phones it worked on mine) Very nice work lucid love your script man great work. The audio part is rather cool as well :)
[G1 Android Development] LucidREM:
actually if you follow the instructions and type "lucid app link" it re-links when there are existing files .. otherwise you can just delete them "rm -r /system/sd/app" .. there's no need to use a file browser
[G1 Android Development] G'uno:
EDIT!!!

I ran the script after flashing the new ADP and now I get stuck on the main boot screen, the only thing I did was "link" everything back

I just need some options if possible, so I can get things back to normal

Thanks again..
[G1 Android Development] jmotyka:
Thanx lucidrem, yes I tryed relinking multiple times after relinking the os would freeze id reboot and then adroid boot screen would loop. Maybe it was just me that had the issue but I guess all that matters is that I got your awsome script working.
[G1 Android Development] aod1gp:
so i fallowed the steps in your guide Lucid, i check my phone memory prior to doing the changes i had 53mb free. after doing i had 70 im guessing it worked. but now that i installed 4 small apps i have 68 mb.. is this right or did i screw something up? :confused:
[G1 Android Development] Phawkes:
jf 1.51 or jf adp 1.5

Whats the difference between the two of these? JF. 1.51 and JF ADP 1.5. I'm currently using ADP but don't know if I'm missing out on anything from JF 1.51.
[G1 Android Development] Shindokie:
It's basically the u.s update with myfaves and im apps.
[G1 Android Development] iso67:
which SPL you have? the one that comes with haykuro 6.0? I have that one, i doesn't brick completely my phone, but after istalling it my phone was stuck on g1 screen: I putted the battery, out, I flashedwith the new haykuro 6.0 and everything was fine! but I don't like this thing!
[G1 Android Development] vishurao:
but the camera is from the adp build and the usual htc cam!
[G1 Android Development] jmon777:
got it work finally did not find your guide till i was done but this was easy.and like all the stuff you added also. when i get some so money i would like to some. but until then thank you very much. 83mb free!!!!
[G1 Android Development] sputnik99:
2 Questions:

1. Are apps2sd activated automatically? (if not, which method do you recommend?)

2. how do you activate the other options (update audio etc.)?

Thanks

sputnik

Edit: Can someone hit me, please? I am too stupid to read... SORRY!!!! It's all in the first post....
[G1 Android Development] iso67:
I'm wondering if the jf 1.51 downloadable from first page of this 3d is the same downloadable from JF blog. I thinlk the are the same, since it seems that lucid rem did not modify the fw, but I want to be sure!

which SPL and recovery.img file I should use?
[G1 Android Development] vihil:
suggestion: status query of current settings, like:

lucid app status -- whether symlink is established or not

lucid data status -- whether symlink... you get the idea :)

lucid dalvik status

lucid media status

of course one can also just manually enter: ls -l /data/app

but then you have to remember the dirs which i sometimes forget :D
[G1 Android Development] LucidREM:
that's actually a pretty good idea .. i could definitely throw something like that in there .. my thought would actually be "lucid status" and it would just spit out everything that's been done
[G1 Android Development] mygti02:
l just did this and now it sitting at the android screen WTF!!!
[G1 Android Development] obe1:
well i was trying to move apps to sd card but when i tried the 3rd step (#cd /sdcard/tmp) said cd: cd/sdcard/temp could not be moved any idea why it would say this i do have my sdcard partition any help would be greatly appreciated
[G1 Android Development] eagle001:
This

or this:

or this:

?
[G1 Android Development] obe1:
sorry if i forgot to put the # when i posted yes #cd /sdcard/tmp
[G1 Android Development] ChelseaO88:
I just upgraded to JF1.51 from JF1.5 and I did a wipe before upgrading. I did not have my apps or anything to to my SD when I was using JF1.5.

I then partitioned a BRAND NEW memory card in preparation to move my apps over.

So my question is, what script should I run in order to move my apps and data to my sdcard. The script on the first page or "lucid data, lucid apps, etc"?

EDITED:***Nevermind, I figured it out***
[G1 Android Development] eagle001:
Must be a typo somewhere if it says a file cannot be moved when you are just changing directories ....
[G1 Android Development] mygti02:
well i did a wipe, and got it to boot.......now any time a call comes in or i try to make a call it says phone stopped unexpectedly. Re-flashing again to see if that fixes it.

not very impressed with this release so far :mad:

UPDATE: Re-flashed, stuck at android screen again WTF is up with this? going back to the origional JF1.5
[G1 Android Development] BolecDST:
I'm just wondering what could be the problem with bigger partitions, because my ext2 is like 1.8GB and there are so far no problems, using it for 8 days already, installed about 60 apps and it's working like a charm.
[G1 Android Development] sir*mez:
how much time do you give it when you relash it?? it takes a while to start after flashing. leave it alone for the first boot after reflash.
[G1 Android Development] sir*mez:
i had 4gb ext2 and i didnt have no problems either. but now i have a 492mb ext2 and i get less wait and forceclose messages. it also loads up faster and respond better.
[G1 Android Development] LucidREM:
people kept reporting program errors when the EXT2 was larger than 2G .. i'm not even sure the extent of the problem .. but i do know that you don't even need nearly that much for that partition .. i used 1.5G at first but have since dropped to 740M (which is 10 x 74M) and haven't even cleared 100M yet
[G1 Android Development] tato22:
tato22

why u have so 3 raidios dose it make a diff in which one you have
[G1 Android Development] LucidREM:
it's the same radio .. i'm just trying to make sure no one forgets to flash the radio file .. i built a USA update.zip with the radio built-in that i used on my phone
[G1 Android Development] BolecDST:
Now that you wrote it... is there any linux command to check how big is a specifical folder? What I want to do is to check how much space all my apps are taking by now.
[G1 Android Development] LucidREM:
off the top of my head there's just "df" which tells you the space for the whole EXT2 partition .. but then again .. there's always google
[G1 Android Development] Jefpier:
I dont know if i did something wrong, i followed all the steps from the first script succesfully, and then i did this:

lucid

lucid app

lucid app link

lucid dalvik link

reboot

(No Data to SD) After reboot all the apps are back and Internal Memory is 71 MB.

My problem is that when i tried to install an app from the SD it said "could not be installed on this phone" and also the same problem appears when i tried to upgrade a paid app from the sd.

Then i discover a second problem, when trying to install any app from the Market, its stated as unsuccesful and has the following error message "insufficient storge available".

If i haved like 300 apps then that second error would have sense, but since y only have 95 apps it doesnt make any sense that the 500 MB for EXT 2 is FULL.

Any answers?
[G1 Android Development] LucidREM:
not sure .. what's on the SD? check the output of "busybox df" what percent of the space is used?
[G1 Android Development] Jefpier:
There are a lot of percents, ask me some on specific...

but the system/sd is 100 % in use... maybe thats the one you wanted...
[G1 Android Development] LucidREM:
that would be the one .. somehow you filled the EXT2 partition .. do an "ls -l" of /system/sd to check what's there .. anything that does not belong should be able to be deleted .. otherwise you might need to backup your apps and format the card again .. but try seeing what's there first
[G1 Android Development] Jefpier:
Well a lot of things, there are dates with what i thinz is the sizes and name of the folders.

It have:

Cache

Data

Default.prop

Dev

Etc->/System/Etc

init

init.goldfish.rc

init.trout.rc

proc

root

rumme.sh

sbin

sdcard

sqlite_stmt_journals

sys

system

I hope this info helps to help me...

PS: I have all my apps backed up, so i dont care if i have to format if that is better...
[G1 Android Development] d2dthetide:
I must be going nuts... I ready this thread at least 10 times and finally downloaded and did the update. Held off till today because LucidREM said he was going to update the mod. The zip I ran as an update was JFv1.42_RC33_MOD2 but I don't seem to be able to find it in this thread anymore....did it exist....the MOD2? After the instal....which I think went fine.....the available space on my sd remained the same and the available space on my internal phone went from12 to 11. I haven't done the copy yet but wasn't this going to move some of the data for me so I should already see a difference in internal memory? I have a very....very...very basic understanding of what is going on. Can you see the EXT2 partition after this mod or will the FAT still only show up. How do I check the EXT2? At this point all I wanted to do was move the apps to the SD so I wouldn't have to keep downloading them every time I updated. One step at a time. LucidREM thanks taking the time to make this so much easier for us
[G1 Android Development] LucidREM:
no .. it's the copy.sh script that moves the stuff over to the card

to check EXT2 you can:

#ls -l /system/sd

you can also:

#busybox df

you should see the mmcblk0p2 mounted to /system/sd and it will show you available space etc

i had changed the name of the ZIP to *2 just for a few hours while i debugged the script .. the new script is in the JF1.42_RC33_MOD.zip