yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] farmatito:
Improved list for the backup and restore after flash or leave untouched strategies:

GOOGLE AND HTC STUFF (?)

/system/app/BugReport.apk

/system/app/checkin.apk

/system/app/Clicker.apk

/system/app/Gmail.apk

(easy to substitute with other mail client):

pop.gmail.com port 995 with SSL

smtp.gmail.com port 465 with SSL)

/system/app/GmailProvider.apk

/system/app/GoogleApps.apk

android/cupcake/packages/providers/GoogleContactsProvider is open source

/system/app/GoogleContactsProvider.apk

/system/app/GooglePartnerSetup.apk

/system/app/GoogleSettingsProvider.apk

android/cupcake/packages/providers/GoogleSubscribedFeedsProvider is open source

/system/app/GoogleSubscribedFeedsProvider.apk

/system/app/gtalkservice.apk

android/cupcake/packages/providers/ImProvider is open source

/system/app/ImProvider.apk

/system/app/MediaUploader.apk

/system/app/NetworkLocation.apk

/system/app/SetupWizard.apk

android/cupcake/packages/apps/Stk/src/com/android/stk is open source

/system/app/Stk.apk

/system/app/Street.apk

/system/app/Talk.apk

/system/app/TmoImPlugin.apk

/system/app/Vending.apk

android/cupcake/packages/apps/VoiceDialer is open source

/system/app/VoiceDialer.apk

/system/app/VoiceSearch.apk

/system/app/YouTube.apk

/system/etc/permissions/com.google.android.gtalkservice.xml

/system/etc/permissions/com.google.android.maps.xml

/system/framework/com.google.android.gtalkservice.jar

/system/framework/com.google.android.maps.jar

/system/framework/com.htc.framework.jar

/system/framework/com.htc.resources.apk

/system/lib/libcerttool_jni.so

Other closed source(?) files:

/system/bin/akmd

(/system/etc/AudioFilter.csv)

(/system/etc/AudioPara4.csv)

(/system/etc/AudioPreProcess.csv)

/system/etc/firmware/brf6300.bin

(/system/etc/gps.conf)

/system/etc/wifi/Fw1251r1c.bin

(/system/etc/wifi/tiwlan.ini)

/system/lib/libaudioeq.so

/system/lib/libgps.so

/system/lib/libhgl.so

/system/lib/libhtc_acoustic.so

/system/lib/libhtc_ril.so

/system/lib/libjni_pinyinime.so

/system/lib/libmm-adspsvc.so

/system/lib/libOmxCore.so

/system/lib/libOmxH264Dec.so

/system/lib/libOmxMpeg4Dec.so

/system/lib/libOmxVidEnc.so

/system/lib/libopencorehw.so

/system/lib/libpvasf.so

/system/lib/libpvasfreg.so

/system/lib/libqcamera.so

/system/lib/libspeech.so

/system/lib/hw/lights.goldfish.so

/system/lib/hw/lights.msm7k.so

/system/lib/hw/sensors.trout.so

WAREZ (?)

/system/app/HTC_IME.apk

/system/lib/libt9.so

/system/app/ PDFViewer.apk

/system/lib/libpdfreader.so

/data/app/Quickoffice_HTC_1.0.1.apk

/data/app/teeter.apk

also posted here http://xdaforums.com/showthread.php?t=564303&page=6
[G1 Android Development] Z҉A҉L҉G҉O̚̕̚:
Were gonna need Stk.apk it's for the sim card without that it's impossible to make calls.

And vending.apk is for Market and without that it is impossible to download the majority of apps.
[G1 Android Development] farmatito:
I would suggest a different strategy that is even easier. Every user has this

files already on his rom, most (all?) of them are 1.5 based. So before

updating the phone with a cooked rom you have only to backup (tar)

the not redistributable files to the sdcard. After having flashed the coocked rom

you just need to untar them to the flash memory.
[G1 Android Development] farmatito:
Stk.apk is for the Sim menu. You can make calls even if you delete it from your rom
[G1 Android Development] Z҉A҉L҉G҉O̚̕̚:
The problem with that is that the apk's have odexes and resource id's that must match the build number to actually work even Cyanogen said that.
[G1 Android Development] maxisma:
I'm building the AOSP android-1.5_r3 now and will load it onto my device and will try to push the files to it.

Please wait for the results.

If I have success, I'll start making a script which automates the process.
[G1 Android Development] Z҉A҉L҉G҉O̚̕̚:
Good luck and good speed.
[G1 Android Development] farmatito:
If i recall correctly JF made a tool to convert odex files to dex files which could then be repacked in the apk. Don't know if this could be run on the phone tough.
[G1 Android Development] maxisma:
SUCCESS! I found the needed files, got market working on AOSP!

It's the list above (first post).

I'm writing a script now ;-)

Edit:

Script for Linux users is done, testing it now and looking for bugs, will then make a windows-one.
[G1 Android Development] maxisma:
Ok, script is in the first post.
[G1 Android Development] Loccy:
Couldn't this script run from within a recovery image with little if no changes?

i.e. consider this install procedure for a new ROM

1) push update.zip for new ROM to SD card

2) push signed-dream_devphone_userdebug-img-150275.zip to SD (I suspect most people would just have it milling about their SD card in the end!)

3) wipe

4) apply update.zip

5) run (obviously slightly modded) script in recovery before rebooting and running ROM for first time

There'd need to be some kind of unzip capacity within the recovery image, otherwise, there doesn't seem to be anything you're doing in your script that couldn't be done on the handset itself.
[G1 Android Development] maxisma:
Yeah, you're right!

But the unzip process would last much longer on this little, little handset.

But ok i'll make a script ;)

EDIT:

Have written a script, untested.
[G1 Android Development] farmatito:
cp system/app/GoogleSubscribedFeedsProvider.apk gfiles/app/xx.apk
cp system/app/GoogleSubscribedFeedsProvider.apk gfiles/app/GoogleSubscribedFeedsProvider.apk

Think there is typo error in the first line.

Could be a good thing to set explicitely the permissions and ownership of the files.
[G1 Android Development] sureshg:
I think the last line should be

cp -r /gfiles/* /system/

rt ?
[G1 Android Development] maxisma:
Yap, there is 1 line too much @farmatito, thanks, will fix that!

@sureshg:

I rewrite the script for the recovery.. thanks!
[G1 Android Development] UnkzDomain:
Another possible way to do this is to make a script that makes an update.zip file from HTC's yaffs file.

It would only consists of the apk's and libraries we need to modify (market, IM, Maps, whatever) which would make flashing it faster on the device. And it would also be flashable with Cyanogen's bootloader after we flash an AOSP build since we can flash any .zip file with it.

However, I would like to be able to back up the new market and all associated libraries before trying it in case I wanna switch back :D
[G1 Android Development] stellarman:
@ maxisma: Thanks for taking this in a positive direction. I was thinking along the same lines, and just posted the below to another thread before I saw this thread:

It looks to me as though Google is bluffing. Here is copyright law that, IMHO, gives every user the right to make and use a backup: COPYRIGHT LAW Just because Google say something, doesn't mean it is true.

I believe the solution to this whole mess is very simple. Here is the roadmap:

1) Cyanogen makes a list of all the closed source apps that need to be left out of the ROM.

2) Some kind person(s) write an app that the user can run to backup the list of files, signs and zips it so that it can be flashed later. Let's call that app "GoogleBack," and make it freely available here (and on the Market?).

3) Cyanogen produces each new ROM without the proprietary files that are on the backup list.

4) User runs "GoogleBack" one time and resulting googleback.zip is stored on /sdcard (root directory).

5) User installs new CM update.zip from Recovery as usual.

6) User also flashes googleback.zip while still in Recovery.

7) User reboots as usual, and now has a new ROM, complete with Google's precious proprietary apps.

8) Everybody goes home happy.

Alternatively, Cyanogen could add a step to the reboot process (home+back) that runs a script to copy the backup files from the backup file (and maybe also run fix_permissions if necessary). This would make that first reboot a longer process, but it would get the job done.

We need to get busy on a solution. This whole issue is just a speed-bump on the Android highway. :D

I think you are absolutely on the right track. Keep up the good work. Thanks also to everyone else who is making this happen.
[G1 Android Development] lopiuh:
use of deviceinstalled official rom

Hi,

why not use the already installed software on the user device. The update.zip of the custom rom could rely on the vanilla stock firmware and do all the needed patching and homebrew additions on base of the stock rom during first boot. So enduser has to flash an official rom first, unit is in an well known state and the dev update.zip just does the conversion to the custom rom during first boot.

I think the end user may not be allowed to run these modification software but he won't be punished. Don't know if it is legal to redistribute a rom which does the patching but that would be the same problem of redistributing software which does a merge of two roms on the enduser side.

Greetings Lopiuh
[G1 Android Development] UnkzDomain:
This is almost exactly what I was talking about (except I was thinking that the "GoogleBack" zip should be made on a computer since it would be faster to make) and that we could use HTC's official provided yaffs image (because they are licensed to distribute it) instead of the ones from an existing phone.
[G1 Android Development] newspeak:
doing it on the phone and using the existing rom on the phone prolly helps eliminate possible future legal issues i would think...if they are letting their lawyers do their pr for them then we will never get a specific complaint that can be changed...they obviously don't want this happening at all
[G1 Android Development] Wysie:
Thanks maxisma :)! Glad to see everyone's taking it in a positive direction and moving on!
[G1 Android Development] senaia:
So using this, basically, after flashing (do we boot then return to recovery, or flash and stay in recovery?) We adb into a recovery mode, type a little command, and hey presto, google apps downloaded from official sources straight to the device without breaching any potential copyrite?

Dude if this works you could very well be the next einstein... but without the nukes
[G1 Android Development] maxisma:
It won't download, because you need to accept an agreement to download.

You have to search for the file "signed-dream_devphone_userdebug-img-150275.zip" and place it on your /sdcard.

Then flash an update w/o google, do "adb shell sh /sbin/gapps" directly after it in recovery and voila google apps are there!
[G1 Android Development] ytj87:
This isn't going to work in the new world of Android. The implications of Goog's decision are deep. Here from the license which is on the HTC page when you download the image:

------

You may not copy (except for backup purposes), modify, adapt, redistribute, decompile, reverse engineer, disassemble, or create derivative works of the Google Software or any part of the Google Software. You may only load the Google Software onto the Android Developer Phone 1, and except in conjunction with third party software that makes up the Android system image, you may not combine any part of the Google Software with other software, or distribute any software or device incorporating a part of the Google Software.

------

Extracting Goog bits from the image, in part or to use in something else, is clearly illegal. The "copy for backup" exception means in whole only, not in parts.

We have to have our own Goog bits already to be fully legal.
[G1 Android Development] daveid:
I don't get all these threads, if Cyanogen releases a ROM based off his 4.1.11.1 with whatever left out, wouldn't it be safe to assume all you have to do to get a working ROM is this.

1. Extract 4.1.11.1 to a folder on your pc.

2. Extract, and overwrite were applicable, the new ROM to that same folder.

3. Re-zip.

4. Sign.

5. Flash.

6. Enjoy.

I can only assume that Cyanogen will continue his development based upon his current 4.1.11.1, and that most people have (or know how to obtain) that ROM, meaning Cyan does not need to distribute or endorse said distribution. So the files that would be pulled from the phone or other build are the same as those that exist in 4.1.11.1 (right?). And those files would not be in the new ROM, so combining those two would create one working ROM...

Or am I completely off base here?
[G1 Android Development] deadite66:
while that's true its different google trying to go after 30k people rather than going after one modder.

the onus is on the end users conscience.
[G1 Android Development] cj chitwood:
This end user's conscience is clear. Regardless of the fact I'm using Cyan's mod, I'd have had the Google apps had I stayed with T-Mo official ROM. Since I PAID FOR MY PHONE with a two-year contract and monthly fees to T-Mo on top of the $180 I paid out of pocket to acquire the device itself, I see no issue with me using the apps it came with.

That said, I *DO* plan to go back and look at what versions I've got and try to get the original, official t-mo released ones. Aside from Market, I didn't realize that the apps actually had changed and not been released yet.

Gotta run -- family walking out the door on me to go eat.

Cheers!
[G1 Android Development] robpet2:
will watch for more info.. .gotta make sure i get this right.. so taking notes..

damn i hate being slow on signing zips
[G1 Android Development] UnkzDomain:
I made a script based on the one that you had, but I made it so it creates an flashable update.zip that includes all the Google Apps from the HTC build and (because it is against the license that you agree to when you download the file from HTC's site) it lets you use a NANDroid backup instead, too.

http://xdaforums.com/showthread.php?p=4618816
[G1 Android Development] tdusen:
Sorry for digging up an old thread, but I'm finally getting around to modifying a rom to have only what I want in it. I'm starting with MLign's 2.5.7, since I need the HTC framework to make HTC Sync work. I don't use any Google services, (mail, contacts, calendar...)

Here's my question...

What is are the minimum file needed to allow the Market to still work? The list on page 1 seems to be all google apps. or, are they all required?
[Hero, G2 Touch Android Development] jreimerink:
I tried to root my G2 i installed the recovery flasher and make backups etc.

but i cant start the recovery with holding Home + power. then i see the T-mobile logo and it dont go further....

somebody tips?
[Hero, G2 Touch Android Development] dan0zone:
First tip ,,,,,,,,,>>>> THERE IS NO " G 2 "............

Second tip WHY ARE YOU NOT USING THE Q&A SECTION FOR QUESTIONS?.......
[Hero, G2 Touch Android Development] jreimerink:
what do you mean there is no G2 ?
[Hero, G2 Touch Android Development] Heppieboeddah:
Did you push the img to youre device, so its installed permantly?

I.e.

adb shell reboot bootloader (wait for device to reboot into bootloader)
fastboot boot cm-hero-recovery.img
adb shell mount /sdcard
adb push cm-hero-recovery.img /sdcard/cm-hero-recovery.img
adb shell flash_image recovery /sdcard/cm-hero-recovery.img
[Hero, G2 Touch Android Development] jreimerink:
i tried it and it doesnt work. also tried the Root you hero in 1 click..

which is the best to do:?
[Hero, G2 Touch Android Development] Heppieboeddah:
Try to root it in the old fashion way..with ADB.

http://xdaforums.com/showpost.php?p=4257045&postcount=38

Is the .img on youre sd-card?

Are you Dutch? If so look @ tweakers.net in the android forum
[Hero, G2 Touch Android Development] jreimerink:
thx for your help. did it like that and i am rooted now.

when i update my foon with another room am i still rooted then?
[Hero, G2 Touch Android Development] Heppieboeddah:
Only if you flash the custom roms from Modaco. If you use the official HTC-rom-updates, you have to do it all over again.

Good to hear this was helpfull..:-)
[Hero, G2 Touch Android Development] foxmeister:
On T-Mobile in the UK, the Hero is branded as the "G2 Touch". Yes, it's still a Hero, but that doesn't change the fact that there is a "G2". Otherwise, there's no such thing as a G1 either, because that's an HTC Dream.

http://www.t-mobile.co.uk/shop/mobile-phones/phones/pay-monthly/t-mobile/g2-touch/overview/

Regards,

Dave
[Hero, G2 Touch Android Development] Heppieboeddah:
See his signature! He has a G1, so a G2 doesn't excist....:D
[General Topics] butatx:
Hello

My program icon list 2 per row after installing e-native showcase:confused:

How to list my program icon 3 list per row back?

Thanks
[General Topics] sunnymiu:
You made your scroll bar too thick that start menu do not have space to fit 3 icons every row. You can fix it by making your scroll bar narrower. =)
[General Topics] butatx:
Thanks sunnymiu

I need to adjust the scroll bar to be smaller, thanks again:)
[General Topics] magicben:
Hello,

Who has a solution to update the weather with ActivSynch AUTOMATICALLY ?

To be more precise:

When I plug TP2 to PC, it starts up and syncs. QuickGPS updates itself automatically.

For the weather is not like this, it must go on the weather tab, and then do an update (automatic or manual).

I hope that the weather updates without going to the weather tab, just simply plug the TP2 to the computer.

Thanks
[G1 Q&A, Help & Troubleshooting] kraze10458:
?? lol is there still new to the g1 also if there anything else i should know let me know my phone is rooted and hacked already

...ugh i hate the camera on this phone!.i miss my iphone but there has to be some good in this phone so if anyone wants to help me let me know
[G1 Q&A, Help & Troubleshooting] jmon777:
what is so slow? swap can help also and what rom are you running?
[G1 Q&A, Help & Troubleshooting] crpercodani:
nope, it sucks. go back to your iphone man its your only hope!
[G1 Q&A, Help & Troubleshooting] AdrianK:
Word, I'm adda here in a couple of weeks...
[G1 Q&A, Help & Troubleshooting] AndroidFiend:
if you have cyans latest 4.1.11.1 release then it should be fine since bfs is included
[XPERIA X1 Q&A, Help & Troubleshooting] pb_2003:
Hi,

For 2 days now, my screen has a "dead spot" at the right bottom.

For instance if you have the virtual keyboard on, pressing the "+" gives the "p" (above key) and pressing the "l" gives the "." (lower key).

It's not that the screen is misaligned, because it chooses the upper and lowe character.

And this area is also not working in other application.

Softreset did not help.

You think that this is a hardware problem, or do you think it can be solved by flashing the rom?

Anybody had similar experience?
[XPERIA X1 Q&A, Help & Troubleshooting] Leddy:
It's a problem with resistive digitisers, your screen is on it's way out (prob will be unusable in a few months). Claim your warranty now.
[XPERIA X1 Q&A, Help & Troubleshooting] PoisonWolf:
Leddy,

I've always been curious. How bad do you need to treat your screen before the digitizer starts failing before its expected failure date ?

Cheers.
[XPERIA X1 Q&A, Help & Troubleshooting] ring-bearer:
My screen had a small area that would register touches in the wrong place (either too far left or right). I sent it in and they replaced the screen. I'd do that if I were you.
[XPERIA X1 Q&A, Help & Troubleshooting] Leddy:
No clue. Never had that happen to me personally. I have a deadish HTC Magician (but i got it while it already had the problem), and I gifted an Elf to my mother, and that digitiser developed problems after she "wiped it down with an alcohol wipe" (no clue how she managed that, because I do that all the time).
[G1 Q&A, Help & Troubleshooting] pizzlep0p:
i jus added the user.conf file but wha exactly do i need to type in to correctly do the 96 swap
[G1 Q&A, Help & Troubleshooting] pizzlep0p:
and im using the peoples rom
[G1 Q&A, Help & Troubleshooting] AdrianK:
You need to make a linux swap partition >.>
[G1 Q&A, Help & Troubleshooting] pizzlep0p:
i been that
[G1 Q&A, Help & Troubleshooting] pizzlep0p:
i should say do the swappiness
[G1 Q&A, Help & Troubleshooting] Fingerlickin:
goto terminal emulator

type free

press enter

What does it say for swap?
[G1 Q&A, Help & Troubleshooting] Fingerlickin:
that's about what mine says.
[Hero, G2 Touch Q&A, Help & Troubleshooting] newfoundshore:
I bought a unlocked hero online and i think it is an Eastern European version with countries such as Poland, Romania, Czech Republic, etc when i try to change/select a locale on the phone. Is it possible to change the locale to perhaps to the UK? I downloaded and installed the recent rom updates from both the the main European and UK HTC websites and it still displays Eastern European locales. thanks.
[Touch Pro2, Tilt 2 Themes and Apps] sleonard:
Reserved for future media player reviews.

S
[Touch Pro2, Tilt 2 Themes and Apps] kyuub:
+1 !!!!

I have exactly the same problem !

I past 3 hours to manage my music PC library of WMP to finaly have a very poor result on my phone :'(

The Music Player integrate on the touchflow looks pretty, but it miss a lot of utilities, WMP looks more complet, but uggly and too small :'(

Both of theme have the problem of the "listing tag"

I'm also seeking for a complet music player with a good listin and if it's possible a "cover flow".

(Sorry for my poor english).
[Touch Pro2, Tilt 2 Themes and Apps] mike2nl:
You have tested the core player 1.3.5 or 1.3.6?

I have a nice skin for this player...
[Touch Pro2, Tilt 2 Themes and Apps] sleonard:
I have not but I want to. Unfortunately, it does not look like it has a trial edition so it will cost me $30 to find out if it has what I need. Can you tell me if it can make use of the "Album Artist" tag for library organization and/or if it properly alphabetizes "The Band" under the B's not the T's?

S
[Touch Pro2, Tilt 2 Themes and Apps] Maverick777:
I'm currently using S2P.

It's the most feature complete of all the players I've tried. It's almost perfect.

I'd recommend giving S2P a try.

http://s2p.ac-s2.com/
[Touch Pro2, Tilt 2 Themes and Apps] sleonard:
I updated my OP with S2P info.

After using both Nitrogen and S2P I had 2nd thoughts on the tag vs. file/folder structure to organize a music library. As long as the artist folders are named correctly both the "Album Artist" and the alphabetization issues are solved.

Unfortunately that requires a lot of manual labor and also means there is no extended info available. I have put an enormous amount of work into properly tagging my music library on my media server at home and I would like to benefit from that work on my TP2 as well as any other playback devices I might use.

S
[Touch Pro2, Tilt 2 Themes and Apps] sleonard:
I asked CorePlayer support about the "Album Artist" tag and alpha issue last Saturday. Today I got an email saying that I haven't responded in 72 hrs and could they close the case. They never even tried to answer me. Simply ignored me for nearly a week and then asked if the issue was resolved and could they close the case!

I still don't know if CP will meet my needs but their support sure looks like crap.

S
[Touch Pro2, Tilt 2 Themes and Apps] oldpueblo:
I might as well chime in here, I'm looking for other media players like tcpmp that resume where you left off even after you close it fully. I listen to a lot of audio books and it's a pain to find your place again. Tcpmp is the only one I've seen but it's a bit unwieldy to use with fingers.
[Touch Pro2, Tilt 2 Themes and Apps] Protonus:
CorePlayer's support is TERRIBLE, they also promise frequent updates an seldom provide. A huge thumbs down to the company and product in general. They banned my office IP without explanation from their forums after I asked why no one had responded to my emails, support tickets, and phone calls, about a bug I found in their forum software that makes it unable to e-mail me at the .ws domain, preventing me from being unable to activate my account on their forum. Unfortunately it is also one of the better players out there in general. Though it is very UN finger friendly.
[Touch Pro2, Tilt 2 Themes and Apps] sir_reign:
Try S2P links in posts above. It will do exactally what you need, I listen to alot of Podcasts in small portions and it does the trick. Its finger friendly too