Hello,
i am a developer of a Openvpn for ICS App (http://code.google.com/p/ics-openvpn). I got multiple reports of users that the VPNService API seems to be missing from this device.
The code is question is shown here (with the comment for another Sony image):
http://code.google.com/p/ics-openvpn/source/browse/src/de/blinkt/openvpn/LaunchVPN.java#319
I would try to poke in the image myself to see if it is possible to add the missing files but I do not have access any Sony ICS phone
Perhaps some of the more adventurous developers could take a look what wrong with the image or at least tell Sony that they left a standard ICS feature in ICS.
Can you tell me which files you need? I can extract them & upload so you can verify
Related
Hi,
I compiled CM-7.2 after applying patches from the "seek for android" project but, when selecting EAP-SIM authentication on a 802.1x Wifi network, connection failed. Direct modification of wpa_supplicant.conf did also fail.
It seems few 2011 RILs / basebands support this feature.
So, I was wondering if some more "xperia specific" approach could work (given the limitation is not a hardware one...?).
My phone is a neo (MT15i). Its "successor" was a 2012 xperia U (ST25i) with EAP-SIM support.
My question is what module(s) contain(s) the code handling this feature ?
Knowing this, I would also like to know if one or both of the following proposals could work :
1. Extract from the U .ftf file the .sin file(s) handling 'EAP-SIM' to flash it / them into my neo (may be a little 'dirty' and 'violent'...).
2. Compile the source (mainly the 'external' and 'kernel' directories) published on the Sony developper site for neo after replacing the necessary files / directories with the xperia U ones.
Any idea ?
Kind regards
Hi again,
I studied my problem a little bit further. As far as I understood, Sony did not publish the whole source code for their devices.
"external" and "kernel" directory contents are surely not the only ones that need to be adapted to get this EAP-SIM authentication up and running.
Which leaves me with the other option : manipulating the .sin files.
And I just found out that it's possible to extract their content (unyaff) to get the directories installed in the phone and their files. After modification, these files and directories can normally be packaged back (yaff).
By the way, are .sin and .img equivalent ?
So could somebody please tell me what files from the U firmware should be taken over and packaged back in the Neo firmware ?
Regards
Hi again,
Extracting, modifying, repacking a yaffs2 file is not a problem.
Whereas, producing the corresponding .sin file seems not to be possible.
According to the following thread, SE signs the .sin with a certificate which is not public...
http://forum.xda-developers.com/showthread.php?t=1127012
End of the story for 2.3...
Kind regards.
Hi all, I am trying to build android from source (Cyanogenmod) for my phone Sony Xpreia Pro (iyokan). I am following the instructions at wiki{DOT}cyanogenmod{DOT}org/w/Build_for_iyokan (I haven't posted a lot so I can't post URLs ). During my build I need to do one additional step. I need to pull the proprietary files from my device. This is where the problem comes in.
I found that there are 4 files which the extract-files.sh script cannot extract. This causes problem in the build process and the build process stops without completion. The files which the script cannot find are:
/system/bin/calibrator
/system/etc/firmware/wl1271-fw-multirole-roc.bin
/system/lib/libc2d2_z180.so
/system/lib/egl/libGLESv2S3D_adreno200.so
I found wl1271-fw-multirole-roc.bin at "/system/etc/firmware/ti-connectivity/" instead of "/system/etc/firmware/". Is it fine to modify the "proprietary-files.txt" to have this path instead of the "/system/etc/firmware/"? I am not sure if the functionality of both the files is same.
Also I found a file called "wlan_calibrator" instead of "calibrator" in the same location. I also found a file called libGLESv2_adreno200.so instead of libGLESv2S3D_adreno200.so
Would it be fine if I change the name in "proprietary-files.txt"? Again, I am not sure if the functionality of the other files is same. I couldn't find the file called "libc2d2_z180.so"
I really don't know what to do and would really appreciate if anyone could help me on what I should be doing.
Not sure if I'm posting this in the correct place but, here we go.
I am being asked to install work related software on a personal device by an employer. The device in question is a Samsung Note 3. Due to the software being work related, I can't mention what it is or what it is for.
Since I am unsure of what exact changes this software will make to my device, or what features will be disabled or locked down, I would like the ability to run a utility that will record the exact changes that are being made so I can revert them after I am done with the software.
I have used software like this before for a Windows system. It made a log of where files were placed and what changes it made to files, system files, registry, etc. Basically a snapshot of before and after, with the ability to view the changes made.
If anyone knows of a utility that can do this on an Android system, the help and recommendation would be greatly appreciated.
Hey guys!
I´m new here and I hope you can help me with some questions... I didn´t know if I´m right here, so please correct me if I do something wrong
My "setup":
- Samsung S3 international with CM13
I like to create a global "Content Filter", which filters files (pictures, videos, documents, etc.) on my smartphone. So what I mean is something like what the UserManager (sorry I can´t poste the Link to Android API) from Android framework does:
User A (owner) creates pictures with the camera, download files, etc. and if User B (guest) logs in, User B can´t access the files from User A and vice versa.
The diffrent part is that I like to "hide" or better make them not accessable by custom criteria - for example "only pictures from the last two hours will be shown to User B". And the main point ist that every application gets the same content.
I thought I have to edit and extend the internal/external storage functions (or ContentProvider?) by my custom filter. Later there will be a system app for controlling the behavior of this filter.
Now there are some question, which I ask myself:
- Is it possible to implement this functionality in Android specific code and not in device specific code? So is it possible to make it portable for other devices and Android versions (Custom ROM, manufacture ROM or the pure Stock Android from Google´s Nexus phones) without "much" effort?
- Does it make more sense to use the original Stock Android instead of Cyanogenmod to reach the portability?
- Where do I have to start? I downloaded the source Code of CM13 for the Samsung S3. But how I ask before - is there a generic way for all devices and android versions? I started to look into the framework specific code of android (system/frameworks/base/... ). I thougth I can build the filter between the api calls (java -> jni bridge -> c/c++), but that would be not the right place, yes?
I hope someone understand my plan and can help me with some informations and tipps or where I have to look to get them!
Thanks!!
Fabian
I think you might mean the profile system that android used to have on ICS?.
Unfortunately I can't answer why they removed that feature. Does the phone not have an option or something if you have 2 or more google accounts registered to the device?..
Beamed in by telepathy.
I'm building an application that requires the use of the depth sensor on my Samsung Galaxy A80. However it seems like it's impossible to access it through Camera2 and ARCore. I asked Samsung directly and the tech support guys best guess was that Samsung has locked it from being used by third parties.
I rooted my phone and started digging through the file system and eventually found a file called 'com.samsung.sensor.imx316.so' located in /vendor/lib/camera (imx316 is the depth sensor). There are also some similar files that ends in '.bin', but .so files seems to be runnable code if I understood the google results correctly.
That file has the same name as the sensor I can't seem to access. Can this file be used somehow? Can I run it in my own app to get access to the depth data? And if not, there should be a way of getting that data right? I mean, it obviously exists somewhere in the phone since pre-installed apps are using it, and a rooted phone has access to everything?
Did you check REQUEST_AVAILABLE_CAPABILITIES_DEPTH_OUTPUT? How do you know it's impossible?
Most likely you need to reverse engineer the Camera app from your phone.
Your app can call com.samsung.sensor.imx316.so , it's really "just" a linux elf library.
The problem you face is the exported routines from the library, you won't really know
1) the parameters to the functions inside the library
2) any specific order to call functions inside the library i.e. like an init function first , release memory last...
You need to disassemble / reverse engineer the library to make some sense of it (see ghidra / radare2/ ida pro etc ).
Use strace on the current process/app which uses the library to make some sense of the order of calls into the library.
The depth data will be coming from a kernel level driver, you can likely obtain the Samsung kernel source and the driver source should be there. Then it's up to you whether you can make user space library/code to read what the driver exposes. The kernel driver source code will have an uapi header file to investigate.
idk if it helps but i used for a Huawei P30 Pro this https://github.com/Nufflee/tof-camera