[Q] fitting a custom-built cmos sensor to a host running android. - Android Software/Hacking General [Developers Only]

Hi
I work for a company that is in the business of private-security,and recently we decided to test the feasibility of creating a new product line of hand-held personal security recorders that will make use of RGB+IR channels image recording (reproduced from an in-house,custom built back camera based on one of the world's biggest manufacturers of raw cmos imaging sensors fitted with a proprietary bayer filter).
The host device is expected to be based on the ARM architecture and a powerful GPU chip (such as the the Adreno or Power VR latest chips) and although we haven't decided yet of the smart-phone brand that we'll be interested in converting,the model will probably belong to one of the biggest players in the market such as Samsung/HTC/Motorola etc.,and for the obvious reasons...
And here is the question...although we don't see any significant problems with fitting the custom-camera module instead of an original(,non-soldered,ofc...) camera box that comes with the OEM host device while maintaining the same footprint,power & heating envelopes and signaling interfaces (we have some great ASIC engineers here,I fully trust their abilities in that respect ),we're still unsure of our abilities to tweak the ROM of one of today's latest smartphones to include a custom driver (we'll probably hand to one of our affiliate software-house companies to do its coding...for a hefty fee ,not to mention re-writing a camera app,hopefully not from scratch...).
I'd be happy to hear from you,techies of your opinion regarding this project,and considering that some amount of reverse engineering here is a given (right ?),will it be possible to achieve the design goal of the software part of the project in (roughly) 6 months time-frame,and with a budget that should not exceed 250-300 K USD ?
Thanks in advance
David B.

still working on the camera app?
Sure.
Have you looked at other Android applications, which have partially achieved this? They exist.
From the sound of your inventory, you've talented engineers, resources and business sense. Specific issue is to do with variants in hardware and being able to support multiple devices, in most cases not at all 'generic'.
Sony IMX046 found within Xperia X10 models - 8.1MP and the IMX081PQ 16.1MP found in the Arc after debuting as a Cybershot. Both quite different devices, one having double resolution, back lit CMOS sensors and other features, radical enough to place it in a league of it's own. Now try to make that work with a HTC 5MP camera and conjunction it with the front facing camera when video conferencing...
Consider details like pixel arrays, focus, aperture, transistor gates, photo cathodes, anti-reflective coatings, firmware versions, available resolutions (not just desired), operating modes, effects... filters... all different for each device, each manufacturer, each version or release of Android.
To build an database of hardware, sensors, modes, focus sets, image formats, firmware and drivers itself is not hard but is the backbone of what you have in front of you. Provide a platform able to identify the package driver and hardware provider (the right 'glue') itself not overtly difficult or impossible.. perhaps a challenge!
Each driver, device, firmware has significant differences which can not be evaluated on 'one size fits all' method. A highly flexible architecture is required, modular in so far as to analyze and detect variations fail safe, apply the correct logic and driver for base provider as a structured and autonomous instance.
Consider this code from a Gingerbread firmware, designed for a Sony X10. SE will not release Gingerbread (2.3.x) for the X10 as they declared that 2.1 (Eclair) is suitable for the hardware and the software upgrade provides no value.
static const camera_size_type picture_sizes[] = {
{ 3264, 2448 }, // 8MP
{ 2592, 1944 }, // 5MP
{ 2560, 1920 }, // 5MP (reduced)
{ 2048, 1536 }, // 3MP QXGA
{ 1920, 1200 }, // WUXGA
{ 1920, 1080 }, // HD1080 - HDTV
{ 1600, 1200 }, // 2MP UXGA
{ 1680, 1050 }, // WSXGA+
{ 1600, 900 }, // HD+
{ 1440, 900 }, // WSXGA
{ 1280, 768 }, // WXGA
{ 1280, 720 }, // HD720 (HDTV)
{ 1152, 864 }, // XGA+
{ 1024, 768}, // 1MP XGA
{ 800, 600 }, // SVGA
{ 800, 480 }, // WVGA
{ 640, 480 }, // VGA
{ 352, 288 }, // CIF
{ 320, 240 }, // QVGA
{ 176, 144 } // QCIF
};
If you know what you are looking at, you can see some of these resolutions are not supported by the camera and will generate errors in software, leaving unhappy customers! Considering that this is an extract from an active AOSP project to port Gingerbread for the X10, for the love of doing it with no real benefit to the developers involved... it's not bad at all but will become refined into something more like this;
static const camera_size_type picture_sizes[] = {
{ 820, 616 },
{ 3280, 616 },
{ 3280, 2464 },
};
Reason the camera itself only supports 3 possible modes and these have to be defined exactly in the right way for it to work, for a single device and a single pixel out will error, even the order of the driver.. notice bold emphasis on resolution.
0.5Mp - 4X Horiz & Vert. | 2Mp - 4X Vertical Elim. | 8MP - Full Resolution​
Saying it simply, it's not impossible but it's not easy!

Related

1 GHz Qualcomm CPU in future handsets & coming Nokia N810-killer?

I'm not really into writing hardware news (I don't have the time for something that other tech writers / bloggers also elaborate on - instead, I prefer spending my time on tutorials, software reviews, Bibles and unique, genuine hacks instead), but the latest hardware news (reported on by Geek.com) is indeed pretty interesting and certainly shows there will be some REALLY exciting Windows Mobile devices in the (unfortunately, not very near: late 2008 / early 2009) future. Let me cite Geek.com:
First look at Qualcomm’s new Fairbanks and Anchorage mobile platforms
The other model, the more exciting one for most people, is the “Anchorage”. This is based on Qualcomm’s Snapdragon platform so it will use a 1.0GHz processor (said to operate at 1/2 watt peak) along with WiFi, Bluetooth, GPS, cellular, and a lot more good stuff. The unofficial word is that Snapdragon will offer close to the best power/performance ratio of anything on the market. The Anchorage device will be aimed more at productivity and the test model I saw had a QWERTY keyboard. The form factor of this model was a lot like the Nokia N810, but the actual design will be whatever OEMs want. So far we know that Samsung and HTC are on board, but there are a few others that are not official yet.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Anchorage
Anchorage and iPhone
The Anchorage was running Windows Mobile 5.0, which was only used for display purposes as any OS, even a full OS, can be run on the 1.0GHz processor. It also has the camera with video recording, GPS, and live TV playback capability. Because it has a cellular signal it will be prime competition for a device like the HTC Advantage, though it will also compete against products like the Nokia N810 and Sony mylo 2.
Everything is still in its early stages and things will change a lot once the OEMs get their hands on them and start to customize. This may mean lost/added functionality as well as many different form factors and large swings in the price. All we do know is that we should start to see the devices released by the end of 2008, possible early 2009.
Which are all the Phones with - 1 GHz Qualcomm CPU ?
& which is Best of them all ?
The Acer F1 and Toshiba TG01 both boast Snapdragon processors. Many MIDs/Netbooks/Smartbooks whatever you want to call them also have it. I estimate that by next year it will be common for many devices to use it. It is revolutionary IMO
Sony Ericsson Xperia X2 will have Snapdragon & WM6.5!
http://www.pdadb.net/index.php?m=specs&id=1932&c=sony_ericsson_xperia_x2
HTC Leo
Quad-band GSM/EDGE connectivity
Dual-band HSDPA connectivity (900/2100 MHz)
4.3 inch WVGA (480 x 800) capacitive touch screen display
Wi-Fi
GPS, A-GPS
Accelerometer
Light & proximity sensors
3.5mm headset jack
5MP autofocus camera with dual LED flash
512MB flash memory, 320MB RAM
MicroSD card support
1230 mAh battery
121 x 67 x 11 millimetres
Acer F1
Qualcomm 8250 1GHz processor
Windows Mobile 6.5 with Internet Explorer 6
3.8” WVGA Touchscreen Display
Quad-band GSM / Tri-band HSPA
512MB ROM / 256MB RAM
5 MegaPixel Autofocus with LED flash
microSD slot (support up to 32GB)
WiFi 802.11 b/g & Bluetooth 2.1
Quad-band GSM/EDGE 850, 900, 1800, 1900
HSPA 900, 1900, 2100 (download 7.2 Mbps / upload 5.76 Mbps)
Motion Accelerometer
Ambient Light Sensor
Proximity Sensor
3.5mm audio jack
118.6 x 63 x 12mm
Toshiba TG01
General 2G Network GSM 850 / 900 / 1800 / 1900
3G Network HSDPA 2100
Announced 2009, January
Status Coming soon. Exp. release 2009, Q2
Size Dimensions 129 x 70 x 9.9 mm
Weight 129
Display Type TFT resistive touchscreen, 256K colors (65K effective)
Size 480 x 800 pixels, 4.1 inches
- Touch-sensitive navigation controls
- Accelerometer sensor for auto-rotate
- 3D user interface
- Shake control
Sound Alert types Vibration; Downloadable polyphonic, MP3 ringtones
Speakerphone Yes
Memory Phonebook Practically unlimited entries and fields, Photocall
Call records Practically unlimited
Internal 256 MB RAM, 512 MB ROM
Card slot microSD (TransFlash), up to 16GB
Data GPRS Class 10 (4+1/3+2 slots), 32 - 48 kbps
HSCSD Yes
EDGE Class 10, 236.8 kbps
3G HSDPA, HSUPA
WLAN Wi-Fi 802.11b/g
Bluetooth Yes, v2.0 with A2DP
Infrared port No
USB Yes, microUSB
Camera Primary 3.15 MP, 2048x1536 pixels, autofocus
Video Yes
Secondary Yes
Features OS Microsoft Windows Mobile 6.1 Professional
CPU Qualcomm Snapdragon QSD2850 1 GHz processor
Messaging SMS (threaded view), EMS, MMS, Email
Browser WAP 2.0/xHTML, HTML (IE)
Radio No
Games Yes
Colors Black, White
GPS Yes, with A-GPS support
Java Yes, MIDP 2.0
- Pocket Office (Word, Excel, PowerPoint, OneNote, PDF viewer)
- MP3/MPEG4 player
- Facebook and YouTube apps
- Photo editor
- Voice memo
- Organizer
Battery Standard battery, Li-Ion 1000 mAh
Stand-by Up to 276 h
Talk time Up to 5 h
Sony Ericsson Xperia X2
-8.1mpx auto focus, VGA @ 30fps (MP4 HQ)
-3.5´ WVGA OLED (increased from 3.0 from X1)
-GPS, aGPS
-3.5 mm headphone jack
-Accelerometer
-Faster processor
-512 RAM
-Custom Windows Mobile 6.5 (SE engineers customized Win6.5 which runs very. very speedy. in par with iPhone and better in some cases)
-XPERIA Panels are modified with plenty of innovative features (PS3 remote play being one of them)
-Upgrading to Windows Mobile 7 is supported by Xperia panels
Make your Choice

HTC "Dream" phone = Google Android?

Seen this article when I fired up Yahoo Go! today on my 8525
http://news.yahoo.com/s/infoworld/20080320/tc_infoworld/96138_1
"San Francisco - The mobile phone High Tech Computer (HTC) has been developing to run on the Android software from Google will be called "Dream," have a large touchscreen and full QWERTY keypad, a person close to the situation said Thursday.
HTC may become the first handset maker in the world to put out a mobile phone developed around Android , but it faces stiff competition from Samsung, a separate source said. Samsung has stepped up its effort to put out a Google phone, the person said.
HTC's Google handset is just over 5-inches long and 3-inches wide, with a keypad underneath the screen that either slides out or swivels out. The aim of the keypad is for easy e-mail, note-taking, and writing Web addresses. Internet navigational controls are situated below the screen on the handset.
The handset will likely hit the market near the end of this year, the person said.
The company officially remained mum on the handset. "We cannot comment on this product," said Maggie Cheng, an HTC representative.
Last November, HTC became the first company to admit to developing a mobile phone based on Android , although Samsung, Motorola, and other handset developers are part of the group dedicated to furthering the software, the Open Handset Alliance .
Android, an open source software platform that includes an OS, is designed to take advantage of Internet services for mobility. The software could become a potent new rival to Windows Mobile and other handset operating systems . At the launch ceremony, Google announced that over 30 companies had joined the Open Handset Alliance."
also via Endgadget
and Forbes
pics
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
specs:
Let’s take a closer look:
Microprocessor, Chipset
CPU: Qualcomm MSM7200 (Chipset)
Width of Machine Word: 32 bit
CPU Clock: 528 MHz
CPU Core: ARM1136EJ-S
Instruction Set: ARMv6
Memory, Storage capacity
ROM type: Flash EEPROM
ROM capacity: 256 MB
RAM type: SDRAM
RAM capacity: 128 MB
Hard Disk capacity: Not supported
Graphical subsystem
Display Type: color transflective TFT
Display Color Depth: 18 bit/pixel (262144 scales)
Display Resolution: 800 x 480 (384000 pixel)
Viewable Area: ? x ? (0 x 0 millimetres)
Audio Subsystem
Audio Channel(s): stereo sound
Analog/Digital Converter
(Recording): 16 bit quantization (nominal)
44100 Hz sampling frequency
Digital/Analog Converter
(Playing): 16 bit resolution
44100 Hz holding frequency
Microphone: mono
Speaker: 1 loudspeaker (mono)
Audio Output: Proprietary plug
Cellular Phone
Cellular Networks: GSM850, GSM900, GSM1800, GSM1900, UMTS850, UMTS1900, UMTS2100
Cellular Data Link: CSD, GPRS, EDGE, UMTS, HSDPA, HSUPA
Cellular Antenna: Internal
Call Alert: 128 -chord melody (polyphonic)
Vibrating Alert: Supported
Speakerphone : Supported
Control Peripherals
Positioning Device: Touchscreen
Primary Keyboard: Built-in QWERTY-type keyboard, 65 keys
Primary Keyboard Backlight: Automatic keyboard backlight (upon press of any key) and ambient light intensity sensor
Directional Pad: Not supported
Scroll Wheel: Not supported
Interfaces
Expansion Slots: microSD, microSDHC, TransFlash, SDIO
Supports memory cards with capacity of up to 32GB
USB: USB 2.0 client, Full-Speed (12Mbit/s)
USB Series Mini-B (mini-USB) connector
Infrared Gate: Not supported
Bluetooth (802.15): Bluetooth 2.0 , Internal antenna
Wireless LAN/Wi-Fi (802.11): 802.11b, 802.11g (54Mbit/s)
Internal antenna
Multimedia Telecommunication
Analog TV: Not supported
Analog Radio: Not supported
Satellite Navigation (GPS)
GPS Protocol: NMEA 0183
Paralell Satellite Channels: 20 channels
GPS antenna: Internal antenna
Built-in Digital Camera
Main Camera: CMOS sensor, 2048x1536 (3.146 million pixels)
Autofocus (AF): Not supported
Optical Zoom: 1 x
Macro Mode: Not supported
Built-in Flash: Mobile light (LED)
Recordable Image Formats: JPG
Camcorder: 320x240pixel
Recordable Video Formats: 3GPP, MPEG4
Secondary Camera for Video Calling
Secondary Camera: CMOS sensor, 640x480 pixel
Recordable Image Formats: JPG
Camcorder: 640x480pixel
Recordable Video Formats: 3GPP, MPEG4
Power Supply
Battery: Lithium-ion , removable
Additional Details
Additional Features:
* rotatable display
* GPRS Class 10
* voice command
* video out (XGA)
more info:
http://www.slashgear.com/further-htc-omni-details-emerge-is-this-the-hottest-true-smartphone-106151.php
http://www.pdadb.net/index.php?m=specs&id=790
here is a demo vid of Android not sure if that is the Dream/omni though...
!Kernel Panic! said:
here is a demo vid of Android not sure if that is the Dream/omni though...
Click to expand...
Click to collapse
the android has street view...wow...it looks crazy good.
mmmhh!!
...Let's see!!
very cool info & looks of the "dream"...hope it comes true soon!
it will be interesting to see if Quake really does run smoothly @ 30fps on a 300+ mhz processor too....
tell me it will be gsm only and i'm going to beat some htc heads in.
omg .... appears to be a real dream come true ...
I think that won't be the final look...
... starting from that Windows key clearly visible on the keyboard!
looks the dogs bollericks doesn't it. I'm glad the Google initiative managed to persuade HTC to switch to their platform It'll be interesting how this effects the HTC/Microsoft relationship which has always been a bit bumchum for my liking.
more android vids here.
Looking at this: http://www.pdadb.net/index.php?m=specs&id=790
It seems to be WM and not Android
is this OS specific to the device or are you going to be able to hack existing ppc's to install it as an alternative to wm?
Zenoran said:
is this OS specific to the device or are you going to be able to hack existing ppc's to install it as an alternative to wm?
Click to expand...
Click to collapse
If I were a betting man I would say device specific even with "Android" aka Linux, I think, you would need device specific drivers. If your device uses the same components then you may be able to.
l3v5y said:
Looking at this: http://www.pdadb.net/index.php?m=specs&id=790
It seems to be WM and not Android
Click to expand...
Click to collapse
I'm developing on android, and what is shown in the video is definitly android. i dont know if the "dream" phone is shipped with android but htc is working on an android device. and btw: android really kicks ass! not just for developers but for endusers too.
I don't think the "Dream" phone which is what that article is about will have android.
After playing around with the Android SDK, I have to say I can't wait for a device, and to see what everyone has programmed!
would be very cool if community would develop this around existing devices... wm is so inefficient I'm excited to see a viable alternative but would be unfortunate if it only works on new devices...
Sideburnt said:
looks the dogs bollericks doesn't it. I'm glad the Google initiative managed to persuade HTC to switch to their platform It'll be interesting how this effects the HTC/Microsoft relationship which has always been a bit bumchum for my liking.
Click to expand...
Click to collapse
What exactly does "bumchum" mean?
I want to see a phone with mostly screen area (Like iPhone), and a slide out keyboard that tilts (like the Tilt). From the looks of the Android demos, it looks like most everything will be done with touch inputs on the screen. However there will be folks (like me) that want a good QWERTY keyboard for SMS, and to be able to prop it up on a table in tilt mode for hands-free video calling.
I used the dream... only for a a minute or so. I work for one of the companies make a part for the phone.
Sorry for the quality, all I had was my PDA on hand to get the pic and upcoming vid.
If you want to know anything, please let me know and I might be able to help.
OK! sorry for another post but the vid finally came through. Get VLC or quicktime to play it. I am new on this posting vids so for now please dont hate me for the rapidshare.
not too good, but its a vid. sorry for the format... blackjack 2 records that way.
http://rapidshare.com/files/135139205/MOV-0001.3gp.html

[Q] Canvas to Bitmap And Back Again - Android

Hey guys,
I'm making an App that needs to be able to draw new graphics on top of the last set.
This is my current onDraw() method -
PHP:
protected void onDraw(Canvas canvas) {
canvas.drawColor(Color.WHITE);
//do some stuff here - this is all working ok
canvas.drawLine(p1.x, p1.y, p2.x, p2.y, linePaint);
}
Basically, I need to draw the new graphics as a layer on top of the last, so what I'm looking for is a way to carry the image of the last canvas to the current. There is a LOT of lines drawn every frame so simple drawing them all again isn't an option.
I have tried to figure it out myself using the canvas.setBitmap() method but it acts very funny.
This is what I put at the start of the onDraw() method, in my head it makes sense but it doesn't seem to do anything
PHP:
if(bitmap != null) {
canvas.drawBitmap(bitmap, 0, 0, paint);
canvas.setBitmap(bitmap);
}
Any help appreciated
P.S if it's needed, the the class extends SurfaceView and implements SurfaceHolder.Callback

The overclock modules for HTC One XL, should be applicable on our One S

It can apply on phones running with Qualcomm MSM 8960 chipset.
Quoting from the OP:
One XL/AT&T/Rogers One X 1.8GHz overclock module
Please let me know about the module's compatibility with your phone. It has been reported to work on the latest AT&T version kernel, and I have a Rogers device myself.
Hey guys! I've created a kernel module that overclocks the MSM8960 Qualcomm Krait to over 1.8GHz. It also allows you to specify a custom voltage and frequency instead of 1.8GHz. This method works on ANY MSM8960-based rooted HTC One X, even on locked bootloader devices. This allows AT&T users to overclock, and others to overclock without necessarily needing to unlock the bootloader. This overclock makes the already tremendously fast MSM8960 about 20% faster.
Note that this mod is ONLY for the Qualcomm MSM8960-based Krait HTC One X and HTC One XL. This includes the AT&T HTC One X, Rogers HTC One X, and any phone branded as the HTC One XL.
The module is loaded using this command: insmod /data/local/krait_oc.ko pll_l_val=67 vdd_uv=1300000
The pll_l_val parameter determines how high the overclock is. Multiply this number by 27 to get the final clock speed in MHz. For example, 67*27 is 1809000, which is what the module defaults to.
The vdd_uv parameter determines the voltage used at the overclocked speed, in microvolts. The default for 1.5GHz is 1200000, and I was able to get a stable overclock at 1300000 at 1.8GHz. Raise the vdd_uv parameter if the overclock is unstable. The current maximum for this field is 1300000, so don't go higher than this. If your system crashes or is unstable at this frequency/voltage, lower the pll_l_val one by one until you reach stability. You can run rmmod krait_oc and then insmod krait_oc.ko with different parameters without having to reboot.
You'll also need a custom, tweaked thermald.conf. This thermald.conf raises thermal tolerances slightly (I've found that they're a little too strict, even at stock clocks and voltages). I've included this in the package, and instructions for installing it are below.
Video, demonstrating the overclock on a Rogers HTC One X:
YouTube Video
Screenshots
Source code is included in the package. If anyone has an HTC One S, this method will work on that, too. Please post below a dump of /system/lib/modules and I should be able to add support for any MSM8960-based HTC device with just that.
Instructions
First, determine which kernel module to use. Do an adb shell cat /proc/version and choose a ko file that matches your version number (these instructions assume you've renamed it to krait_oc.ko). 21/05/2012: If you don't see your kernel version here, try loading the module anyway. If it fails to load, please post a file from /system/lib/modules (any file) here and I will add support.
Install the overclock (only once):
1. Push the kernel module to your device:
adb push krait_oc.ko /data/local
2. Install the new thermald.conf, making sure to back up the old one, and reboot. The thermald.conf is included in the download. If you want to target a frequency other than 1809000 KHz, you should edit the thermald.conf and replace "1809000" to whatever frequency you want to target.
adb push thermald.conf /data/local
adb shell
su
mount -o rw,remount /system
cp /system/etc/thermald.conf /system/etc/thermald.conf.bak
rm -r /system/etc/thermald.conf
cp /data/local/thermald.conf /system/etc
reboot
Load the overclock (every time you reboot):
1. Load the kernel module (replace pll_l_val and vdd_uv with your desired voltages and L value as explained above. It defaults to 67 and 1300000 if you don't give it any parameters):
adb shell
su
insmod /data/local/krait_oc.ko pll_l_val=67 vdd_uv=1300000
2. Bring core 1 temporarily offline so it gets updated with the new max frequency:
echo 0 > /sys/devices/system/cpu/cpu1/online
3. You'll now have an additional CPU frequency! SetCPU can configure your maximum frequency up to this speed. You can also choose to keep running at 1.5GHz at any time - this method doesn't eliminate any available frequencies. Set the max at 1.8GHz to verify it's stable here.
4. Restart thermald by running "ps". Look for "thermald" in the list, and find thermald's pid (it's usually a number in the low hundreds, higher up in the list). Run "kill [thermald's PID]" in adb shell. The kernel does not currently have kernel-level temperature throttling turned on, so thermald is important for now.
Remove the overclock by restoring your backup of thermald.conf:
adb shell
su
mount -o rw,remount /system
rm -r /system/etc/thermald.conf
cp /system/etc/thermald.conf.bak /system/etc/thermald.conf
rm -r /system/etc/thermald.conf.bak
reboot
Rebooting clears any kernel modules that are loaded, so you're now clean. You can then delete anything left over in /data/local, but it doesn't matter.
If the module loads but the overclock doesn't seem to have any effect, even after putting max and min at 1.8GHz, your device might use a different SoC bin than the "nominal," and the kernel module is looking at the wrong place. Please reboot your device and post an adb shell dmesg right after the reboot so I can look at it.
Download current pack of modules:
http://www.setcpu.com/files/krait_oc_v2.zip (current)
http://www.setcpu.com/files/krait_oc.zip (old)
Finally, it'd be great if we as a community tried to work harder to encourage HTC to hurry up and 1. Release kernel source on time, all the time and 2. NOT cave into carrier pressure and stick to their written bootloader policy! S-OFF would be nice, too. 
Sent from my HTC One S using xda premium
LETS DO THIS
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
It also allows you to specify a custom voltage and frequency instead of 1.8GHz
Hehe... I'll test it tonight and undervolt a bit...
Is there any additional modification is needed in order to make it work on One S?
Sent from my HTC One S using xda premium
I tried this on my T-Mobile US One S and the frequency shows up in SetCPU. My Antutu score jumped 500 points, so if it did actually do something it was only an 7-8% gain. Antutu does recognize the cpu as having 1809 MHz. All other benchmarks that I ran have improvements as well.
Also, on step 4, you can locate the thermald process easier by doing the following:
ps | grep thermald
Nice post btw!
Overclocked to 1.8 GHz just now. So far stable. Running Antutu Benchmark right now.
Works - it's here. Now let's see...
Ahhh, and for the guys not on Linux: Copy the thermald.conf to sd card via usb and from there to its destination folder e.g. with root explorer.
Not to be Capt. Obvious here, but is there a point to overclocking the One S?
We're at about as fast as you can get before your eyes start bleeding. At the stock speed, my phone goes as fast as my eyes and thumbs can possibly move.
This is where all that quad-core Exynos crap goes right out the window. Seriously though, whats the point of OC'ing a phone that's already ridiculously fast?
nickmv said:
Not to be Capt. Obvious here, but is there a point to overclocking the One S?
We're at about as fast as you can get before your eyes start bleeding. At the stock speed, my phone goes as fast as my eyes and thumbs can possibly move.
This is where all that quad-core Exynos crap goes right out the window. Seriously though, whats the point of OC'ing a phone that's already ridiculously fast?
Click to expand...
Click to collapse
I think it's purely 'because we can'
Like you said, not really any need to, or tangible benefit in doing so
nickmv said:
Not to be Capt. Obvious here, but is there a point to overclocking the One S?
We're at about as fast as you can get before your eyes start bleeding. At the stock speed, my phone goes as fast as my eyes and thumbs can possibly move.
This is where all that quad-core Exynos crap goes right out the window. Seriously though, whats the point of OC'ing a phone that's already ridiculously fast?
Click to expand...
Click to collapse
IMHO we can benefit from undervolting in manners of battery life. The OC thing is a nice "side effect"
Gesendet von meinem HTC One S mit Tapatalk 2
hi i have tried to do this thing and i have gotten it to over clocked. the only thing i cant seem to find is the thermald thing to kill. all i see in the list ins system/bin/thermald. Is this the one im looking for or not?
I think I'd be more interested in slightly underclocking + altering voltage for a battery life boost
shinkinrui said:
I think I'd be more interested in slightly underclocking + altering voltage for a battery life boost
Click to expand...
Click to collapse
+1... even stock frequencies but with an undervolt possibility
I'm afraid we should wait a bit to get some sources...
Original OP here. You can undervolt more frequency steps with this method too, but you need to modify the sources. Most phones should have a "nominal" chip, but there's also a "fast" spec with lower voltages at each step.
I will write a proper tweakable undervolting driver for the 8960 when sources come out.
coolbho3000 said:
Original OP here. You can undervolt more frequency steps with this method too, but you need to modify the sources. Most phones should have a "nominal" chip, but there's also a "fast" spec with lower voltages at each step.
I will write a proper tweakable undervolting driver for the 8960 when sources come out.
Click to expand...
Click to collapse
As I'm not a dev... Could it be possible to override stock values in this struct, by specifying them manually?
Current one (in the source) :
/* Frequency-Voltage table */
static struct freq_voltage freq_vdd_table[] = {
{ 1620000, 1200000 },
{ 1728000, 1200000 },
{ 1809000, 1250000 },
{ 1917000, 1300000 },
{ 0, 0 },
};
Exemple "overriden" one :
/* Frequency-Voltage table */
static struct freq_voltage freq_vdd_table[] = {
[...]
{ 1512000, 1000000 },
{ 1620000, 1200000 },
{ 1728000, 1200000 },
{ 1809000, 1250000 },
{ 1917000, 1300000 },
{ 0, 0 },
};
Hi, can you add support for the EVO LTE?
kernel version is:
adb shell cat /proc/version
Linux version 3.0.8-01360-g3fd0422 ([email protected]) (gcc version 4.4.3 (GCC) ) #1 S
MP PREEMPT Sat Apr 28 05:10:07 CST 2012
here's a random file in case you still need it.
Correct me if Im wrong but the One S packs a MSM8260A.. No? The 8960 was mainly made for LTE capabilities
mmdl1001 said:
Correct me if Im wrong but the One S packs a MSM8260A.. No? The 8960 was mainly made for LTE capabilities
Click to expand...
Click to collapse
I don't know. My One S is using MSM 8960 and LTE connection is present in my phone as well. May be only Asia version use MSM 8260A?
Sent from my HTC One S using xda premium
plakers said:
As I'm not a dev... Could it be possible to override stock values in this struct, by specifying them manually?
Current one (in the source) :
/* Frequency-Voltage table */
static struct freq_voltage freq_vdd_table[] = {
{ 1620000, 1200000 },
{ 1728000, 1200000 },
{ 1809000, 1250000 },
{ 1917000, 1300000 },
{ 0, 0 },
};
Exemple "overriden" one :
/* Frequency-Voltage table */
static struct freq_voltage freq_vdd_table[] = {
[...]
{ 1512000, 1000000 },
{ 1620000, 1200000 },
{ 1728000, 1200000 },
{ 1809000, 1250000 },
{ 1917000, 1300000 },
{ 0, 0 },
};
Click to expand...
Click to collapse
Well, it may be possible, but modifying that table won't work. The module needs a little modification.
fxzy said:
I don't know. My One S is using MSM 8960 and LTE connection is present in my phone as well. May be only Asia version use MSM 8260A?
Sent from my HTC One S using xda premium
Click to expand...
Click to collapse
In Europe it´s the MSM8260A too with no LTE.
I´m from Spain. !

In-depth Cool Features of Oppo Reno 7 Pro 5G

Hello All,
I hope you all are staying positive and doing amazing.
In this thread I am going to share in-depth cool new features of Oppo Reno 7 Pro 5G Smartphone .
So without any delay lets get started.
So I'll be sharing all the key highlights shared by Official Oppo Team here in this thread.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
OPPO Reno7 Pro 5G
(CPH2293)
• Flagship Portrait Camera System
• DSLR-Like Portraits
• Aircraft-Grade Shooting Star Design
• 65W SUPERVOOCTM
• ColorOS 12
Product Description:
Slim and Effective
With a sleek 7.45 mm thin 2.5 D body, weighing around 180 g, this phone is meant to offer you a featherlight experience, making it pleasant to handle this phone for a long period when capturing video or viewing your favourite movie.
Sharp Visuals
With a 16.5 cm (6.4) display and a refresh rate of 90 Hz, this phone has a unique design that will catch people's attention wherever you go, as well as a dynamic video playback that will give you a stutter-free visual experience.
Size and Weight:
Height
15.82 cm
Width
7.32 cm
Thickness
0.75 cm
Weight
About 180 g
Influential Processor
With a comprehensive 6 nm processor, 1+3+4 architecture, and an integrated 5G MediaTek SoC, this phone’s processor delivers lightning-fast performance. Furthermore, this phone has design modifications such as AI Deblur, which reduces blurriness while capturing images, providing an ideal atmosphere for capturing great photos.
Chips:
CPU
MediaTek Dimensity 1200-MAX
CPU Speed Cores
8 cores with a maximum frequency of 3.0 GHz (1 super large core + 3 large cores + 4 small cores)
GPU
ARM G77 MC9
Storage:
RAM and ROM Capacities
12 GB + 256 GB
RAM Type
LPDDR4x @ 2133 MHz, 4 x 16-bit
ROM Specifications
UFS3.1 @ 2 Lanes HS-Gear4
Phone Storage Card
Not supported
USB OTG
Supported (OTG reverse charging supported)
Sharp Visuals
With a 16.5 cm (6.4) display and a refresh rate of 90 Hz, this phone has a unique design that will catch people's attention wherever you go, as well as a dynamic video playback that will give you a stutter-free visual experience.
Display:
Size
Size (screen diagonal): 16.6 cm
Screen Ratio
92.8%
Resolution
FHD (2400 × 1080)
Refresh Rate
Maximum: 90 Hz
Options: 90 Hz or 60 Hz
Touch Sampling Rate
Maximum: 1000 Hz (5 fingers)
Default: 180 Hz (5 fingers)
Colour Gamut
Vivid mode: 97.60% NTSC/99.94% DCI-P3
Gentle mode: 72% NTSC/100% sRGB
Color Depth
16.7 million colors (8-bit)
Pixel Density
402PPI
Brightness
500 nits (typical); with a maximum of 800 nits in sunlight (typical) and a maximum of 920 nits when displaying HDR or HDR10+ contents.
Panel
Soft AMOLED
Cover Glasses
Corning® Gorilla® Glass 5 (GG5)
Camera:
Intelligent Frame Sense
With two Sony camera sensors, one for the front and one for the back cameras, you'll be able to take unrivalled photographs regardless of the illumination. You can flamboyantly record memorable recollections of your life.
Power of Bokeh
With around 25 levels of ergonomic blurring, bokeh, and light spot size, Portrait Mode places your favourite person in focus with flawlessly blurred backgrounds and keeps their cherished smiles in an unending DSLR-style portrait image.
Eloquent Portrait Camera
Owing to the Portrait Camera System powered by AI, this camera detects your surroundings and instantly switches on Ultra Night Video or Live HDR, so you can shoot vibrant movies that are clear and bright.
Expressive Photography
DOL-HDR technology helps minimise overexposure in well-lit regions while preserving details in dimly lit surroundings, allowing you to record the warmest moments of your life with amazing HDR effects.
Scenic Beauty
The front camera image sensor, which is powered by Sony electronics, offers improved light-capturing abilities and photographic capacity. Be it a sunset shot or a full moon shot, every selfie comes alive with great image resolution.
Dapper Sensor
The front camera, which is powered by Quadra Binning Algorithm features an RGBW sensor that is sensitive to huge volumes of light and reduces noise significantly, enabling you to take stunning photos even in low-light situations.
Smart Selfie
When it's just you and the phone, the front camera employs a conventional wide-angle to ensure you're the focus of attention in the selfie. When you're in a group, the phone's front camera detects the number of people in the frame and automatically shifts to a wider angle, ensuring that everyone is in focus and no one is left out.
Rear
Main camera: f/1.8; FOV 86°; 7P lens; AF supported; closed-loop focus motor
Ultra-wide angle camera: f/2.2; FOV 118.9°; 5P lens, FF
Macro camera: f/2.4; FOV 88.8°; 3P lens; FF
Front
Front camera: 32MP (f/2.4); FOV 90°; lens: 5P
Shooting Mode
Rear: Photo, Video, Night, Expert, Panorama, Portrait, Time-lapse, Dual-view video, Slow-motion, Text scanner, Extra HD, Macro, Movie, Sticker, and Google Lens (Supported only for regions outside the Chinese Mainland.), Soloop templates (Not supported for EU regions.)
Front: Photo, Video, Panoramic, Portrait, Night, Time-lapse, Dual-view video, and Sticker
Video
Rear: Up to [email protected] fps, [email protected] fps/30 fps, and [email protected] fps/30 fps
Video slo-mo: [email protected] fps, and [email protected] fps
Video stabilization: EIS, [email protected]/60 fps
Video zoom: [email protected] fps, [email protected] fps/30 fps, [email protected] fps/30 fps
Front: Supports 1080P/[email protected] fps (default: [email protected] fps) (Retouch: turned off for European areas and turned on for other regions by default).
Supports video stabilization at [email protected] fps.
Does not support zoom or slow motion.
Battery:
Blazing-fast Charging
This phone comes with a 65 W SUPER VOOC charger that can charge the 4500 mAh battery to 100% in around 31 minutes.
Battery
2×2200 mAh/17.02 Wh (Rated value)
2×2250 mAh/17.41 Wh (Typical value)
Equivalent to 4500 mAh
Fast Charge
65W SUPERVOOCTM, 50W SUPERVOOCTM, 33W SUPERVOOCTM, VOOC(5V/4A), PD (9V/2A)
Engaging Gameplay
This phone's X-Axis Liner Motor generates varied amounts of vibration feedback, allowing you to indulge in a flawless and immersive gaming experience. This allows you to play games while also enjoying the sensation of each movement on the screen.
Quirky Design
This phone uses LDI (Laser Direct Imaging) processing, which is often used in the semiconductor sector to provide precise touch. Additionally, the design of this phone is inspired by auroras, and features over 1.2 million micro-lines.
Novel Build
This phone, which is powered by LDI technology, is meant to be appealing, making the beholder the focus of attention while providing an opulently delightful feel.
Brilliance Illuminated
This phone uses hot-bent optical fiber technology, and in the form of a 3D Orbit Breathing Light, you can see indistinct starlight hushing around the camera piece. This alerts you of incoming calls, recent messages, and other important information.
All the above images are from web
This all comes with an amazing price of Rs.39999 as per flipkart .
This is all for today's thread. If you find this thread interesting and helpful so please follow, like and comment your reviews.
See you all in the next thread.
Till then, Stay Safe.
Signing off-
Abhishekyadavphotography

Categories

Resources