I need someone running STOCK sprint hero to help me - Hero CDMA Q&A, Help & Troubleshooting

i just need a directory listing of:
/system/app/
/data/app-private
please!

Adb shell
cd /system/app
ls
cd /data/app-private
ls

abcdfv said:
Adb shell
cd /system/app
ls
cd /data/app-private
ls
Click to expand...
Click to collapse
C:\android-sdk-windows\tools>adb shell
adb server is out of date. killing...
* daemon started successfully *
$ cd /system/app
cd /system/app
$ ls
ls
UploadProvider.odex
Sprint_Navigator.apk
amazonmp3.apk
DownloadProvider.odex
PCSCII.odex
CustomizationSetup.apk
HtcCdmaProvider.apk
Sprint_TV.apk
MediaProvider.odex
FieldTrial.odex
DCSImpl.apk
Mms.odex
Mail.apk
HTCNew.apk
HtcSettingsProvider.apk
IM.odex
UserDictionaryProvider.apk
com.htc.MusicWidget.apk
com.htc.MusicWidget.odex
HtcPhotoWidget.apk
Mail.odex
WorldClock.odex
HtcLockScreen.apk
PDFViewer.odex
DCSStock.apk
IQRD.odex
VoiceSearch.apk
Updater.apk
htcsearchwidgets.apk
com.htc.WeatherWidget.odex
HtcRingtoneTrimmer.odex
HtcTwitter.apk
HtcAddProgramWidget.apk
Sprint_Core.apk
checkin.apk
HtcSettingsProvider.odex
UserDictionaryProvider.odex
HTCAlbum.odex
GoogleSubscribedFeedsProvider.apk
DCSWeather.apk
CalendarProvider.apk
com.htc.StockWidget.apk
htccontactwidgets.apk
Rosie.apk
HTCCamera.odex
GoogleSettingsProvider.apk
Sprint_App_Updater.apk
PackageInstaller.odex
WeatherProvider.odex
FieldTrial.apk
HTCSetupWizard.apk
EPST.odex
Maps.apk
IMPlugins.odex
HtcSoundRecorder.apk
htcmailwidgets.odex
DmService.apk
HtcClockWidget.apk
GoogleContactsProvider.odex
htccontactwidgets.odex
DCSReverseGeocode.odex
gtalkservice.apk
HtcIQAgent.apk
OMADM.odex
OMADM.apk
htccalendarwidgets.apk
HtcStreamPlayer.odex
GmailProvider.apk
ImProvider.apk
Launcher.odex
SettingsProvider.odex
UploadProvider.apk
htcmailwidgets.apk
Calendar.odex
HtcPhotoWidget.odex
SetupWizard.apk
LearnMore.apk
Weather.odex
VoiceDialer.odex
GoogleSearch.apk
Phone.apk
Launcher.apk
Settings.odex
SDSA.apk
HtcMusic.odex
htcsettingwidgets.apk
Rosie.odex
Stock.apk
HtcSoundRecorder.odex
com.htc.WeatherWidget.apk
GSD.apk
WeatherProvider.apk
CalendarProvider.odex
Vending.apk
MySMS.odex
htcbookmarkwidget.apk
HtcStreamPlayer.apk
htcmsgwidgets.odex
MediaProvider.apk
VoiceDialer.apk
DCSReverseGeocode.apk
NetworkLocation.apk
Browser.apk
MemMonitor.odex
EPST.apk
Gmail.apk
Quickoffice_HTC_1.0.1.apk
HTMLViewer.odex
FlashPlayer.odex
MemMonitor.apk
Phone.odex
DCSImpl.odex
HtcLocationService.apk
FilePicker.odex
WorldClock.apk
Calculator.apk
PackageInstaller.apk
GSD.odex
HTCAlbum.apk
HTMLViewer.apk
IM.apk
CheckinProvider.odex
CheckinProvider.apk
Talk.apk
Sprint_Nscar.apk
teeter.odex
GoogleApps.apk
com.htc.StockWidget.odex
com.htc.TwitterWidget.apk
ImProvider.odex
com.htc.TwitterWidget.odex
YouTube.apk
DownloadProvider.apk
DCSStock.odex
HtcFootprintsWidget.odex
AccountManager.apk
HtcTwitter.odex
Sprint_NFL.apk
HtcFootprintsWidget.apk
htccalendarwidgets.odex
DCSGeocode.apk
DCSGeocode.odex
SocialNetworkProvider.odex
GooglePartnerSetup.apk
Stock.odex
FlashPlayer.apk
Clicker.odex
HtcContacts.apk
FilePicker.apk
HtcMusic.apk
IQRD.apk
DrmProvider.odex
htcbookmarkwidget.odex
htcsearchwidgets.odex
SocialNetworkProvider.apk
Calendar.apk
HtcFootprints.apk
Settings.apk
TelephonyProvider.apk
GoogleSearch.odex
Clicker.apk
GoogleContactsProvider.apk
HtcLocationPicker.odex
HtcAddProgramWidget.odex
Sprint_TVWidget.apk
SettingsProvider.apk
CertificateService.odex
CustomizationSetup.odex
MySMS.apk
Calculator.odex
TelephonyProvider.odex
IMPlugins.apk
HtcCdmaProvider.odex
Updater.odex
Street.apk
CertificateService.apk
HTCCamera.apk
HtcIQAgent.odex
HtcClockWidget.odex
HtcLockScreen.odex
Browser.odex
Weather.apk
HtcRingtoneTrimmer.apk
htcsettingwidgets.odex
teeter.apk
HTC_IME.apk
HTC_IME.odex
DMPortRead.odex
HTCSetupWizard.odex
GoogleSubscribedFeedsProvider.odex
CustomizationSettingsProvider.odex
PDFViewer.apk
DCSWeather.odex
htcmsgwidgets.apk
CustomizationSettingsProvider.apk
DCSUtility.apk
AccountManager.odex
DMPortRead.apk
PCSCII.apk
LearnMore.odex
HtcLocationService.odex
DrmProvider.apk
StatusBarCleanService.odex
StatusBarCleanService.apk
DCSUtility.odex
MediaUploader.apk
HtcFootprints.odex
Mms.apk
HtcContacts.odex
HTCNew.odex
HtcLocationPicker.apk
can't get the other one
C:\android-sdk-windows\tools>adb shell
$ cd /data/app-private
cd /data/app-private
$ ls
ls
opendir failed, Permission denied
$
running 100% stock. was rooted and running 2.1 but decided to go back to stock using the hero suu. so not rooted and running stock 1.5

Need root to ls then

Does anyone know what DCSWeather.odex and WeatherProvider.odex do??
I don't use HTC weather stuff at all... is it safe to delete those? I've already gotten rid of Weather.odex/apk But read someone said not to touch the weather provider..?
Thanks,
-Nigel

NewShockerGuy said:
Does anyone know what DCSWeather.odex and WeatherProvider.odex do??
I don't use HTC weather stuff at all... is it safe to delete those? I've already gotten rid of Weather.odex/apk But read someone said not to touch the weather provider..?
Thanks,
-Nigel
Click to expand...
Click to collapse
They both are services for the Weather application and weather widget. You probably shouldn't remove them, but I'd nandroid first and then try to remove them anways.

pseudoremora said:
They both are services for the Weather application and weather widget. You probably shouldn't remove them, but I'd nandroid first and then try to remove them anways.
Click to expand...
Click to collapse
Yea I deleted the HTC Weather app and it's widgets so I am wondering what I would need the service for unless other apps use it? Like the Weather Channel.? That's what I am using and love it.
-Nigel

Related

Google Maps 3.2.0 and New Youtube App

OK, for those on any cupcake or donut build, I've included instruction to get the new Maps 3.2.0 and the new YouTube app from Eclair (Android 2.0).
1. Download the zip file. View attachment 2.0_Apps.zip
2. Extract and place Maps.apk and YouTube.apk on the root of your SDCard
I'm using CyanogenMod 4.2.2 with CM-Recovery 1.4
In CM 4.2.2 the apps are found in /system/app ***while the phone is on and operation, if it's off or in recovery the symlink won't be active so please make sure your phone is completely booted. Don't do this from Recovery Console***
If you're using a different rom... go through your phone and locate Maps.apk and YouTube.apk update the links below accordingly
Windows users (with ADB working)
1. Open a CMD (command promt window)
Type:
- adb remount
- adb shell
- rm /system/app/Maps.apk
- rm /system/app/YouTube.apk
- cd /sdcard
- cp Maps.apk /system/app
- cp YouTube.apk /system/app
Phone Users:
1. Open a Terminal Window:
2. Type the following:
- su
- mount /system -o remount,rw
- rm /system/app/Maps.apk
- rm /system/app/YouTube.apk
- cd /sdcard
- cp Maps.apk /system/app
- cp YouTube.apk /system/app
You don't need to reboot... Apps will show up immediately in your menu. (You'll need to put them back on your Home Screen if you had them there though)
You're done... enjoy!
Is this the new maps with turn by turn?
You might want to change from
rm /system/app/Maps.apk
rm /system/app/Youtube.apk
to
mv /system/app/Maps.apk /sdcard/Maps.apk.old
mv /system/app/Youtube.apk /sdcard/Youtube.apk.old
the youtube app isn't all that stable and it never hurts to keep a backup, also I believe you need to remove any .obex files for maps and youtube to avoid problems although I didn't see any under CM 4.2.2
edit: I also believe these don't work on 1.5 might be worth pointing out in the OP
persiansown said:
Is this the new maps with turn by turn?
Click to expand...
Click to collapse
No just the one from the sholes dump, its faster to load and has layers for wikipedia, latitude and things like that
edit: more info here http://forum.xda-developers.com/showthread.php?t=574329
will this in a Hero rom? thanks!
Moved to apps location
might have to give this a shot
Totally doesn't work for me:
Microsoft Windows [Version 6.0.6002]
Copyright (c) 2006 Microsoft Corporation. All rights reserved.
C:\Users\DamianV>adb remount
remount succeeded
C:\Users\>adb shell
# rm /system/app/maps.apk
rm /system/app/maps.apk
rm failed for /system/app/maps.apk, No such file or directory
# rm /system/app_s/Maps.apk
rm /system/app_s/Maps.apk
rm failed for /system/app_s/Maps.apk, No such file or directory
# cp Maps.apk /system/app
cp Maps.apk /system/app
cp: cannot stat 'Maps.apk': No such file or directory
# cp Maps.apk /system/app
cp Maps.apk /system/app
cp: cannot stat 'Maps.apk': No such file or directory
#
I tried a few different variations.
remember to remount first and make sure you have the correct directories.
some roms uses system/app, some roms uses data/app_s
NguyenHuu said:
remember to remount first
Click to expand...
Click to collapse
Yeah I did do that...odd
do u have the origional file.. i made a booboo and didnt back up. forgot to backup origional file.
can u use a file explorer and browse and double check which directories the files are actually in? i see you tried both system/app and app_s. and i see you have lowercase for maps.apk. it could be uppercase, case sensitive.
for example your first cmd #rm /system/app/maps.apk, it should be Maps.apk
also for the copying part you need to do adb push, dont do it from shell. if you do from shell it would have to be from sdcard to that directory. i noticed in your log you didnt change directory to sdcard.
IronCross1788 said:
do u have the origional file.. i made a booboo and didnt back up. forgot to backup origional file.
Click to expand...
Click to collapse
Hahah yeah I made the same mistake--was getting 'Cross-Linked' errors so I said ehh fudge it and just wiped the original out. After that I was able to get the new Maps.apk loaded up though and DAMN, definitely an improvement
I thought these apps wouldnt work on anything below android 1.6?
If you're having trouble finding the app and want to check the directory you're in you can use ls (that's LS) to list the contents of the current directory. ROMs store things in different places so if you haven't already try....
adb remount
adb shell
cd /data/
ls
At that point see if you have app, app_s, app-private etc then if you do you can ....
cd app or app_s etc
Then do..
ls Maps.apk (this is case-sensitive)
If you get nothing do
cd ..
That'll take you back one directory, so if you're in /data/app it'll put you in /data
With those few commands you can probably find it. I don't use Linux enough to know what if there's a 'find' command available in console. The other option that might be quicker would be to find the .zip of the ROM you're using, create a new folder for it, move the .zip file to the new folder and then extract it there. That way you can browse through directories more easily or use Windows / OS X / Linux search functions to find Maps.apk
Phew...
Dyonas said:
If you're having trouble finding the app and want to check the directory you're in you can use ls (that's LS) to list the contents of the current directory. ROMs store things in different places so if you haven't already try....
adb remount
adb shell
cd /data/
ls
At that point see if you have app, app_s, app-private etc then if you do you can ....
cd app or app_s etc
Then do..
ls Maps.apk (this is case-sensitive)
If you get nothing do
cd ..
That'll take you back one directory, so if you're in /data/app it'll put you in /data
With those few commands you can probably find it. I don't use Linux enough to know what if there's a 'find' command available in console. The other option that might be quicker would be to find the .zip of the ROM you're using, create a new folder for it, move the .zip file to the new folder and then extract it there. That way you can browse through directories more easily or use Windows / OS X / Linux search functions to find Maps.apk
Phew...
Click to expand...
Click to collapse
Sound advise, one last thing for anyone who didn't know the remount command is
mount -o rw,remount /system (assuming your apps are in /system/app)
so full instructions for a CyanogenMod install from the sd card would be as follows
- su
- mount -o rw,remount /system
- cd /sdcard
- mv /system/app/Maps.apk /sdcard/Maps.apk.old
- mv /system/app/YouTube.apk /sdcard/Youtube.apk.old
- cp Maps.apk /system/app
- cp YouTube.apk /system/app
To revert back to old apps if you decide you don't like the new ones
- su
- mount -o rw,remount /system
- cd /sdcard
- cp Maps.apk.old /system/app/Maps.apk
- cp Youtube.apk.old /system/app/Youtube.apk
Breakthecycle2 said:
Totally doesn't work for me:
Microsoft Windows [Version 6.0.6002]
Copyright (c) 2006 Microsoft Corporation. All rights reserved.
C:\Users\DamianV>adb remount
remount succeeded
C:\Users\>adb shell
# rm /system/app/maps.apk
rm /system/app/maps.apk
rm failed for /system/app/maps.apk, No such file or directory
# rm /system/app_s/Maps.apk
rm /system/app_s/Maps.apk
rm failed for /system/app_s/Maps.apk, No such file or directory
# cp Maps.apk /system/app
cp Maps.apk /system/app
cp: cannot stat 'Maps.apk': No such file or directory
# cp Maps.apk /system/app
cp Maps.apk /system/app
cp: cannot stat 'Maps.apk': No such file or directory
#
Click to expand...
Click to collapse
If you have a2sd, try mapping to /system/sd/app or /system/sd/app_s
Make sure you remount before doing so.
hey guys!
for those who are having problems...
I just put the apk files in my sdcard and then upgraded it using ASTRO.. it worked fine!
yeah well every1 is doing this mad confusing lmfao i just installed with appsinstaller and it worked like a charm lol why is everything always confusing

3D Gallery removal

What is the .apk and package name for the 3D Gallery?
Can one of the mods move this to the Q&A forum.
Didin't realize I was in Android Dev
its either
Gallery3d.apk
or
com.cooliris.media.apk
depends on how it was installed, probably the first
but this script would look for both, and uninstall them.. cleanly
Code:
busybox mount -o rw,remount /system
for i in Gallery3d.apk com.cooliris.media.apk;do
find /data/app/ /system/app /sd-ext/app -iname $i -exec rm {} \;
done
pm uninstall com.cooliris.media
AustinAce said:
What is the .apk and package name for the 3D Gallery?
Click to expand...
Click to collapse
a easy way to find out is to use adb to pull all of your system apps
code: adb pull /system/app/
That's it! wait for it to finish and then you magically have all of your system apps copied to your sdk tools folder. I've copied and push system apps from one rom to another using this method. For instance, Many times I like the dialer or contacts or launcher apk's from one rom, but other things in another rom. This way I have mixed and matched my roms to customize them the way that I want to. Hope this helps!
What is called on the new CM6 because I can't find it
AustinAce said:
What is called on the new CM6 because I can't find it
Click to expand...
Click to collapse
still the same
Firerat said:
its either
Gallery3d.apk
or
com.cooliris.media.apk
depends on how it was installed, probably the first
but this script would look for both, and uninstall them.. cleanly
Code:
busybox mount -o rw,remount /system
for i in Gallery3d.apk com.cooliris.media.apk;do
find /data/app/ /system/app /sd-ext/app -iname $i -exec rm {} \;
done
pm uninstall com.cooliris.media
Click to expand...
Click to collapse

sgs noob (new from g1) sammy tools uninstall

hey. i just am new to the sammy and so far i'm loving it. However, I'd like a clean install of the OS so I want to get rid of the sammy default apps. I've tried using some tools to uninstall it but thats a no go.
Any ideas how I can delete these default apps (ans also which ones are mission critical and so I should keep).
thanks
i have made list of files which you can delete safely. you have to be root for this. i did this with the JM2 firmware but it should work with other's too ...
"adb shell" to the device and then:
Code:
su
cd /system/app/
rm SamsungWidget_StockClock.odex
rm WriteandGo.odex
rm MagicSmokeWallpapers.apk
rm WriteandGo.apk
rm Dlna.apk
rm TATLiveWallpapersDandelion.odex
rm MiniDiary.apk
rm TATLiveWallpapersOceanWave.apk
rm DualClock.odex
rm MagicSmokeWallpapers.odex
rm Days.odex
rm aldiko-standard-1.2.6.1-samsung-s1.apk
rm SamsungWidget_StockClock.apk
rm MiniDiary.odex
rm Layar-samsung.apk
rm TATLiveWallpapersBlueSea.odex
rm SamsungWidget_FeedAndUpdate.odex
rm BuddiesNow.odex
rm BuddiesNow.apk
rm Memo.odex
rm Memo.apk
rm SamsungWidget_CalendarClock.odex
rm TATLiveWallpapersAurora.odex
rm Dlna.odex
rm TATLiveWallpapersBlueSea.apk
rm SamsungWidget_WeatherClock.apk
rm SamsungWidget_ProgramMonitor.apk
rm SamsungWidget_FeedAndUpdate.apk
rm Days.apk
rm DualClock.apk
rm TATLiveWallpapersAurora.apk
rm VoiceDialer.apk
rm SamsungWidget_WeatherClock.odex
rm SamsungWidget_CalendarClock.apk
rm SamsungWidget_ProgramMonitor.odex
rm InfoAlarm.apk
rm InfoAlarm.odex
rm UnifiedInbox.odex
rm UnifiedInbox.apk
rm MyFiles.apk
rm MyFiles.odex
enjoy a clean system without most of the sammy-ui crap
cannot thank you enough. someone should make this a sticky with people contributing to this list based on other versions as well.
thanks much again
There is already a topic like this. Use search for gods sake.
Sent from my GT-I9000 using XDA App

[Q] android.policy.jar is unmodified,but device stay at frame

1.use kitchen extract rom from N7000ZSLO2_N7000OZSLO2_N7000XXLSO_HOME.tar.md5, then deodex rom.
2.copy android.policy.jar to sdcard.(android.policy.jar is unmodified.)
3.use dexopt-wrapper reodex ,get android.policy.odex.
4.copy android.policy.odex to /system/framework/android.policy.odex and set 644 permissions
5.reboot device and stay at samsung logo frame
now,How to deal with this problem? help,thx.
process
Code:
adb shell
su
busybox cp -f /data/local/tmp/odex/dexopt-wrapper /system/bin/dexopt-wrapper
chmod 755 /system/bin/dexopt-wrapper
busybox cp -f /system/framework/android.policy.jar /system/framework/android.policy.jar.bak
busybox cp -f /system/framework/android.policy.odex /system/framework/android.policy.odex.bak
rm /system/framework/android.policy.odex
busybox cp -f /data/local/tmp/odex/android.policy.jar /system/framework/android.policy.jar
dexopt-wrapper /system/framework/android.policy.jar /system/framework/android.policy.odex
busybox dd if=/system/framework/android.policy.odex.bak of= /system/framework/android.policy.odex bs=1 count=20 skip=52 seek=52 conv=notrunc
rm /system/framework/android.policy.jar
busybox cp -f /system/framework/android.policy.jar.bak /system/framework/android.policy.jar
rm /system/framework/android.policy.jar.bak
rm /system/framework/android.policy.odex.bak
chmod 644 /system/framework/android.policy.odex
reboot
attach file is logcat information.The log file alway display "DexOpt: Some deps went away"
What Rom are you using?
But more important: Why do you want to do this?
If you using a deodexed rom, you don't need an odexed jar
ThaiDai said:
What Rom are you using?
But more important: Why do you want to do this?
Click to expand...
Click to collapse
offical rom:N7000ZSLO2_N7000OZSLO2_N7000XXLSO_HOME.tar
i want to add a recovery menu item.
now after update file,device status:
framework-res.apk OK
android.policy.jar fail
nokiamodeln91 said:
If you using a deodexed rom, you don't need an odexed jar
Click to expand...
Click to collapse
in framework folder,all is odex.so if i want to modify a jar, must need an odex file.i want to update file as little as possible.
update.
quywz said:
Code:
adb shell
su
busybox cp -f /data/local/tmp/odex/dexopt-wrapper /system/bin/dexopt-wrapper
chmod 755 /system/bin/dexopt-wrapper
busybox cp -f /system/framework/android.policy.jar /system/framework/android.policy.jar.bak
busybox cp -f /system/framework/android.policy.odex /system/framework/android.policy.odex.bak
rm /system/framework/android.policy.odex
busybox cp -f /data/local/tmp/odex/android.policy.jar /system/framework/android.policy.jar
dexopt-wrapper /system/framework/android.policy.jar /system/framework/android.policy.odex
busybox dd if=/system/framework/android.policy.odex.bak of=[COLOR="Red"][B]/data/local/tmp/odex/android.policy.odex[/B][/COLOR] bs=1 count=20 skip=52 seek=52 conv=notrunc
rm /system/framework/android.policy.jar
busybox cp -f /system/framework/android.policy.jar.bak /system/framework/android.policy.jar
rm /system/framework/android.policy.jar.bak
rm /system/framework/android.policy.odex.bak
chmod 644 /system/framework/android.policy.odex
reboot
Click to expand...
Click to collapse
Is there a reason you're copying the .odex signature to /data/local/tmp/odex/android.policy.odex instead of /system/framework/android.policy.odex ? With your script, /system/framework/android.policy.odex remains unsigned.
Einril said:
Is there a reason you're copying the .odex signature to /data/local/tmp/odex/android.policy.odex instead of /system/framework/android.policy.odex ? With your script, /system/framework/android.policy.odex remains unsigned.
Click to expand...
Click to collapse
sorry,In this thread,I write wrong.
The actual operation is "busybox dd if=/system/framework/android.policy.odex.bak of= /system/framework/android.policy.odex bs=1 count=20 skip=52 seek=52 conv=notrunc".but the result is same.
if=/system/framework/android.policy.odex.bak is input file.
of = /system/framework/android.policy.odex is output file.
copy .odex signature from /system/framework/android.policy.odex.bak to /system/framework/android.policy.odex.
quywz said:
sorry,In this thread,I forgot to copy "busybox cp -f /data/local/tmp/odex/android.policy.odex /system/framework/android.policy.odex".
The actual operation don't forgot.but the result is same.
Click to expand...
Click to collapse
So what you're doing is :
1. optimize /system/framework/android.policy.jar to create /system/framework/android.policy.odex
2. copy the signature from /system/framework/android.policy.odex.bak to /data/local/tmp/odex/android.policy.odex
3. copy /data/local/tmp/odex/android.policy.odex to /system/framework/android.policy.odex
Am I right ? If I am, you're deleting the .odex file created from android.policy.jar, and replacing it with another one.
Einril said:
So what you're doing is :
1. optimize /system/framework/android.policy.jar to create /system/framework/android.policy.odex
2. copy the signature from /system/framework/android.policy.odex.bak to /data/local/tmp/odex/android.policy.odex
3. copy /data/local/tmp/odex/android.policy.odex to /system/framework/android.policy.odex
Am I right ? If I am, you're deleting the .odex file created from android.policy.jar, and replacing it with another one.
Click to expand...
Click to collapse
sorry,In this thread,I write wrong.
The actual operation is "busybox dd if=/system/framework/android.policy.odex.bak of= /system/framework/android.policy.odex bs=1 count=20 skip=52 seek=52 conv=notrunc".but the result is same.
if=/system/framework/android.policy.odex.bak is input file.
of = /system/framework/android.policy.odex is output file.
copy .odex signature from /system/framework/android.policy.odex.bak to /system/framework/android.policy.odex.
1.right
2.copy .odex signature from /system/framework/android.policy.odex.bak to /system/framework/android.policy.odex.above is my copy wrong.
3.used new signed /system/framework/android.policy.odex.
4.reboot,device stay at logo frame
edit.invalid context
quywz said:
1.right
2.copy .odex signature from /system/framework/android.policy.odex.bak to /system/framework/android.policy.odex.above is my copy wrong.
3.used new signed /system/framework/android.policy.odex.
4.reboot,device stay at logo frame
Click to expand...
Click to collapse
Is the attached script the entire script ?
If it is, why are you only copying the .odex files from /data/local/tmp/odex/ to /system/framework/, and not android.policy.jar and framework.jar ?
Einril said:
Is the attached script the entire script ?
If it is, why are you only copying the .odex files from /data/local/tmp/odex/ to /system/framework/, and not android.policy.jar and framework.jar ?
Click to expand...
Click to collapse
yes,entire script.
somebody tell me "Pls use original jar".I tried to use new jar.but the result is same.:crying:
quywz said:
yes,entire script.
somebody tell me "Pls use original jar".I tried to use new jar.but the result is same.:crying:
Click to expand...
Click to collapse
You don't set the permissions for the files any longer. Is there a reason for that ? Permissions should be 644 I guess.
Einril said:
You don't set the permissions for the files any longer. Is there a reason for that ? Permissions should be 644 I guess.
Click to expand...
Click to collapse
I tried you said,isnt reason.I had set Permissions 755 and 777,all invalid :crying:
I dont understand why fail.I am finding reason....
quywz said:
I tried you said,isnt reason.I had set Permissions 755 and 777,all invalid :crying:
I dont understand why fail.I am finding reason....
Click to expand...
Click to collapse
Hum, I personally don't find any error in your script then... Maybe this is due to an error in the new files (framework-res.apk, framework.jar or android.policy.jar). I guess you modified them, and maybe you did some mistakes :/
Einril said:
Hum, I personally don't find any error in your script then... Maybe this is due to an error in the new files (framework-res.apk, framework.jar or android.policy.jar). I guess you modified them, and maybe you did some mistakes :/
Click to expand...
Click to collapse
thx.
I tried to update files one by one.after update framework-res.apk is ok.android.policy.jar is fail.so I dont modfiy android.policy.ja.then optimized it. updating android.policy.odex refer to attached script(not including framework part).but device is NG.
I dont find a NG reason.
Einril said:
Hum, I personally don't find any error in your script then... Maybe this is due to an error in the new files (framework-res.apk, framework.jar or android.policy.jar). I guess you modified them, and maybe you did some mistakes :/
Click to expand...
Click to collapse
today ,I found a problem.dexopt-wrapper android.policy.jar and get android.policy.odex.Compare origial android.policy.odex,we fond dex's magic is different.origial android.policy.odex is "dex035", new origial android.policy.odex is "dex036".if i manually modify different,device is still stay.I guss if i manually modify different,odex's checknum is wrong.what do lead to new odex's magic change?is API Level ?
quywz said:
today ,I found a problem.dexopt-wrapper android.policy.jar and get android.policy.odex.Compare origial android.policy.odex,we fond dex's magic is different.origial android.policy.odex is "dex035", new origial android.policy.odex is "dex036".if i manually modify different,device is still stay.I guss if i manually modify different,odex's checknum is wrong.what do lead to new odex's magic change?is API Level ?
Click to expand...
Click to collapse
In dexFile.h :
Code:
/* current version, encoded in 4 bytes of ASCII */
#define DEX_MAGIC_VERS "036\0"
/*
* older but still-recognized version (corresponding to Android API
* levels 13 and earlier
*/
#define DEX_MAGIC_VERS_API_13 "035\0"
So yes, your dexopt-wrapper uses an API level >= 14 (ICS and JB), whereas your original ROM file must be older.
Einril said:
In dexFile.h :
Code:
/* current version, encoded in 4 bytes of ASCII */
#define DEX_MAGIC_VERS "036\0"
/*
* older but still-recognized version (corresponding to Android API
* levels 13 and earlier
*/
#define DEX_MAGIC_VERS_API_13 "035\0"
So yes, your dexopt-wrapper uses an API level >= 14 (ICS and JB), whereas your original ROM file must be older.
Click to expand...
Click to collapse
offical rom version is 4.1.2.so API level should is 16.but extract odex from device is 035.

[MOD][XPOSED]Google Play Store (2013/07/05)

Hi, I've built a dirty mod using Xposed framework to get Google Play store to work.
Script Installation
Requirement: Root your Ouya, adb tools
Files you need: ps4ouya_script.zip , download and extract them
Sideload the Xposed framework, download link and installation guide from here.
Execute RunMe.bat, that's it
_______________________________________________
Do this if the script didn't work
Manual Installation
Requirement: Root your Ouya, busybox installed, adb tools
Files you need: ps4ouya.zip , download and extract them
Sideload the Xposed framework, download link and installation guide from here.
Sideload Mod_PS4Ouya.apk and enable "Play Store Mod For Ouya" in the Xposed app
Push these Google apk to /system/app
Code:
adb push com.android.vending.apk /sdcard/com.android.vending.apk
adb push com.google.android.gms.apk /sdcard/com.google.android.gms.apk
adb push GoogleLoginService.apk /sdcard/GoogleLoginService.apk
adb push GoogleServicesFramework.apk /sdcard/GoogleServicesFramework.apk
adb push NetworkLocation.apk /sdcard/NetworkLocation.apk
Code:
adb shell
In the shell
Code:
su
mount -orw,remount /system
cat /sdcard/com.android.vending.apk > /system/app/com.android.vending.apk
cat /sdcard/com.google.android.gms.apk > /system/app/com.google.android.gms.apk
cat /sdcard/GoogleLoginService.apk > /system/app/GoogleLoginService.apk
cat /sdcard/GoogleServicesFramework.apk > /system/app/GoogleServicesFramework.apk
cat /sdcard/NetworkLocation.apk > /system/app/NetworkLocation.apk
chmod 644 /system/app/com.android.vending.apk
chmod 644 /system/app/com.google.android.gms.apk
chmod 644 /system/app/GoogleLoginService.apk
chmod 644 /system/app/GoogleServicesFramework.apk
chmod 644 /system/app/NetworkLocation.apk
mount -oro,remount /system
reboot
Now the Play Store should ready to work.
If you can't find the Play Store in the MAKE menu, sideload the com.android.vending.apk again.
Code:
adb install -r com.android.vending.apk
Please see my other project
Mod Collection For Ouya(Play Store, OTA root keeper, Disable Auto Update, Overscan Fix & 720p)
WonderEkin said:
Hi, I've built a dirty mod using Xposed framework to get Google Play store to work.
Installation
Requirement: Root your Ouya, adb tools
Files you need: ps4ouya.zip , download and extract them
Sideload the Xposed framework, download link and installation guide from here.
Sideload Mod_PS4Ouya.apk and enable "Play Store Mod For Ouya" in the Xposed app
Push these Google apk to /system/app
Code:
adb push com.android.vending.apk /sdcard/com.android.vending.apk
adb push com.google.android.gms.apk /sdcard/com.google.android.gms.apk
adb push GoogleLoginService.apk /sdcard/GoogleLoginService.apk
adb push GoogleServicesFramework /sdcard/GoogleServicesFramework.apk
adb push NetworkLocation.apk /sdcard/NetworkLocation.apk
Code:
adb shell
In the shell
Code:
su
mount -orw,remount /system
cp /sdcard/com.android.vending.apk /system/app
cp /sdcard/com.google.android.gms.apk /system/app
cp /sdcard/GoogleLoginService.apk /system/app
cp /sdcard/GoogleServicesFramework.apk /system/app
cp /sdcard/NetworkLocation.apk /system/app
chmod 644 /system/app/com.android.vending.apk
chmod 644 /system/app/com.google.android.gms.apk
chmod 644 /system/app/GoogleLoginService.apk
chmod 644 /system/app/GoogleServicesFramework.apk
chmod 644 /system/app/NetworkLocation.apk
mount -oro,remount /system
reboot
Now the Play Store should ready to work.
If you can't find the Play Store in the MAKE menu, sideload the com.android.vending.apk again.
Click to expand...
Click to collapse
Great.. Testing it out now. Is it okay if I use your work within ZG Rom?
Wow you are my hero! i cannot wait to try this tonight!
Why not? Pls go ahead if it works
Could you release the source of the PS4Ouya apk?
cant establish reliable connection
missing .apk on framework... for the copy pasters
adb push GoogleServicesFramework.apk /sdcard/GoogleServicesFramework.apk
also,
I had to use cat instead of cp
like:
cat /sdcard/GoogleServicesFramework.apk > /system/app/GoogleServicesFramework.apk
---------- Post added at 11:45 AM ---------- Previous post was at 11:18 AM ----------
so if you dont mind, us irc'ers are wondering... whats the magic with the ps4ouya.apk?
datagutt said:
Could you release the source of the PS4Ouya apk?
Click to expand...
Click to collapse
I can release the source if you guys confirm this mod works. Just bypass a method only, nothing secret.
faxanidu said:
cant establish reliable connection
Click to expand...
Click to collapse
What do you mean?
professorpoptart said:
missing .apk on framework... for the copy pasters
adb push GoogleServicesFramework.apk /sdcard/GoogleServicesFramework.apk
Click to expand...
Click to collapse
Thanks for pointing that out
WonderEkin said:
Hi, I've built a dirty mod using Xposed framework to get Google Play store to work.
Installation
Requirement: Root your Ouya, adb tools
Files you need: ps4ouya.zip , download and extract them
Sideload the Xposed framework, download link and installation guide from here.
Sideload Mod_PS4Ouya.apk and enable "Play Store Mod For Ouya" in the Xposed app
Push these Google apk to /system/app
Code:
adb push com.android.vending.apk /sdcard/com.android.vending.apk
adb push com.google.android.gms.apk /sdcard/com.google.android.gms.apk
adb push GoogleLoginService.apk /sdcard/GoogleLoginService.apk
adb push GoogleServicesFramework /sdcard/GoogleServicesFramework.apk
adb push NetworkLocation.apk /sdcard/NetworkLocation.apk
Code:
adb shell
In the shell
Code:
su
mount -orw,remount /system
cp /sdcard/com.android.vending.apk /system/app
cp /sdcard/com.google.android.gms.apk /system/app
cp /sdcard/GoogleLoginService.apk /system/app
cp /sdcard/GoogleServicesFramework.apk /system/app
cp /sdcard/NetworkLocation.apk /system/app
chmod 644 /system/app/com.android.vending.apk
chmod 644 /system/app/com.google.android.gms.apk
chmod 644 /system/app/GoogleLoginService.apk
chmod 644 /system/app/GoogleServicesFramework.apk
chmod 644 /system/app/NetworkLocation.apk
mount -oro,remount /system
reboot
Now the Play Store should ready to work.
If you can't find the Play Store in the MAKE menu, sideload the com.android.vending.apk again.
Code:
adb install -r com.android.vending.apk
Click to expand...
Click to collapse
Need to add .apk to "GoodleServicesFramework" push line.
Added my account just fine, but Google Play crashes on launch:
http://pastebin.com/J85uABZs
Reran the permissions portions and rebooted, just in case.
Good on ya for getting this far!
[EDIT] I'm gonna try using Vending DRM'ed files in a moment to test that aspect. If I can get DataSync+ working, then I may not need the actual Play Store. :3
Akkeresu said:
Need to add .apk to "GoodleServicesFramework" push line.
Added my account just fine, but Google Play crashes on launch:
http://pastebin.com/J85uABZs
Reran the permissions portions and rebooted, just in case.
Good on ya for getting this far!
Click to expand...
Click to collapse
It's going into the play store for me but I get "Connection timed out" with a retry button.
professorpoptart said:
missing .apk on framework... for the copy pasters
adb push GoogleServicesFramework.apk /sdcard/GoogleServicesFramework.apk
also,
I had to use cat instead of cp
like:
cat /sdcard/GoogleServicesFramework.apk > /system/app/GoogleServicesFramework.apk
---------- Post added at 11:45 AM ---------- Previous post was at 11:18 AM ----------
so if you dont mind, us irc'ers are wondering... whats the magic with the ps4ouya.apk?
Click to expand...
Click to collapse
Seems Ouya changes something to block some class properties like this one:
Code:
I/dalvikvm( 1568): DexOpt: access denied from Lcom/google/android/volley/elegant
/ElegantThreadSafeConnManager$ElegantPool; to field Lorg/apache/http/impl/conn/t
sccm/ConnPoolByRoute;.poolLock
I tried to replace some file from Nexus7 rom but didn't work
So i tired to mod the vending.apk to bypass this. And luckily, after I installed the XPOSED framework, those error are all gone, the Play Store shows but still get "Connection timed out" with a retry button.
Code:
E/Volley ( 3492): [283] NetworkDispatcher.run: Unhandled exception org.apache.http.impl.conn.ConnectionShutdownException
E/Volley ( 3492): org.apache.http.impl.conn.ConnectionShutdownException
E/Volley ( 3492): at org.apache.http.impl.conn.AbstractPooledConnAdapter.assertValid(AbstractPooledConnAdapter.java:91)
E/Volley ( 3492): at org.apache.http.impl.conn.AbstractPooledConnAdapter.getRoute(AbstractPooledConnAdapter.java:116)
E/Volley ( 3492): at com.google.android.volley.elegant.ElegantThreadSafeConnManager.releaseConnection(ElegantThreadSafeConnManager.java:75)
E/Volley ( 3492): at org.apache.http.impl.conn.AbstractClientConnAdapter.releaseConnection(AbstractClientConnAdapter.java:307)
E/Volley ( 3492): at org.apache.http.conn.BasicManagedEntity.releaseManagedConnection(BasicManagedEntity.java:191)
E/Volley ( 3492): at org.apache.http.conn.BasicManagedEntity.eofDetected(BasicManagedEntity.java:145)
E/Volley ( 3492): at org.apache.http.conn.EofSensorInputStream.checkEOF(EofSensorInputStream.java:211)
E/Volley ( 3492): at org.apache.http.conn.EofSensorInputStream.read(EofSensorInputStream.java:139)
E/Volley ( 3492): at java.io.SequenceInputStream.read(SequenceInputStream.java:190)
E/Volley ( 3492): at java.io.InputStream.read(InputStream.java:163)
E/Volley ( 3492): at com.android.volley.toolbox.BasicNetwork.entityToBytes(BasicNetwork.java:212)
E/Volley ( 3492): at com.android.volley.toolbox.BasicNetwork.performRequest(BasicNetwork.java:104)
E/Volley ( 3492): at com.android.volley.NetworkDispatcher.run(NetworkDispatcher.java:105)
So I tried to bypass org.apache.http.impl.conn.AbstractPooledConnAdapter.assertValid and WOW, the Play Store is working
WonderEkin said:
I can release the source if you guys confirm this mod works.
Click to expand...
Click to collapse
works fine for me... didn't test the ouya store along side it though... it tried to update on me so I had to killed it before it downloaded.
Akkeresu said:
Need to add .apk to "GoodleServicesFramework" push line.
Added my account just fine, but Google Play crashes on launch:
http://pastebin.com/J85uABZs
Reran the permissions portions and rebooted, just in case.
Good on ya for getting this far!
[EDIT] I'm gonna try using Vending DRM'ed files in a moment to test that aspect. If I can get DataSync+ working, then I may not need the actual Play Store. :3
Click to expand...
Click to collapse
Seems the Xposed installer can't replace the app_process
can you download this one and push it into /system/bin, chmod 755, reboot and start play store again?
WonderEkin said:
Seems Ouya changes something to block some class properties like this one:
Code:
I/dalvikvm( 1568): DexOpt: access denied from Lcom/google/android/volley/elegant
/ElegantThreadSafeConnManager$ElegantPool; to field Lorg/apache/http/impl/conn/t
sccm/ConnPoolByRoute;.poolLock
Click to expand...
Click to collapse
exactly what I was seeing, I have never used exposed before... something new to try next time we run into something like this. Awsome job! Now reap the sweet sweet internet karma! lol
BUS DR1V3R said:
It's going into the play store for me but I get "Connection timed out" with a retry button.
Click to expand...
Click to collapse
can you post the adb logcat? thanks.
source attached
WonderEkin said:
Seems Ouya changes something to block some class properties like this one:
Code:
I/dalvikvm( 1568): DexOpt: access denied from Lcom/google/android/volley/elegant
/ElegantThreadSafeConnManager$ElegantPool; to field Lorg/apache/http/impl/conn/t
sccm/ConnPoolByRoute;.poolLock
I tried to replace some file from Nexus7 rom but didn't work
So i tired to mod the vending.apk to bypass this. And luckily, after I installed the XPOSED framework, those error are all gone, the Play Store shows but still get "Connection timed out" with a retry button.
Code:
E/Volley ( 3492): [283] NetworkDispatcher.run: Unhandled exception org.apache.http.impl.conn.ConnectionShutdownException
E/Volley ( 3492): org.apache.http.impl.conn.ConnectionShutdownException
E/Volley ( 3492): at org.apache.http.impl.conn.AbstractPooledConnAdapter.assertValid(AbstractPooledConnAdapter.java:91)
E/Volley ( 3492): at org.apache.http.impl.conn.AbstractPooledConnAdapter.getRoute(AbstractPooledConnAdapter.java:116)
E/Volley ( 3492): at com.google.android.volley.elegant.ElegantThreadSafeConnManager.releaseConnection(ElegantThreadSafeConnManager.java:75)
E/Volley ( 3492): at org.apache.http.impl.conn.AbstractClientConnAdapter.releaseConnection(AbstractClientConnAdapter.java:307)
E/Volley ( 3492): at org.apache.http.conn.BasicManagedEntity.releaseManagedConnection(BasicManagedEntity.java:191)
E/Volley ( 3492): at org.apache.http.conn.BasicManagedEntity.eofDetected(BasicManagedEntity.java:145)
E/Volley ( 3492): at org.apache.http.conn.EofSensorInputStream.checkEOF(EofSensorInputStream.java:211)
E/Volley ( 3492): at org.apache.http.conn.EofSensorInputStream.read(EofSensorInputStream.java:139)
E/Volley ( 3492): at java.io.SequenceInputStream.read(SequenceInputStream.java:190)
E/Volley ( 3492): at java.io.InputStream.read(InputStream.java:163)
E/Volley ( 3492): at com.android.volley.toolbox.BasicNetwork.entityToBytes(BasicNetwork.java:212)
E/Volley ( 3492): at com.android.volley.toolbox.BasicNetwork.performRequest(BasicNetwork.java:104)
E/Volley ( 3492): at com.android.volley.NetworkDispatcher.run(NetworkDispatcher.java:105)
So I tried to bypass org.apache.http.impl.conn.AbstractPooledConnAdapter.assertValid and WOW, the Play Store is working
Click to expand...
Click to collapse
How did you bypass that call??
WonderEkin said:
can you post the adb logcat? thanks.
Click to expand...
Click to collapse
Here is a link to pastebin... http://pastebin.com/mrBLwwMP
ok fixed that problem... now it FC's
unable to launch process is bad
MasterZen88 said:
How did you bypass that call??
Click to expand...
Click to collapse
Heres the meat. basically hook the class and throw null. well done WonderEkin!
Class<?> clsAbstractPooledConnAdapter = findClass("org.apache.http.impl.conn.AbstractPooledConnAdapter", lpparam.classLoader);
findAndHookMethod(clsAbstractPooledConnAdapter, "assertValid", org.apache.http.impl.conn.AbstractPoolEntry.class, new XC_MethodReplacement() {
@Override
protected Object replaceHookedMethod(MethodHookParam param) throws Throwable {
return null;
}
});
}
}
Click to expand...
Click to collapse

Categories

Resources