yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Nexus] grnsl2:
Found what i think is a couple viable options to my own problem. Hope this helps someone else.

https://play.google.com/store/apps/details?id=com.vocision.zowndoff

https://play.google.com/store/apps/details?id=com.hourdb.volumelocker
[HTC Desire X] Leon:
Hi all.

First i want to say that i try many keyboards but I prefer the stock! Its good and have my language (Bulgarian) but i want phonetic bulgarian.Is possible somehow to eddit it ? Maybe if get it like apk from the firmware and eddit it or ?? Thats was possible on my old nokia,but here things are so different...So can I use the stock but with phonetic?
[Android Q&A, Help & Troubleshooting] GuestK0065:
So here's the thing, after wrestling a lot with android sources to get them to compile, I did.

So now comes the task of adding a new device so I can actually compile it for my phone. Here's what I already did:

1. Used the existing CM sources for my phone and put them in devices/samsung/ancora (also ran extract-files.sh, and did all the necessary changes)

2. Got all the vendor files and put them in vendor/samsung/ancora

3. Altered the envsetup.sh to include the line "aokp_ancora-userdebug" so I can actually tell it to build the damn thing

4. Added an ancora.mk to the vendor/aokp/products folder with all the necessary information

Now what happens when I try to build is I get the error:

build/core/product_config.mk:205: *** No matches for product

How do I go about fixing this?

Thanks in advance for all those who help.
[Android Q&A, Help & Troubleshooting] KBizzle:
In vendor/products, did you also edit AndroidProducts.mk?
[Android Q&A, Help & Troubleshooting] GuestK0065:
Yes I did. And it points to the ancora.mk that I created.
[Galaxy S III Q&A, Help & Troubleshooting] liorlevy:
Is there a way to restore deleted images from internal sd ?
[Galaxy S III Q&A, Help & Troubleshooting] JJEgan:
If you have the ability to search you will find the answer its asked multiple times .

Its either No or try undelete **** from the market .

jje
[Hardware Hacking General] hamvil79:
Hello,

i would like to measure the current consumed by my mobile phone while operating. I've already built a current meter using arduino however i'm having some troubles in interfacing it with the mobile phone.

At the beginning I thought that it would enough to insert the meter on the ac charger right before the usb port and then removing the battery. However I discoverd that the mobile phone does not work without battery.

It seems that a dummy battery would do the work however I do not know how to mechanically build it. I mean the electrical part should be trivial (a simple voltage regulator should do the trick), but what I would need is a sort of empty battery case with the pins.

Any hints?
[Hardware Hacking General] goose197:
Dummy Battery

Hi,

I´ve seen a camera hack with a dummy battery made of wood. In that case the dummy had to replace an AA-Battery, so it was made of a wood needle with pushpins at the ends for contacts.
[Hardware Hacking General] qubas:
Remove battery and connect current meter between positive battery terminal and corresponding terminal on your phone, then use some wire to connect other battery terminals with their corresponding terminals. It may be a bit difficult, since terminals are probably relatively small. Also, be extra careful and don't make a short circuit! Just be sure that you know what you're doing.
[Hardware Hacking General] spunker88:
Many phones use a 3 pin battery, one pin is V+, one pin is ground and the other pin is usually used to monitor the battery's temperature via an internal thermistor that is tied to V+ since it reads a slightly lower voltage proportional to V+. I imagine the phone then uses a simple voltage divider with an internal resistor to calculate the temperature.

Like you've already discovered most phones won't run on the charger without a battery, and most phones will begin to boot but then shut down before if the thermistor doesn't give off a correct reading.

Is there a reason you want to run it without a battery. If you just want to measure current with a meter you could solder some jumper wires to the battery terminals so that you could get a amp meter between the battery and the phone.
[Hardware Hacking General] Renate:
I've run into the same problem.

Although the power management ICs (at least mine) are designed to work with a missing/dead/shorted battery, it never works out that way.

My battery on the Nook has six wires, doubled ground, doubled plus and two one for temperature sensor and one for battery pack identification.

One of the tricky thing about determining what % the battery is, is that normally you can only measure the voltage and temperature of the battery.

You'd really like to know the actual current flowing out of the battery.

The Android system has a whole chunk of code that looks at the status of the system and tries to "guesstimate" the amount of current flowing out of the battery.

The % full for a battery at 4.000 volts with no load is a lot less that a battery reading 4.000 volts with a hefty load on it.

Since lithium batteries are so persnickety you want to make sure that whatever you insert into a line is very sensitive and has a minimal voltage drop.

I think the best solution for forensic current monitoring is to build a 4 volt supply with current monitoring.

When you are done playing, it's best to clear the statistics for the "battery".
[Hardware Hacking General] Entropy512:
This is a pretty big item on my "todo" list.

TBH the hardest part (depending on the phone) is the physical connections.

If you build a constant voltage 4.0 volt supply with current monitoring, you'll be able to replace the battery with your power supply, instead of faking the device into thinking it has a battery and monitoring charger current.

If you want an accurate high-resolution picture of device power usage (e.g. high enough resolution to see stuff like cpuidle kicking on/off), you need to use the "dummy battery as power supply" approach. Any approach that merely monitors current into the device via its charging port is going to give very coarse results.

Obviously, many batteries have "special" additional stuff that can be difficult to emulate. 3-pin Samsungs are probably the easiest - the middle "pin" is just an ID resistor to ground.
[Hardware Hacking General] KindsKoPP:
OT

:silly:
[Hardware Hacking General] supermasi:
Hi,

maybe this could help you building your own external battery measuring device ;)

Due to the ****ty 10 post rule i cant post a link so just google for "[Info] Akkuverbraucher des Galaxy S2", it is a German android board.
[Hardware Hacking General] hamvil79:
This should not be that complex a simple power supply with a current sensor (e.g. the acs 712) and an arduino should do the trick. A resistor on the temperature pin should also fool my galaxy2. The problem is that I do not want to solder anyhthing to the mobile phone. I will try to make a dummy battery out of wood.
[Hardware Hacking General] protheusDK:
If this helps to anyone, I didn't remove the battery but I used a 5V 2A power supply and connected V+ to positive and gnd to negative. The battery has internal circuit to protect from overvoltaje and overcurrent. This way the device keeps running from "battery" and you have the charge port free to connect something through otg or mhl

View attachment 5198791
[Hardware Hacking General] blackhawk:
Then use those results to check calibration on an apk like Accubattery. This whole idea seems awkward at best and may end up frying something.

It be interesting how accurate the onboard milliamp monitoring is. I suspect it's better than most think it is.
[Hardware Hacking General] ProfessorM_:
If somebody still interested then just remove circuit from battery and connect power supply directly to the battery protection circuit board(without battery ofc ;)). Check the nominal voltage on the battery and set it on your lab power supply. Voltages are most commonly 3.7V-4.2V. Keep note that nowadays smartphone can consume a lot of current. For example Samsung device may consume even 2.8A while connected to Anyway blue jig while booting without battery. According to that make sure that your power supply can deliver at least 3A of current :)
[Hardware Hacking General] meszarosi:
I was thinking the same but bumped into a strange problem with this workaround. If I connect the dummy battery to the phone, nothing happens. I cannot turn it on.

If I leave the dummy battery connected AND also connect a charger via the USB port, the screen comes alive and the phone displays the charging animation (depending on the voltage level I set for the dummy battery). Then I can unplug the charging cable, and can also turn the phone on. It's working fine, and it's also possible to turn it off and on again any times as long as the dummy battery is connected.

But as soon as I disconnect and reconnect the dummy battery I need the charger cable plugged in to be able to turn the phone on for the first time again.

What would be the reason for this behavior? I would like to use the phone as a touch screen for my 3D printer, so for me the optimal solution would be to turn the phone on automatically as soon as the power is connected, but I'm ok with turning it on manually, but would like to avoid messing with the charging cable each time.

The phone is an old OnePlus 2.
[Hardware Hacking General] Renate:
It could be that the power supply is not sufficient for startup.

Or it could be that the thermistor and/or battery pack identification resistor wiring is wrong.

How many wires in the connection?

As somebody said, the most fail-proof is using the old BMS PCB out of the battery pack and connecting where the cell was.

The last time I posted on this thread was a decade ago!

Some years ago I did build a power supply with a USB interface,

Initially it had a TI INA219 high side current monitor.

Eventually I updated it to a TI INA226.

Here's a plot of some handy booting up (I forget which).

Minor X divisions are 5 seconds, major X divisions are 30 seconds.
[Hardware Hacking General] meszarosi:
Hi! Thanks for your reply. I actually did use the BMS board form the original battery, I connected my PSU (set to ~4.2V) where the battery cell was connected to the BMS.

The PSU can supply up to 5 amps, so I don't think thats the issue. The phone runs perfectly fine from the dummy battery, the charger cable is only necessary for the very first startup. Then I can unplug and forget it. The phone works, I can even turn it off and on again. But as soon as I remove then re-attach the dummy battery, I need the charger cable again for the first power-on.
[Hardware Hacking General] Renate:
Oh, ok.

It seems that the MOSFETS are shut off until they see some power from the device side.

If this is still a barrier, you can bypass that.

If there is no intelligent control to the BMS you can replace the BMS with a few resistors.

Check how many wires there are to the BMS, with everything disconnected measure from all the non-red wires to black.

There should be 10k and maybe another wire.
[Hardware Hacking General] ProfessorM_:
Basically i figured out that just powering on the device by connecting BMS from the old battery to the bench power supply is not that simple. Searching on the internet I found the "GreatScott" video on YouTube which shows that the device probably take the battery voltage value on the beginning of booting and then somehow counting the percentage down, which may cause the device to power off even if you are connected to the bench power supply with sufficient current. Here is the video and the moment I talking about is at 6:50

HERE IS THE VIDEO - YOUTUBE
[Hardware Hacking General] ace2nutzer:
You can also use app like "Ampere" it shows current flow in real-time,. Without charger it shows the current that the phone actually is using and with charger it shows you how much current goes inside the battery for charging. Current flow on the charger side is around +100 mA while the phone is IDLE, screen ON with low brightness.

Alternatively it's also possible to read the current draw with ADB, indeed root is required to read the kernel log.
[Hardware Hacking General] Renate:
Yes, some of the charge counters have no insanity checks built in.

"Hmm, this device's battery has been putting out 200 mA for two weeks. It must be near dead. Even if the voltage is 4.3V."

On the Walmart 8" tablet (Gen 3) I had to:

cp /data/local/tmp/one /sys/devices/platform/battery/FG_daemon_disable

(Where one is "1" so I don't have to tee.)
[Galaxy S II Q&A, Help & Troubleshooting] silenthitman47:
hey guys, just one short question, i have a SII unbranded 4.0.3 , and im from Romania, when the update will hit this country, ....

... if i update with KIES will i lose all my data on my phone(wipe) on the internal memory, (games, photos, music, apps) ????
[Galaxy S II Q&A, Help & Troubleshooting] Sun90:
photos and Music No, but u may loose ur apps and games data though, but u can always back them using some third party apps from stores:)
[Android Q&A, Help & Troubleshooting] warrell:
Hey everyone! Can you share docomo launcher (docomohome.apk, not Docomo Pallete UI from GPlay)?

My device is Sony Xperia J (854x480).
[Android Q&A, Help & Troubleshooting] SammiSaysHello:
here you go :)
[Galaxy S II General] anshmiester78900:
I know benchmarking scores shouldnt be the only thing on which we can judge things but still many people wanted to see so here is a video that i came across and wanted to share with all of you

Also S2 performed very well with this LS8 firmware . Scoring 4229 just below HTC OneX

http://youtu.be/g7Je3lq-RQs?t=3m42s
[Galaxy S II General] Conny84:
I get 3100 points using vanilla rootbox without overclocking , standard cpu states and undervolt
[Galaxy S II General] anshmiester78900:
ohh and here we are all on stock .. with no OC and other stuff . And I think it performed good !
[Galaxy S II General] marcoatlami:
With xxlsj omega 18 and Dorimanx kernel

View attachment 1670519
[Galaxy S II General] nozdormu:
Yeah but you got Dorimanx and he post his Stock Kernel performance, so its not that bad :)
[Galaxy S II General] bamidrol:
Nice score over here
[Galaxy S II General] FleetFanatic:
4529 here on Omega v18 (LSJ) so be interesting when a fully modded v19 (LS8) comes out.
[Galaxy S II General] shindatuin:
4548 on ROM XXLS8 4.1.2 SPAIN :)

it's underclocked to 1000mhz
[XPERIA X10 Q&A, Help & Troubleshooting] x10junky:
Hello all, I am wondering if someone like the kernel dev's is willing to give a updated guide/howto compile kernel/camera from the sources you (dev's) provided. I tryed few guides but not working unfortunatly.

Any help would be greatfull.

When i can compile first i wil try to help in development afterwards.

Greetz x10junky.

Please close this thread/post.

Looks like my help is not wanted by anyone.

And ive seen huge possible fixes for cam/video.

......
[Asus  Eee Pad Transformer Prime] ehanuise:
Hi all.

Just bought a TF201 transformer prime, but it was without the dock/keyboard.

I have searched for a new AZERTY belgian layout keyboard and they're quite hard to find.

(cue in long rant about marketing decisions... but this is offtopic.)

A more sensible option seems to go for a QWERTY keyboard, set it as AZERTY layout in the input device specs, and use labels from 4keyboard.com or equivalent provider to change the keyboard to an azerty one.

However there are plenty of key labels sizes ... what's the key size on a TF201-dock ?

Did anyone try keyboard label yet ? any tips or caveats ?
[Asus  Eee Pad Transformer Prime] ratman6161:
I can't answer most of your questions as I am a US English sort of person. But as far as key size, here is a picture of my prime keyboard dock sitting on top of an old Dell desktop keyboard I happened to have lying around. Hope that helps.
[Asus  Eee Pad Transformer Prime] ehanuise:
Thanks!

Not as good as a millimeter size, but informative anyways - they look about the same size, even somehow bigger.
[Sony Xperia P, U, Sola, Go] mirost1:
Do you use Flight Mode over the night?
[Sony Xperia P, U, Sola, Go] WilsonML5:
No, I usually leave it charging overnight. I used it as an example, because in deep sleep at day time, it will also drain as much.
[Sony Xperia P, U, Sola, Go] mirost1:
Its a hardware issue or there is some app that drains that much.
[Sony Xperia P, U, Sola, Go] ShayKaPow:
I think it's hardware problem or you need to re-calibrate your battery.
[Sony Xperia P, U, Sola, Go] doctor_droid:
If possible

Provide a logcat here itself

It may b due to some app running continously so we cant find it from the logcat
[Sony Xperia P, U, Sola, Go] WilsonML5:
Installed stock, and I still have battery drain in stand-by.
[Sony Xperia P, U, Sola, Go] Divaksh:
【ROM】【ICS .54】【ALL BLs】 eXperience™ v1.4.3 【AROMA】【supports OC】

About this ROM:

eXperience™ is an all-in-one Customizable ROM for Xperia NxT devices, based on the latest stock rom, featuring official latest SEMC aaps with custom tweaks, working AC!D Audio Engine, the "Aroma installer" by amarullz (the world's first touch-based install wizard with custom install options!), and a lot more! (see features list for details).

​

Features :

Based on latest .54 ICS built

Barebone and PRE-ROOTED

Nearly all stock features with tweaks.

Supports Munjeni's Memory Tweaks or Memory Tweaks+OC kernel (other wise known as V14)

Aroma Installer.

Latest Xperia T launcher with update checker

Simple and Advance Status Bar(select in AROMA)

Bravia Engine 2

AC!D Audio Engine

Latest Walkman Engine 6.1

New Sony Media apps

Latest Xperia Z Themes+Skyfall Theme.

Xperia Z Wallpapers.

Xperia T Boot animation.

Infinite view Mod(select in AROMA)

MI File Explorer the best free file explorer to date.

Cybershot 4.7.2

All new build.prop tweaks added.

Init.d support.

Xperia Fiedility tweaks added.

Battery Life Tweaks Added.

Jellybean 4.2 Gallery add-on.

Jellybean 4.2 Camera add-on.

AOSP Music add-on.

Timesscape

Ilumination Bar Notifications

KingSoft Office

Shell Commender

Superuser, XDA, WhatsApp+

Good for HD Gaming

Added More Speed

And Many More... Check Out For Yourselves....

[YOUTUBE]v6eWsCoyrFs[/YOUTUBE]

AnTuTu Benchmark Results with

memory tweak

(no overclock) :

AnTuTu Benchmark Results with

memory tweak + owerclock 1.15 ghz

(overclock) :

Quadrant Benchmark

[YOUTUBE]VRlhVoSr5wI[/YOUTUBE]

To Do :

Decrease the size of rom

More customization option in AROMA

More init.d support

More speed

You suggest.. ;)

Bugs n Fixes :

You tell.. :)

Screenshots : Post #2

Download : Post #3

Instructions : Post #4
[Sony Xperia P, U, Sola, Go] Divaksh:
Screenshots:

Home and Menu:

Launcher Settings:

Default Status Bar(Simple):

Status Bar (Tab n Gird):

Settings:

Messaging:

Walkman:

Dailer and Phonebook:
[Sony Xperia P, U, Sola, Go] Divaksh:
Download:

(thanks to ShayKaPow )[/SIZE]

Bugs and Fixes

New Sony widgets are missing - FIXED

NFC missing form settings menu - FIXED (Updated)

Wi-Fi or GPS not working - FIXED

-

NOT RECOMMENDED

thanks to Diptyadeep :)

Change Log:

eXperience v1.4.3 (02-02-2013)

Reduced the size.

Sony widgets bug fixed (installation option added in AROMA).

NFC fixed.

WiFi fixed.

GPS fixed.

Facelock junk removed (Thanks to lalit387 ).

Walkman Engine updated.

Launcher updated.

Skyfall theme added.

Init.d support (beta).

Xperia Fiedility tweaks added.

More smoother eXperience.

Added More Speed.

eXperience v1.1 (24-01-2013)

Removed few apps from Barebone installation.

Fixed aroma configuration.

Added speed.

eXperience v1.0 (23-01-2013) - My First ROM :D

Initial release.
[Sony Xperia P, U, Sola, Go] Divaksh:
Instructions(READ CAREFULLY):

You need to be on latest .54 official ICS(CLEAN VERSION IS REQUIRED).

So flash official ICS .54 Indian FTF via flashtool.

Now flash Munjenis v5 CWM kernel(Flash the boot.img via fastboot.)

Boot into recovery mode.

Go to

mounts and storage

>

mount usb storage

> select

mount SD

or

ext-SD

Connect to the computer and Copy the eXperience.zip

Select

unmount

Flash the rom via CWM.

You will be entered in AROMA

For customize installation you should select the

Custom

in Installation type.

Now follow the instructions select the apps you want to install.

Do a wipe data/factory reset.

Wipe Dalvik Cache

Turn the phone on and wait for

POWER OFF

button, when it appears

hit the button

.

For smoothest and fastest eXperience

(unlocked bootloader only)

Reboot and you are done!! :good:

Note:

It might take long time to update media database if you have too much files on your SD and external SD. During updation your media apps(Walkman, Album, Movies) will not show media files(mp3, images, videos).

Have patience and give time your device to settle. :p

It is recommended, you avoid timescape stuff(junk) installation for more faster and smoother performance.

Do not report for boot loops. Booting will take time, long time. (for v1.4.3 unlocked bootloader only)

After flashing literally drain your battery to 0% and after it do not switch on just plug in the charger and wipe the battery stats in cwm and let it charge till 100% while its switched off.

Keep pocket data off when you don't use it.
[Sony Xperia P, U, Sola, Go] thunderising:
Well, features list looks good.

Instructions to Flash?

And what's the ROM size?
[Sony Xperia P, U, Sola, Go] Divaksh:
Writing a guide.

~400MB :D
[Sony Xperia P, U, Sola, Go] sarsarhos:
is it stock holo camera or holo-themed sony camera?
[Sony Xperia P, U, Sola, Go] Divaksh:
Stock holo camera.
[Sony Xperia P, U, Sola, Go] thunderising:
400 MB, wow!

Well looking forward to this COMPLETE ROM.
[Sony Xperia P, U, Sola, Go] Ivan93tm:
cant wait for your rom, tomorrow morning i will flash it XD maybe it will be the best rom for our Xperia Sola [for me sole because i'm in italy] =) really thanks man, what about the app coming from android 4.2 JB ? do they work properly? any bugs or FC ? =) i really like your screenshot and i'll take more when i installed it XD
[Sony Xperia P, U, Sola, Go] Divaksh:
Re: [ROM] [ICS .54] eXperience™ v1.0 [AROMA] [Fastest + Smoothest] [supports OC]

No FC, No Bugs. :D

More you people will tell...

And selecting 4.2 apps will remove Sony Media Apps(Walkman, Album, Movies) what is not recommended.
[Sony Xperia P, U, Sola, Go] Ivan93tm:
Thanks for quick answer XD with "will remove sony media apps" what do you mean? this will disable app or will unistall apk ? =)
[Sony Xperia P, U, Sola, Go] Divaksh:
Re: [ROM] [ICS .54] eXperience™ v1.0 [AROMA] [Fastest + Smoothest] [supports OC]

You can have either 4.2 Apps or Sony Media Apps.
[Sony Xperia P, U, Sola, Go] Divaksh:
Re: [ROM] [ICS .54] eXperience™ v1.0 [AROMA] [Fastest + Smoothest] [supports OC]

Download link updated. :D
[Sony Xperia P, U, Sola, Go] Divaksh:
Re: [ROM] [ICS .54] eXperience™ v1.0 [AROMA] [Fastest + Smoothest] [supports OC]

deleted
[Sony Xperia P, U, Sola, Go] chessmanyaki:
looks like a nice rom could you upload antutu results of this rom?
[Sony Xperia P, U, Sola, Go] darktanget:
Reserved... this one is all good features in one ROM...
[Sony Xperia P, U, Sola, Go] jfodra:
Is this for locked bootloader? And may I just ask, how do i flash the kernel? Thanks
[Sony Xperia P, U, Sola, Go] chrizer4:
Re: [ROM] [ICS .54] eXperience™ v1.0 [AROMA] [Fastest + Smoothest] [supports OC]

You need unlocked bl to flash the kernel..

The way u flash it is :

1. Put the boot.img in ur fastboot folder (any folder which contains fastboot.exe file)

2. Hold shift and right click in the background of the folder and select "open command window here"

3. Turn off your phone.. Press vol up and plug usb cable. You should be in fastboot mode now.

4. In the cmd window, type fastboot flash boot boot.img

5. Wait 2 seconds and your done..

Btw, you can always flash the kernel using flashtool.... :)
[Sony Xperia P, U, Sola, Go] jfodra:
The second step says Now flash Munjenis v5 CWM kernel(Flash the boot.img via fastboot.) - Can I just flash it through flashtool?