Studi/mein/schülerVZ integration in non-German Generic ROMs - XPERIA X10 Android Development

hey guys. I recently rooted my phone, many thanks for that by the way, however something that only exists in Germany that's very similar to Facebook called StudiVZ isn't integrated anymore. This isn't like... thaaaaat bad or anything, it would just be nice to have it working again since I'm living in Germany atm.
Is there a way to say "enable" it in SE's Generic Roms (assuming they just don't have it enabled but the code's still there) or can I somehow load the necessary files for that from the Germany-Generic Rom onto my current setup?
Thanks for your help guys. I'm sure I'm not the only one who wants this in Germany and I apologize if I'm repeating something already covered. I couldn't find anything in the search.

You need to get the apk files to get it working again, just like the Hyves part for Dutch X10 users, you need to find someone who's willing to pull and upload the files for you! Good luck!

ahh okay thank you very much kevin. I know it's not currently possible to decrypt branded roms, but what about the generic roms for different regions?
either that or can any Germans please hook me up with the necessary files? =) da wär ich jemanden sehr dankbar

I think this should do the magic. I have attached German Rom Timescape files, because there is no "real" Addon/Plugin for StudiVZ. I think they hardcoded it into Timescape.
Regards
Bin4ry
EDIT: Sorry i found it!
Extract my attached zip. You will find another zip and a apk.
Put the zip in /data/app
Put the apk in /data/app-private

ok I downloaded the files, copied the old ones to the sdcard, copied the new ones (from the zip file) to the sdcard in another folder, then I dd'd the new ones over into /system/app/ and now the phone doesn't want to start... it's just showing the Sony Ericsson logo at first and now it's not moving forward at all...
Did I miss something? Can still get into Debug mode to copy over the old files for now?
current rom: 024
Thanks very much for any help
*EDIT*
Ok I figured out I can still get into Debug mode to change the files around... however the sdcard isn't mounted. I'm gonna try a few things but I would like to know how I could mount it.

Hm, i think in packages.xml now TS key is false for the packages. Packages.xml is found in /data/system/packages.xml
And don't forget to chmod 644 the files.
Here are the timescape entrys in the german rom :
Code:
<package name="com.sonyericsson.android.contentmanager.service.timescape" codePath="/system/app/TimeScapeProvider.apk" system="true" ts="1277952731000" version="1" userId="10038">
<sigs count="1">
<cert index="5" />
</sigs>
Code:
<package name="com.sonyericsson.android.timescape" codePath="/system/app/Timescape.apk" system="true" ts="1277952872000" version="1" userId="10021">
<sigs count="1">
<cert index="5" />
</sigs>
</package>
Code:
<package name="com.sonyericsson.android.timescape.pluginmanager.framework.application" codePath="/system/app/TimescapePluginManager.apk" system="true" ts="1277952731000" version="1" userId="10006">
<sigs count="1">
<cert index="5" />
</sigs>
</package>
Maybe you can try to fix it if you change this entrys with the right TS.
My sdcard is mounted like this:
Code:
/dev/block//vold/179:1 /sdcard vfat rw,dirsync,nosuid,nodev,noexec,uid=1000,gid=
1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,s
hortname=mixed,utf8 0 0
Regards
Bin4ry

okay... so this hasn't gone quite like planned... I did the following to put the old files back in their place but it doesn't seem to have worked just yet.
I mounted the sdcard to the PC using this method:
http://forum.xda-developers.com/showthread.php?t=531310
after that I copied the folder with the original files for my phone onto my laptop. I then proceeded to do the following:
./adb push /home/doug/Downloads/GermanTimescape/Timescape/TimeScapeProvider.odex /timescape/
./adb push /home/doug/Downloads/GermanTimescape/Timescape/TimeScapeProvider.apk /timescape/
./adb push /home/doug/Downloads/GermanTimescape/Timescape/TimescapePluginManager.odex /timescape/
./adb push /home/doug/Downloads/GermanTimescape/Timescape/TimescapePluginManager.apk /timescape/
./adb push /home/doug/Downloads/GermanTimescape/Timescape/Timescape.odex /timescape/
./adb push /home/doug/Downloads/GermanTimescape/Timescape/Timescape.apk /timescape/
Click to expand...
Click to collapse
in this case the Backed-up files were copied to /home/doug/Downloads/GermanTimescape/Timescape/ and as you can see each was placed on the folder /timescape I created with 777 permissions to get the files on the phone at least.
I then did the following:
./adb shell dd if=/timescape/Timescape.apk of=/system/app/Timescape.apk
./adb shell dd if=/timescape/Timescape.odex of=/system/app/Timescape.odex
./adb shell dd if=/timescape/TimeScapeProvider.odex of=/system/app/TimeScapeProvider.odex
./adb shell dd if=/timescape/TimeScapeProvider.odex of=/system/app/TimeScapeProvider.odex
./adb shell dd if=/timescape/TimeScapeProvider.odex of=/system/app/TimeScapeProvider.odex
./adb shell dd if=/timescape/TimeScapeProvider.odex of=/system/app/TimeScapeProvider.odex
Click to expand...
Click to collapse
and despite that I'm still not getting the phone to boot. I'm gonna double check permissions, etc, but until then any ideas?
thanks,
Doug
*EDIT*
ok so somehow that didn't work. some of the timestamps are from an hour or so ago so I doubt that's right. I'm doing something wrong... arghhhhh
btw I can't seem to get the sdcard mounted here still... whenever I try to mount it, it complains about my syntax. my linux knowledge is failing me (= me failing^^)

This was a double-post originally but now that I got it back working I'm just gonna use this post anyway...
wow I completely fell asleep. after re-analyzing my scripts I notice now how many mistakes I made.... just fixed filenames and the phone booted right up without me even having to reboot it! now I'm going to go at it a little slower and check out those files Binary.
thanks again
*EDIT #2*
well I copied the files from Binary, edited the packages.xml accordingly and it didn't work. the VZ-Networks haven't shown up.

OK I know this will be a third post but it was originally not supposed to be like that... I do somewhat need a *bumb* now due to new information. I now believe that timescape is dependant on a lib under /system/lib/
my reasoning is that you have libs for facebook and twitter (both of which are enabled in Timescape in generic roms) however for twitter I know for sure I have no applications installed for it to work.
The dependency could very well lie on more files (probably settings files for Timescape regarding plugins) but if someone could please get me the proper .so file from the lib folder (or just the entire lib folder would be fine if size makes no difference) so I can try and get that working.

I can upload tomorrpw. But havw you already copied the two files in my zip? From what i'm knowing only from brainstroming there are some entrys from timescape in default. Prop located in system dir. Take a look there too.
But normally the addons which are located in /data/app and /data/app-private should work.....
Regards
Bin4ry
Sent from my X10i using Tapatalk

hey can you still upload those files and and others you might think play a role?
Gruß,
Doug
*EDIT*
Sorry... Yes, I tried all of them.

a-ha! Correction! I hadn't seen the second file (I didn't notice that you had edited your post). I did what you said and now it works. =D Thank you!

Good
I forgot you almost sorry
but if it runs now there is no need for the libs anymore
Regards
Bin4ry

Related

New Rooting method for 2.1 | updated for 2.0.2.A.0.24 | 9/01/2011

Here comes the latest rooting method that works with 2.0.2.A.0.24 firmware.
Credits to Scotty2 for his psneuter exploit!
1. Download and unpack rootme.tar.bz2
2. Execute ./rootme (linux) or rootme.bat (windows)
3. Done.
---
You may also want to try SuperOneClickv1.5.5-ShortFuse.zip (modified by batman_112 to use the latest exploit).
Cheers,
z
Stop for me at Point 4)
I got back
./ratc: Permission denied
Click to expand...
Click to collapse
after
./ratc
i get ... permission denided
Wow, actually it seems that copying files with adb push via script messes thing up I corrected the instructions, so now it will work for you, but need to copy the files manually.
zdzihu said:
Wow, actually it seems that copying files with adb push via script messes thing up I corrected the instructions, so now it will work for you, but need to copy the files manually.
Click to expand...
Click to collapse
Your link is broken
Try now, I got rid of installation scripts
EDIT: Now it works flawlessly. I still have no clue why copying files with .bat file messes everything up, but manual copying does the job.
why the superone reach the root sometimes so slow?
your method uses the same exploit, and works at first try
check the files plz: Invalid or Deleted File
can't download the ratc-pack --> Invalid or Deleted File
please reup - THX
EDIT: Link is OK now --> THX
Link is OK. Downloading at the moment.
Tried it manually (as described)...
But same problem... :-(
UserX10 said:
Tried it manually (as described)...
But same problem... :-(
Click to expand...
Click to collapse
I just reflashed my phone and it worked for me at 1st attempt.
Could you please got rid of the old files and retry from the beggining?
Cheers!
meta96 said:
after
./ratc
i get ... permission denided
Click to expand...
Click to collapse
Same thing for me
:-( Same Problem
I flashed my X10 with nordic FW and tried it again Step by Step... but "permission denied"... even if i remove and make the tmp directory as described...
Ok, last thing to try... After you copy the files, go with:
Code:
adb shell
chmod 777 /data/local/tmp/*
I added some screenshots to show how the process works for me.
is this a full root? i mean, is root+shell root?
zdzihu said:
Hi guys, I've noticed some people still can't get their phones rooted with SuperOneClick method. So do I, never managed to get it working Here is a simple method of rooting, using the same exploit (rageagainstthecage - credits to author). This is quick and 100% guaranteed to work but I'd rather recommend it to advanced users.
1. Install Android Terminal Emulator from the market http://bit.ly/9B46Nl
2. Download and unpack http://www.mediafire.com/?s0428zxc7n50i28
3. Plug in the phone (usb debugging mode), copy the following files with adb and change permissions:
Code:
adb push ratc /data/local/tmp/ratc
adb push busybox /data/local/tmp/busybox
adb push su /data/local/tmp/su
adb push rootme /data/local/tmp/rootme
adb push superuser.apk /data/local/tmp/superuser.apk
adb shell
chmod /data/local/tmp/*
4. Start Terminal Emulator on your phone and issue those commands:
Code:
cd /data/local/tmp
./ratc
5. Exit out of Terminal Emulator using BACK button.
6. Start any other application and exit out of it using BACK button.
7. Start Terminal Emulator again - note that you're running it as root (#)
8. Issue those commands:
Code:
cd /data/local/tmp
./rootme
Your phone will reboot - and it's done. I suggest installing Busybox from the Market. Hope it helps.
Cheers!
EDIT: Fixed.
Click to expand...
Click to collapse
Finally I was able to root my phone
just one correction, you got to use chmod 777 /data/local/tmp/*
it was not allowing to root otherwise
i kept breaking my head using the "simple" SuperOneCLick but could not show my rage against the machine
thank you for explaining this process for Root.
zdzihu said:
Ok, last thing to try... After you copy the files, go with:
Code:
adb shell
cd /data/local/tmp
chmod 777 *
I added some screenshots to show how the process works for me.
Click to expand...
Click to collapse
chmod 777 *
did it. thanx. btw like your oldstyle-skills
Just saw this thread and wanted to root my phone also...I downloaded the files provided in the first post and extracted onto my PC. When I tried running the adb application, I only get a command window only for a split second and then it disappears. Am I doing something wrong?
Everything works fine until the final step where I write ./rootme in the emulator.
Before the phone reboots, it says something right after, something about superuser.apk.
Once the phone is back on the emulator goes back to $. As well as not being able to download Busybox.
Appreciate your efforts
EDIT: No worries, I managed to get root using SuperOneClick (finally!). It was rather sketchy, would've preferred your way tbh.

HOW to reach 2.1 system files from 2.2 ROM

Hello all
I need help
Unfortunately I have managed to damage my 2.1 rom. (i have replaced 2.1 framework-res.apk)
Now I cannot boot into it , problem is that I do not have a backup, so I cannot just easily "reburn" the firmware.
I have 2.2 ROM implemented. but I do not -know how to reach 2.1 system files from it. There is some chroot done in boot process imho .
Can anybody help me how to reach the files
I have a backup of framework-res.apk
thermoska said:
Hello all
I need help
Unfortunately I have managed to damage my 2.1 rom. (i have replaced 2.1 framework-res.apk)
Now I cannot boot into it , problem is that I do not have a backup, so I cannot just easily "reburn" the firmware.
I have 2.2 ROM implemented. but I do not -know how to reach 2.1 system files from it. There is some chroot done in boot process imho .
Can anybody help me how to reach the files
I have a backup of framework-res.apk
Click to expand...
Click to collapse
Code:
adb shell
mkdir 21system
mount -o rw /dev/block/mtdblock2 /21system
If you're lucky it will mount your 2.1 system partition as /21system
Most likely it will say "Device or resource busy"... But worth trying anyway.
Cheers
Thanks
I had to think about remount
Going to try now ..
EDIT:
You are absolutelly right : Device or resource busy .
What should I try now ?
I found out that I can reach 2.1 system in adb , but my root do not work. so I cannot do anything to the system partition . Any ideas how to achieve root in this state ? On phone display there is still only firts sony ericsson logo ..
thermoska said:
Hello all
I need help
Unfortunately I have managed to damage my 2.1 rom. (i have replaced 2.1 framework-res.apk)
Now I cannot boot into it , problem is that I do not have a backup, so I cannot just easily "reburn" the firmware.
I have 2.2 ROM implemented. but I do not -know how to reach 2.1 system files from it. There is some chroot done in boot process imho .
Can anybody help me how to reach the files
I have a backup of framework-res.apk
Click to expand...
Click to collapse
I did the same thing at least twice. I was able to save it without restoring by replacing my framework-res.apk before it rebooted or froze.
Basically, try to adb into it while it is still at the Sony logo or if you get the blackscreen after the logo.
One weird thing I did notice was that I was able to replace the framework-res.apk file apparently without using 'su'. After I killed it when I was doing adb at/after the logo I tried to 'su' but it gave some error and remained at the '$' prompt. I then did the 'dd if=/sdcard/framework-res.apk of=/system/framework/framework-res.apk' command and it completed. Rebooted and it worked again.
Think my whole thing was tested second time with a script.
Try making a frameworkfix.cmd file and putting this in it.
@echo off
@echo.
@echo Installing Framework
@echo.
@adb shell su
@adb push framework-res.apk /sdcard/framework-res.apk
@adb shell dd if=/sdcard/framework-res.apk of=/system/framework/framework-res.apk
The keep trying to run it while at the Sony logo. Give it a few runs before you give up, I swear it worked for me.
thermoska said:
I found out that I can reach 2.1 system in adb , but my root do not work. so I cannot do anything to the system partition . Any ideas how to achieve root in this state ? On phone display there is still only firts sony ericsson logo ..
Click to expand...
Click to collapse
Heck just try the following from folder with your original framework.
adb push framework-res.apk /sdcard/framework-res.apk
adb shell dd if=/sdcard/framework-res.apk of=/system/framework/framework-res.apk
or
adb push framework-res.apk /sdcard/framework-res.apk
adb shell
su
dd if=/sdcard/framework-res.apk of=/system/framework/framework-res.apk
thanks guys , but I do not need commands,
I know them already , I had permissions problem.
Instructions mentioned above did not worked for me
I've got permission denied
anyway thanks
thermoska said:
Thanks
I had to think about remount
Going to try now ..
EDIT:
You are absolutelly right : Device or resource busy .
What should I try now ?
I found out that I can reach 2.1 system in adb , but my root do not work. so I cannot do anything to the system partition . Any ideas how to achieve root in this state ? On phone display there is still only firts sony ericsson logo ..
Click to expand...
Click to collapse
You can access the 2.1 /system partition through 2.2 with adb.
Use this to unmount 2.2 /system
Code:
su
busybox umount /dev/block/loop1
You can check if all worked well this way:
Code:
busybox ls -1d /system/* | grep xbin
If it gives you anything, it's 2.1 -- if not, try
Code:
busybox umount -l /dev/block/loop1
Now, you should have the old 2.1 /system structure available. Ignore all errors appearing *on the phone* it'll be screwed up, unusable. Until a restart.
Now through adb you can overwrite your 2.1 framework apk with dd
(assuming you already have it on the sdcard, else, well, push it there (adb push framework.apk /mnt/sdcard/ )
Code:
dd if=/mnt/sdcard/framework.apk of=/system/framework/framework.apk
for remount system, just do
Code:
busybox mount -o remount,rw /system
after you have the 2.1 system available.
I installed 2.2 to my nand (almost fully working) at one point this way =3
Or...
You can flash again just using system.bin and everything you had would be there.
;-)
You also will need loader.sin
I did this a couple of times and work for me; I only need to root again
Good luck!
PS: In the firmware folder, you need to leave ONLY this 2 files: System.sin and loader.sin. Backup and delete all other files like amss.sin, cache.sin, etc.
well thank you
This a good idea ..
Unfortunatelly I already reflashed the phone
Hope it will help to somebody in the future
ttxdragon said:
I installed 2.2 to my nand (almost fully working) at one point this way =3
Click to expand...
Click to collapse
Thought that would work, was going to do it with .003, but I guess the recovery tool will do that for us - now we see what Z has been working on - excellent news
Just curios. Any speed improvements when extracting the img files to nand and mount/run it from there ?
Even running from sdcard img files is a perfect backup solution by just copy the img files away from time to time. But of course r/w cycles of the card are increased --> less lifetime.
But otherwise running from images is nice, as you're able to mount them. (diskinternals linux reader but R-only)
Anyone knows a win32 prog to mount the img files r/w ?

Need help with mediascape

I uninstalled mediascape and now i can't use video playback after recording a video. i tried using google and searchin forums to reinstall mediascape but all i found were scripts to be used and you need the .odex file. i unfortunately do not have that, although i was able to get the .apk file but it will not reinstall with just that. i searched for a couple days and nothing still. any help would be greatly appreciated!
jellogk said:
I uninstalled mediascape and now i can't use video playback after recording a video. i tried using google and searchin forums to reinstall mediascape but all i found were scripts to be used and you need the .odex file. i unfortunately do not have that, although i was able to get the .apk file but it will not reinstall with just that. i searched for a couple days and nothing still. any help would be greatly appreciated!
Click to expand...
Click to collapse
just see this now.
go here
http://forum.xda-developers.com/showthread.php?t=826849
oh...and one thing...you should really do a search before open a trhead
many thanks
thank you so much. it seems as though my searching skills is terrible. :\. i havent extracted yet but i hope to figure out which is the .odex file because i have been able to acquire the .apk. thank you once again and sorry for opening a new thread >_<
jellogk said:
thank you so much. it seems as though my searching skills is terrible. :\. i havent extracted yet but i hope to figure out which is the .odex file because i have been able to acquire the .apk. thank you once again and sorry for opening a new thread >_<
Click to expand...
Click to collapse
You're wellcome.
When i get to my pc ill look for what files you'll need
Sent from my Xperia AOSP using XDA App
EDIT:
i think to install mediascape correctly you just need to install mediascape.apk and MediascapePluginManager.apk....and mediascape.odex (this one i can`t find)
if you get this 3 files do this on adb:
HTML:
adb shell mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system
adb shell dd if=/sdcard/apps/MediascapePluginManager.apk of=/system/app/MediascapePluginManager.apk
adb shell dd if=/sdcard/apps/MediascapePluginManager.odex of=/system/app/MediascapePluginManager.odex
adb shell chmod 644 /system/app/MediascapePluginManager*
adb shell dd if=/sdcard/apps/mediascape.apk of=/system/app/mediascape.apk
adb shell dd if=/sdcard/apps/mediascape.odex of=/system/app/mediascape.odex
adb shell chmod 644 /system/app/mediascape*
adb shell reboot
after reboot you should have mediascape installed and running
And you still need mediascapeplugginmanager.odex, so...if i were you ill flash it
Sent from my Xperia AOSP using XDA App

Help using the "find" command to install apk files

Hi all,
I have been trying for the majority of this night to try and make a, more or less, simple concept into a reality.
I would like to "deploy" .apk files to a set of tablets for student use in the school. Every now and then I will be required to install new apps across a range of devices. I have sorted out the transfer of the apk files to the tablets using an app called "FolderSync" so that the files will be local on the SD Card. Hopefully this part should not be problematic. Due to the fact that the tablets will be used by students, I want to make the process of installing the apps as automated as possible. Using the command "pm install <app.apk>" command I have achieved this step also. My trouble is that I will require the script to improvise and find all apk files in a folder and install them. So far I have tried the following:
Code:
su
cd /sdcard/FolderSync/
find *.apk -exec "pm install {}" \;
However this returns "find: pm install app.apk: No such file or directory"
This may be more of a Linux issue than android, or maybe even just me missing something obvious, however I have tried adjusting the syntax here and there and can't figure out how to successfully install a directory of .apk files.
Any ideas?
Thanks in advanced,
tylergard702
Any ideas anyone?
Or any alternate ideas of how to install a directory of .apk files without any user verification?
Ah never mind
Ha ha, using:
Code:
find *.apk -exec sh -c "pm install {}" \;
worked a treat . just thought I'd update in the unlikely event that someone is as silly as me :L
Solved.

[Q] [help]how to get system folder permission for hdx7

I just play andorid device a few days, but My hdx7 is a little bricked because i deleted some system app. Now I can log in fire os, have adb, usb connected and internal storge, even i can operate device setting app, but i can't open the other app because i don't have a desktop.
I compare system/app folder with the same folder in the amazon bin, found that the folder lack of scores of app, but the other system folder is the same. So I hope can adb push app folder to the system folder, but the pemission denied. I try to remount or mount, it can't work.
if adb root, then "adbd cannot run as root in production builds.
if adb push apk to the app folder, then “permission denied".
if adb remount, then ”remount failed: Operation not permitted".
and I have try adb shell like that:
# su
# mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
# chmod 777 /system
# exit
it didn't work.
my hdx7 have rooted.
My Questions are:
1. If I could push the app folder to the system folder and reset to factory, is my hdx saved?
2. How to get the system folder rw in the situation?
thx for any prompt, although i am a rookie but i will try my best, i wish the adept can help me and will be enormously grateful. Sorry for my poor english.
It sounds to me that you had lost root.
kschang said:
It sounds to me that you had lost root.
Click to expand...
Click to collapse
So i have tried root again like "http://forum.xda-developers.com/showthread.php?t=2544965" said
But it didn't work, please see the attach, But I don't know why.
Sorry for that i'm rookie to andorid and ask so many questions.
randolphling said:
So i have tried root again like "http://forum.xda-developers.com/showthread.php?t=2544965" said
But it didn't work, please see the attach, But I don't know why.
Sorry for that i'm rookie to andorid and ask so many questions.
Click to expand...
Click to collapse
Hmmm... It says you still have root (the prompt changed after "su")
I personally don't use ADB much. I have Root Explorer (grabbed it legally for free from Amazon ages ago) and Wifi Explorer Pro (same method) so I basically WiFi myself the files I need sideloaded then move them around on the device itself. But if you've lost launcher, you have deeper issues.
Have you tried ADB push any launcher? Or even a download store like 1Mobile or Aptoide?
ADB is basically a Linux shell debug into Android, so you need to learn some Unix shell commands. I'm sure you can find ADB guides with the basic commands, like "ls", "cp", and so on.
You need to check the directory and see if the system/app and other system directories are still there. This is one reason I only play with the copy of ROM I have (see Safestrap Recovery).

Categories

Resources