yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] Shaquiel Harris:
No wonder Lmao Wow i fail so much.. alright well im repartitioning because ubuntu apparently f's up my sdcard when i try deleting files from it.. dunno why but whatever. ill post what happens in a minute thanks smj and fire you guys really helped me out ALOT.

Well it flashed fine.. Just it doesn't go to the lockscreen at all.. screen just turns off.. is it only me getting this? and the home button doesn't take me back to the homescreen..
[G1 Android Development] motoman234:
Yeah Firerat i just wanted to say thanks to you and all the other guys helping out with this rom. Its really the best out now IMHO. Thanks again Firerat, I sware to god, you have a nice lil code to fix EVERYTHING!!!! lol keep up the great work guys. MUCH APPRECIATED!!!!
[G1 Android Development] Shaquiel Harris:
what is the lockscreen tied to? i mean i know its in frameworks but i dont know if its missing something since this one im trying to put together doesn't have a lockscreen..
[G1 Android Development] studjuice:
most of the system/apps are from the gapps package. Twitter, amazon, Maps, and maybe some more you can remove.

I don't know what issue your having with su is, which rom are you using? on mine i added a perm for the su that is in /system/bin so that it would work. you may need to do that if you have su in sys bin
[G1 Android Development] Shaquiel Harris:
Stud alright i need help again lol.. alright whenever i add these files that firerat told me to add about a page or two ago into any one of these froyo roms, it takes away my home button functionality and it takes away the lockscreen.. and even after i flash gaaps the market wont show up.. any suggestions?

EDIT and it also automagically skips the setup wizard and takes me straight to the homescreen from first boot..
[G1 Android Development] sparksco:
Great rom, can't wait to test

I just downloaded and flashed the test5. I noticed that some important things weren't working like the adb, and the superuser permissions. I ran fix_permissions from the recovery console. Superuser permissions still does not work. Also I noticed that this comes with Rom Manager, and I'm not sure why. Is the clockworkmod recovery required to run this rom? Even if it is I can't download and flash the recovery with Rom Manager without superuser permissions. I still have a lot to test on this and I will report back with my results or update.zip's I put together.
[G1 Android Development] studjuice:
the su problem is know, whats the adb problem?

Rom manager is just included with cm so that's why it's there. it can be used to flash the recovery, but also to run fix permissions and such. (but yeah you need su)

Let us know your (hopefully detailed) results :)
[G1 Android Development] Shaquiel Harris:
Which one of these tests are you currently running?
[G1 Android Development] studjuice:
haha yeahhhh. the home button thing i have encountered.. and fixed.. but it's gonna take awhile to remember what it was. if i remember i'll edit that here.

I never noticed the lockscreen going missing.

and the market thing could be two problems. Does the market exist and when you go to open it it opens, is blank, and closes? If so that's because you don't have the setupwizard.apk and aren't logged in.

if the market doesn't exist, and it's in the rom, you probably run out of space in /system. :( try using adb to install vending.apk and see if it says you ran out of space.

when you do firerats stuff system gets smaller, and when it's installing stuff all is good still it gets lower in the alphabet, aka V for Vending.apk

(to help prevent this in the future, remove maps, twitter, and amazon to save some space. also you could remove the bootanimation and some audio files)
[G1 Android Development] studjuice:
I'm running this one. it's based off defcon's test5.

I'm going to wait to to do anything with test6 till he is done on his end. I'm fine with what we got right now, I never thought we'd get this much working already anyways :)
[G1 Android Development] sparksco:
I agree, people that are complaining about the speed of this rom should just be happy that it works as well as it does. I mean come on, Cyanogenmod hasn't even realeased a test version of this yet, and we are already flashing it. How cool is that!
[G1 Android Development] Firerat:
or resize system :)

anyway, easiest why to figure out what you changed to 'fix' it is

for i in `find $@ -type f`;do
for rom in `find .. -maxdepth 1 -type d |grep ../`;do
md5sum ${rom}/$i
done
[COLOR="Blue"]adb shell md5sum /$i[/COLOR]
done

make sure you have a clean dir

mkdir for rom

cd in and unzip 'broken' rom

cd into that and run the script

when md5sums don't match, you changed it ;)

comment out the blue line if you don't want to check the phone's files

( but you will need another dir with a rom unzipped to it to be useful )
[G1 Android Development] sparksco:
SPL flashing problems?

For everyone that is having problems flashing this on their g1's, it is probably because this is only for the engineering spl, which comes stock on the dream of course. If you have some type of other spl, do not attempt to flash this because it won't work. It flashed just fine for me, and I have the correct spl.
[G1 Android Development] sparksco:
I agree, cyanogen may be working on adding a few more things like a apps2sd method. People are too impatient when they do not understand how much work really goes into android development, especially roms!
[G1 Android Development] Shaquiel Harris:
Alright. Ill wait for defcon to release another one so i can try it again because like im in a loop right now. Like everything i do something ends up going wrong lol. i even went as far as just optimizing the apks and resigning and flashing just to see if it would go wrong.. and i was sadly right lol. When you switched the libs folder, what folder from what ROM did you switch it from? Because adding Fire's files was messing me up.. and when i just switched lib folders id get a bootloop..
[G1 Android Development] sparksco:
flash can work on the g1, it's all in the kernel. The 2.1 Eclair kernels do not have the ability to run flash. I've seen that thread and it was closed because it does not work.
[G1 Android Development] sparksco:
How did you get terminal emulator to work, I can't even get Superuser permissions to work.
[G1 Android Development] studjuice:
I took the lib folder from F-xtremes rom. because it's also froyo
[G1 Android Development] Shaquiel Harris:
Thats EXACTLY what i did.. i mean the exact same thing dude lol.. Wow :/
[G1 Android Development] studjuice:
well try it again, but make sure that it's the only thing you do. one step at a time
[G1 Android Development] defconoi:
I have a new base rom compiling at home, I'm away now, ill be uploading it later for you guys to work with, sorry I havnt had much time for quality work, but I'm happy sharing the base until I find more time
[G1 Android Development] defconoi:
Changed the title of this to reflect that this is a community collaboration

Regarding kanging libs.. I wouldn't kang anything but proprietary libs unless you want a bootloop. Got a busy workweek ahead of me, so feel free to take where I left off.
[G1 Android Development] Shaquiel Harris:
When you gonna give us the new base bro? And thank you for telling me that.. thats why i keep getting these damn Bootloops its been driving me crazy! What exactly do you mean though by only using proprietary libs?
[G1 Android Development] Firerat:
proprietary libs =

htc

qcom

e.g.

system/lib/libOmxH264Dec.so

system/lib/libopencore_streamingreg.so

system/lib/libpvrtsptunicast_streamingreg.so

system/lib/libpvrtspunicast_streamingreg.so

system/lib/libpvrtspunicast_streaming.so

system/lib/liboemcamera.so

system/lib/libaudioeq.so

system/lib/egl/libGLES_qcom.so

system/lib/libomx_m4venc_sharedlibrary.so

system/lib/libOmxVidEnc.so

system/lib/libpvoma1passthru.so

system/lib/libhtc_acoustic.so

system/lib/libpvrtsptunicast_streaming.so

system/lib/libOmxMpeg4Dec.so

system/lib/libmm-adspsvc.so

system/lib/libomx_avcenc_sharedlibrary.so

system/lib/liblvmxipc.so

system/lib/libOmxCore.so

system/lib/libopencore_streaming.so

system/lib/libgps.so

system/lib/libopencore_pvme.so

system/lib/libhtc_ril.so

system/etc/AudioPara4.csv

system/etc/AudioFilter.csv

system/etc/wifi/Fw1251r1c.bin

system/etc/AudioPreProcess.csv

system/etc/firmware/brf6300.bin
[G1 Android Development] sparksco:
I had the same problem. I did a full wipe, dev. cache and everything. adb won't work for me either, even after a reboot, nothing showed up on my notification bar to mount my sd card or anything. Su also doesn't work. I have a g1
[G1 Android Development] defconoi:
Firerat is the **** :) thanks for sharing that with everyone :)
[G1 Android Development] Shaquiel Harris:
Dude you come out of nowhere saving the day EVERY TIME! Thanks so much fire. Now im going to try this ONE MORE TIME just replacing those files from another lib folder. if it still bootloops would it be cool if i post a logcat and maybe you can tell me where the hell im going wrong?
[G1 Android Development] Shaquiel Harris:
And going off that.. Wouldnt the only libs pertaining to camera and gps be the liboemcamera and the libgps? So couldn't i just replace those two libs and the camera and gps should work?
[G1 Android Development] studjuice:
You would think so. I tried that and it didn't work. try libhtc_ril
[G1 Android Development] Shaquiel Harris:
Alright.. but no more bootloops.. i can't believe it.. i changed stuff in the libs folder.. and it didn't bootloop.. ooooohh its on.. its SO on.. :cool:
[G1 Android Development] Tiggles:
I want to use the Donut keyboard, not Swype.

If anyone could help me that'd be awesome.
[G1 Android Development] studjuice:
why the donut keyboard specifically? the android keyboards are all very similar, so why donut and not the froyo keyboard?
[G1 Android Development] defconoi:
Updated Base ROM:

http://www.mediafire.com/?jtmygnzynz1

Enjoy
[G1 Android Development] studjuice:
Dibs. :P i was just about to take a break. guess not
[G1 Android Development] Shaquiel Harris:
Its Kangy Time :cool: this doesn't have gaaps right?
[G1 Android Development] studjuice:
nope, has almost nothing
[G1 Android Development] Shaquiel Harris:
its 50 mbs. it has to has something :cool: this is around the same mb size as the one posted earlier today.. whats changed?
[G1 Android Development] studjuice:
don't know, very little
[G1 Android Development] grennis:
Whats going on here

Can someone tell me what relationship these ROMs have to these?

http://buildbot.teamdouche.net/nightly/dream_sapphire/

Are these newer / older / ??? than the latest on there?

I'm asking because the gapps that I have (gapps-mdpi-FRF83-signed.zip) seem to work with the CM6 nightly builds, but do not work at all with these ROMs! (Only gmail works)

So basically, whats going on with all this
[G1 Android Development] studjuice:
whoa, i was gonna say they are super similar but obviously there is a pretty big difference.
[G1 Android Development] grennis:
Not sure what is obvious, but I could be doing something totally stupid. I dont really know what Cyanogen cannot get GPS and Camera working since other devs have done so just copying libs. Is he intentionally breaking these builds or something?
[G1 Android Development] Firerat:
probably a size thing

I built a repo sync a few hours ago, system came to 89mb

you probably run out of space

Length Date Time Name
--------- ---------- ----- ----
3188 2008-02-28 21:33 META-INF/MANIFEST.MF
3241 2008-02-28 21:33 META-INF/CERT.SF
1714 2008-02-28 21:33 META-INF/CERT.RSA
232 2010-06-24 21:41 META-INF/com/google/android/update-script
[B] 139717 2010-06-27 17:07 system/app/CarHomeGoogle.apk
13439 2010-06-27 17:07 system/app/CarHomeLauncher.apk
562563 2010-06-27 17:08 system/app/GenieWidget.apk
551727 2010-06-27 17:08 system/app/Gmail.apk[/B]
34976 2010-06-27 17:09 system/app/GoogleBackupTransport.apk
107909 2010-06-27 17:09 system/app/GoogleCalendarSyncAdapter.apk
118008 2010-06-27 17:09 system/app/GoogleContactsSyncAdapter.apk
59679 2010-06-27 17:09 system/app/GoogleFeedback.apk
724478 2010-06-27 17:09 system/app/GoogleGoggles.apk
8063 2010-06-27 17:09 system/app/GooglePartnerSetup.apk
317742 2010-06-27 17:09 system/app/GoogleQuickSearchBox.apk
708876 2010-06-27 17:10 system/app/GoogleServicesFramework.apk
4576 2010-06-27 17:10 system/app/HtcCopyright.apk
3755 2010-06-27 17:10 system/app/HtcEmailPolicy.apk
9265 2010-06-27 17:10 system/app/HtcSettings.apk
2935383 2010-06-27 17:10 system/app/LatinImeGoogle.apk
81104 2010-06-27 17:10 system/app/LatinImeTutorial.apk
3993846 2010-05-23 21:04 system/app/Maps.apk
5313 2010-06-27 17:10 system/app/MarketUpdater.apk
301058 2010-05-23 21:04 system/app/MediaUploader.apk
92808 2010-06-27 17:11 system/app/NetworkLocation.apk
6403 2010-06-27 17:11 system/app/OneTimeInitializer.apk
2471607 2010-06-27 17:11 system/app/PassionQuickOffice.apk
231923 2010-06-27 17:12 system/app/SetupWizard.apk
153107 2010-06-27 17:12 system/app/Street.apk
494632 2010-06-27 17:12 system/app/Talk.apk
2179271 2010-05-23 21:04 system/app/Twitter.apk
768803 2010-06-27 17:13 system/app/Vending.apk
370768 2010-06-27 17:13 system/app/VoiceSearch.apk
688263 2010-05-23 21:04 system/app/YouTube.apk
599440 2010-05-23 01:02 system/app/com.amazon.mp3.apk
888920 2010-05-23 21:04 system/app/googlevoice.apk
4880 2010-05-23 21:04 system/app/kickback.apk
80809 2010-05-23 21:04 system/app/soundback.apk
44426 2010-05-23 21:04 system/app/talkback.apk
816 2010-05-25 13:34 system/etc/permissions/com.google.android.maps.xml
249170 2010-06-27 17:04 system/framework/com.google.android.maps.jar
--------- -------
20015898 41 files

mine is only just fitting...

Filesystem Size Used Available Use% Mounted on
tmpfs 47.7M 0 47.7M 0% /dev
tmpfs 47.7M 0 47.7M 0% /mnt/asec
/dev/block/mtdblock3 90.0M 90.0M 16.0K 100% /system
/dev/block/mtdblock5 117.8M 89.4M 28.4M 76% /data
/dev/block/loop0 3.9M 3.9M 0 100% /system/xbin
/dev/block/mtdblock4 2.0M 776.0K 1.2M 38% /cache

I squash xbin with this script ;)

cd out/target/product/dream_sapphire/system/xbin/
for i in librank procmem procrank su tcpdump;do chmod 6755 $i;done
mksquashfs * ../xbin.sqf -force-uid 0 -force-gid 2000
rm *
mv ../xbin.sqf .
[G1 Android Development] wizern23:
Can I get a link to the gapps you mentioned
[G1 Android Development] studjuice:
He is intentionally not putting in the libs yes. He doesn't need to, he knows they make them work.

He hasn't released this rom yet, he is just developing it, and while he is developing it all he needs is for the operating system to work and that's it. When he's ready to give us the gift it will have all the goodies :)
[G1 Android Development] grennis:
I think you are right. It copied gmail but then ran out of space trying to copy the others.
[G1 Android Development] defconoi:
oh sweet they got a buildbot, sweet, wonder how frequent this is updated?
[G1 Android Development] grennis:
Huh, I thought I got the link from this thread, but I cannot find it now
[G1 Android Development] Firerat:
lol

the the nightly builds are just snapshots, fact is they might not even boot...
[G1 Android Development] defconoi:
i'll let u know, I just flashed one lol

edit: Just flashed a nightly teamdouche build, it has the new toggle Jit/Compcache in CMParts

Camera Crashes, no location wtf
[G1 Android Development] Firerat:
squash xbin, ;)

flash ROM

drop to console

mv /system/media/bootanimation.zip /data/local/

flash gapps

you will have space

can you fastboot?

check the custom MTD partitions in my sig

btw , I have a NoneDangerSPL, and its running fine for me ;)

I might up system size a touch, until I get round to properly trimming the fat

I'll still have more space on data than you with a system size of 95mb :P
[G1 Android Development] defconoi:
do we have a gapps update.zip?
[G1 Android Development] studjuice:
how do we squash xbin? isn't the stuff in there important? like su... i know i could move su to bin and set new permissions in the update-script. but the other stuff? there's not much point in moving stuff to bin, still takes up space, thats why i haven't. so what can i delete?

you should increase it to probably 90 :) but how do you have so much space in system AND data?
[G1 Android Development] Firerat:
me, nah

not looked

I did have some gapps missing, so I moved bootanimation.zip to /data/local

and symlinked Maps.apk to /data/apps/

all fits now ( but I could re-patch system to 95mb, just while messing about )
[G1 Android Development] studjuice:
i downloaded it. i could upload it, but its ugly. the gapps package is STUFFED with stuff. it's better to just take the gmail, vending, talk, and keyboard. maybe a few more :/?

if you need me to upload, let me know whether you want all or a selection.

screw it, take this link

http://uploadmirrors.com/download/1BVHK3T4/gapps-mdpi-FRF83-signed.zip from f-xtreme post
[G1 Android Development] Firerat:
with this script I already posted

my system is already 90mb

I could make it 95mb , just for bloaty testing
[G1 Android Development] studjuice:
If you could solve the weird installing apps problem you wouldn't have to change anything.

It installs apps we don't have in system/app automatically, like carhome and such. But apps that are in system/app that are supposed to be installed like latinime dont get installed. then since i don't have a keyboard i push it to /system/app and reboot, and i have a keyboard again. it just doesn't do what it should do! this is weird
[G1 Android Development] Shaquiel Harris:
No libs make the camera work i sware no matter what i change lol.. i might change the camera apk as well this is getting ridiculous. But it runs pretty well though just now the camera actually Forcecloses now along with the maps
[G1 Android Development] Shaquiel Harris:
i couldn't add a data/app folder for anything it made it bootloop too. D:
[G1 Android Development] defconoi:
working on a new build, will be ready by morning, the camera/gps WILL work :) it will be a base and u guys can play with :)
[G1 Android Development] studjuice:
aww your too nice
[G1 Android Development] 12345Doug:
MTD Resize

Based on our discussions earlier and wanting to flash gapps as well I went ahead and downloaded your partition roms/hacks.

I found when I flash test 5 and the mdpi-frf83 apps I found I used ~100MB of system. I'm sure I can trim down but I'm still learning all of this. There were several other posts talking about missing su and similar problems. My guess is this solution would solve those problems. My mtdpartmap.txt is "105 4".

For everyone experiencing these problems look in Firerat's sig and follow the Custom MOD Partition Link. Follow the instructions and good luck.

Steps:

1. Flash FR-MTD-PartHack-recovery-v1-2_S_S.zip

2. Reboot into Recovery

3. Flash CM 6 Test Build

4. Flash Gapps

5. Flash FR-MTD-PartHack-boot-v1-2_S_S.zip

6. Reboot

Thanks for your help and advice Firerat. Feel free to correct or add to the discussion.
[G1 Android Development] zimphishmonger:
Ummm, how shall I put this.....Do your research before suggesting that a developer is purposefully breaking something. Its comments such as this that pushed Cyanogen and TeamDouche to stop releasing test builds ti the masses, mainly because people ***** and moan too much about tests, even after they beg for them to be released

Cyanogen fixed the camera almost a week ago (and announced so via twitter), but they haven't released ANYTHING yet, not even a test. These nightly builds were NOT meant for ANYONE to use, and frankly may not even boot (as Firerat mentioned earlier)

If you want to play around with the nightly builds that have been hacked together w/ libs and files from other builds, feel free and good luck. If not, then be patient, shut up, and wait for an actual test build to come out before contemplated whether or not Cyanogen is "intentionally breaking" these builds.
[G1 Android Development] studjuice:
to add to the self installing apps thing. i just flashed and signed in and was going to test gps. so went to the market to download maps (wasn't installed) told it to download. started downloading. then another one started downloading (said there was two of them downloading) i went and cancel the one i started and i was able to watch the ninja maps finish downloading in the notif bar. after the download finished it disappeared again (instead of saying installing maps)..

i watched the app drawer and maps never showed up so i used root explorer to take a look inside the sys apps folder and looky there: everything.

after a lil reboot, it's still not available in the app drawer. just sitting in system/app. taking up space along with other crap like latinimetutorial.
[G1 Android Development] defconoi:
it turns out lunch menu in the compile process was using the wrong prelink map for the libraries, gps/camera should be fixed easily once I build the right binaries.

* Hits my head on the keyboard NTW&YM<KIM&UJ N$%DR

The ironic thing is everyone has been compiling this wrong lol, glade I figured this out

@FireRat, hey im loving your patchers, currently running a 90mb system, nice work
[G1 Android Development] Shaquiel Harris:
Damn. been trying for like 3 hours now looking up stuff trying to figure this out lmao.. Thanks def for telling us. Cant wait for that build tomorrow. And i just wanna say thanks to studjuice,firerat, smjfosho,deuse, ace42 and you defconoi for helping me out in these jams ive been in. Yeah i know they was all noobish but i really want to help thanks for taking the time out to explain this stuff to me. Thanks for telling me what to use to actually get me started studjuice. Thanks alot for posting the proprietary files Firerat that REALLY really helped me out and thanks for telling me why i was getting those damn bootloops took away alot of the anger from me thanks defconoi. I hope now i can make some contributions with you guys.
[G1 Android Development] gs63:
Is flash working in this Rom?
[G1 Android Development] defconoi:
lol, right now im using the CM6 Nightly with FireRat's MTD Patcher and the posted gapps, everything is working nicely accept camera/gps which im building now, this indeed has been a very good thread, I have learned allot from all of you. Thanks for all working together and being helpful
[G1 Android Development] studjuice:
this is starting to sound like everybody is saying goodbye... is the official cm6 that close? lol

lol that's almost my exact set up :P just a little more cusomized. i added gmail and vending apks to the build instead of the gapps package. replaced the framework-res cause i like it themed.

and i may mess around with libs we'll see

i LOVE how everything has been compress to take up almost half as much space
[G1 Android Development] Shaquiel Harris:
Totally off-topic, but who else is getting the samsung vibrant? i just started looking at it today and this phone looks like a winner (FINALLY AN ACTUAL UPDATE FROM THE G1 FROM TMOBILE!! besides N1 :( )
[G1 Android Development] Firerat:
no, thats correct

I'm using my build

its bloated.... :)

but with lbcoders magic kernel cmdline.. it fits ;)

Filesystem Size Used Available Use% Mounted on
tmpfs 47.7M 0 47.7M 0% /dev
tmpfs 47.7M 0 47.7M 0% /mnt/asec
/dev/block/mtdblock3 95.0M 94.6M 364.0K 100% /system
/dev/block/mtdblock5 112.8M 84.5M 28.2M 75% /data
/dev/block/loop0 1.0M 1.0M 0 100% /system/lib/modules
/dev/block/loop1 3.9M 3.9M 0 100% /system/xbin
/dev/block/mtdblock4 2.0M 1.1M 936.0K 54% /cache

not saying it should always be 95mb system, just makes it easier for testing

as you can see I have actually squashed kernel modules and xbin

I've attached squashedfs for the cyanogen_dream_sapphire-ota-eng.root posted above

you need to delete

system/lib/modules/*

system/xbin/*

and push the sqfs to them

so you end up with

./system/lib/modules

./system/lib/modules/modules.sqf

./system/xbin

./system/xbin/xbin.sqf

saves you about 6mb

du new/ orig/ -hs

4.9M	new/

11M	orig/

http://rapidshare.com/files/405426560/xbin-kmods-sqfs.zip (MD5: 12C09F8E5947CB2CBC407F6EB08EFFBC

;)

get the rapidshare chrome extension and effectively ignore countdowns