yashsingh1/xdaforums huggingface dataset:
[Huawei Ascend P6, Mate] S34Qu4K3:
Contribute and help the other devs!​

So, I'm making this thread for any dev/rom chef/etc who want to share their tips on P6 Development. Anyone can contribute and probably will get useful for all the devs, for error preventiong etc.

Just say your tip and how you managed to got it

You can also post your researchs, kernel, rom, bootloader, etc releated (may be useful for someone) and ask for help in a dev releated issue

Everything will be added to the firsts posts (questions and solutions included), just post here or send me a PM

ERROR PREVENTION

Partition formating with updater-script:

Don't try to format /system/ (and probably /data/, /sys/ and a bunch more) via updater-script, it will CORRUPT the partition (and probably others)

Lore: I was ( [MENTION=4708578]S34Qu4K3[/MENTION] ) trying my updater-script with a new rom, formatted /system/, /system/ partition was erased but the recovery got corrupted (and a cute bootloop too) so i needed to reflash the original recovery (and system too)

Manual push of images

Don't attemp this, our tricky phone seems to perform checksums on everything, so you will get a bootlop

Lore: [MENTION=458344]Stickman89[/MENTION] and me was testing manual pushing of recovery.img, after overwriting the partition, it got corrupted, so we needed to reflash recovery again

DEV TIPS

HELP REQUESTS

Requested by: [MENTION=4708578]S34Qu4K3[/MENTION]

Question: Inside UPDATE.APP files form Huawei, there's a .img called fastboot.img, somebody got info about what filesystem is? Tried unpacking methods for ext4, yaffs and all the unpack scripts that I could find, but I'm unable to view, extract or edit what's on the image.

Answer: ----

RESEARCH

Potential MHL support

Discovered by [MENTION=458344]Stickman89[/MENTION] , in init.k3v2oem1.rc inside boot.img there are the next lines:

#mhl
chown system system sys/devices/virtual/mhl/siI-8240/rcp_keycode
chown system system sys/devices/virtual/mhl/siI-8240/rcp_ack
chown system system sys/devices/virtual/mhl/siI-8240/devcap

What we can guess from here? Probable, there will be MHL support (maybe it's already on our kernel but it's deactivated) from Huawei
[Huawei Ascend P6, Mate] S34Qu4K3:
*reserved*
[Huawei Ascend P6, Mate] S34Qu4K3:
All can contribute! (yep, *reserved* too)
[Huawei Ascend P6, Mate] Stickman89:
Okay this is getting incredibly frustrating, I've discovered we can't even update boot.img via recovery either (changes don't take effect). This isn't a bug in recovery it's actually Huawei's Bootloader lock in play. So that means no way to amend bootclass methods.

I've also discovered for people needing extra head-way for framework related code you can infact add it into /system/framework/hwframework.jar since if you try and add too much to framework.jar it will go stale and unable dexopt.
[Huawei Ascend P6, Mate] Stickman89:
This is the only error stopping my ported MIUIv5 4.2.2 build from booting on the Ascend P6:

[B]E/AndroidRuntime( 9888): android.content.res.Resources$NotFoundException: Resource ID #0x6080005[/B]

E/AndroidRuntime( 9888): at android.content.res.Resources.getValue(Resources.java:1035)

E/AndroidRuntime( 9888): at android.content.res.MiuiResources.getValue(MiuiResources.java:87)

E/AndroidRuntime( 9888): at android.content.res.Resources.getInteger(Resources.java:842)

E/AndroidRuntime( 9888): at com.android.internal.policy.impl.MiuiKeyguardUpdateMonitor$1.onChange(MiuiKeyguardUpdateMonitor.java:20)

E/AndroidRuntime( 9888): at com.android.internal.policy.impl.MiuiKeyguardUpdateMonitor.<init>(MiuiKeyguardUpdateMonitor.java:30)

E/AndroidRuntime( 9888): at com.android.internal.policy.impl.KeyguardViewMediator.<init>(KeyguardViewMediator.java:457)

E/AndroidRuntime( 9888): at com.android.internal.policy.impl.MiuiKeyguardViewMediator.<init>(MiuiKeyguardViewMediator.java:19)

E/AndroidRuntime( 9888): at com.android.internal.policy.impl.PhoneWindowManager.init(PhoneWindowManager.java:1025)

E/AndroidRuntime( 9888): at com.android.internal.policy.impl.MiuiPhoneWindowManager.init(MiuiPhoneWindowManager.java:120)

E/AndroidRuntime( 9888): at com.android.server.wm.WindowManagerService$3.run(WindowManagerService.java:984)

E/AndroidRuntime( 9888): at android.os.Handler$BlockingRunnable.run(Handler.java:745)

E/AndroidRuntime( 9888): at android.os.Handler.handleCallback(Handler.java:725)

E/AndroidRuntime( 9888): at android.os.Handler.dispatchMessage(Handler.java:92)

E/AndroidRuntime( 9888): at android.os.Looper.loop(Looper.java:137)

E/AndroidRuntime( 9888): at android.os.HandlerThread.run(HandlerThread.java:60)

The line in bold being the error ofcoarse... Strange thing is this missing resource (actually an integer) is actually not missing at all, it's there.

Shame there really isn't much information available about this, there has been a few other people who have been stumped by the very same error.

We fix this, then we'll see a booting MIUI build.
[Huawei Ascend P6, Mate] Traace:
Check my posts at http://xdaforums.com/showthread.php?t=2410260&page=8

They should made it more clear why u cant push images via fastboot.

Fastboot also runs only on virtual mounts thats why nothing changed.
[Huawei Ascend P6, Mate] Traace:
The final answers​

i will tell u everything what ever confused u on the P6.

[MENTION=4708578]S34Qu4K3[/MENTION]

Answer for the.img and Huawei question

---------------------------------------------------------------

.img is just emulated by Goldfish u cant push it with adb.

Format is a mix from modded yaffs2 with some binary and img that it looks like native Android.

u can't extract with unyaffs2 cause they will miss mutch bytes. Try "Android SDK Emulator" for extract. The only way to see the full content is with goldfish emulators ,but care they will add a bit trash to it cause u will extract from a running system.

Potential MHL support...

MHL should be still runnig but not on the virtual Kernel :). P6 running 2 at once

Please see my new post and u would understand how bad P6 really works: http://xdaforums.com/showthread.php?t=2410260&page=9
[MDA III, XDA III, PDA2k, 9090 General] Ray87:
I was wondering if anybody tried to set a long duration sms tone, and upon pressing on the read button, the sms tone still continues to play and will stop only after the whole tone is played. Any idea to fix this?
[General Questions and Answers] rin_rex:
hi i have lemon p5 which is gingerbread. i have tried using z4root, pramaroot and gingerbreak but none work. i have not tried rooting through pc because i can't install my device on my pc which is running windows 8 os. i tried to update the drivers marked yellow on the device manager but it could not find the driver. Guys i have been dying to root my phone as my internal memory is running out. please any help will be much appreciated.

if you have the driver i would be overwhelmed if you kindly take the trouble to share it with me. Thank you. :D
[General Questions and Answers] ttbb333:
Try this app called Super One Click. It is pretty easy to use and it also downloads the adb drivers for your phone. It can be downloaded as a zip. There is also a demo on Youtube.
[LG Optimus G Pro] shakes83:
Hi can anyone port the stock messaging app from the LG G2 to our devices? TIA

The file is located here:

https://drive.google.com/folderview?id=0B32H6sdaxXfJVXItcldVdlp3M1U&usp=sharing

:fingers-crossed::fingers-crossed::fingers-crossed:
[LG Optimus G Pro] 1Zero3forlife:
I tried, due to the theme differences and it uses info from the SystemUi, it fails, I cannot figure out why. I do have the LGMusic.apk from the G2 working now.

...on top of a mountain...and you're not invited!
[LG Optimus G Pro] TURBOGAMECAT:
I'd also love to see this since LG's messaging app is my favorite at current. I heard that it had Qslide support??? There are also a few other G2 apps that work on the G pro as well. I was able to get the file browser with qslide support working, along with the gallery and keyboard from G2. If anything though, definitely would like to see an updated messager.
[LG Optimus G Pro] 1Zero3forlife:
Yeah, I got the multiphoto working too. I am having to use root explorer to install the .apk's, they will not flash.

...on top of a mountain...and you're not invited!
[LG Optimus G Pro] NaveenKumarXDA:
And None posted into G Pro Forum ?

Can you please share All working Apk's & Method into app Section or here.

Thanks in Advance.
[LG Optimus G Pro] shakes83:
Can I instead get the UniMessagebin.apk of the US G Pro? The E988 version turns SMS to MMS automatically when I include emojis in the message. TY :)

I guess I'll just wait for the 4.2 update.
[LG Optimus G Pro] Dadovvv:
Here u have LG G2 Keyboard which works great on Optimus 4x HD..should work in Optimus G pro http://xdaforums.com/showthread.php?t=2409054

Unzip downloaded LGIME.zip and u will see system folder there, then just push all files from system/app and /lib to your phone in same direction using any root explorer. Set premission to 644

All credits go to Hansey
[LG Optimus G Pro] spexwood:
If by the US version, you mean E980, then it wouldn't help you. It also does the conversion.
[LG Optimus G Pro] alanhenrique:
Req

hello !

can someone post the stock videoplayer.apk and libs OptmusG?

also like the Smartshare.apk and also the libs and frameworks.

thx !!!
[Nexus 7 (2013) General] chrisnewton:
Hi all

I am thinking of buying the new nexus 7 but am put of somewhat by reports of random restarts and shut downs on the new nexus.

Anyone on here experienced this. Is it a major issue?

Thanks all

Chris
[Nexus 7 (2013) General] Bsmith0731:
I'm rooted with clean rom 1.5

No reboots or restarts here.
[Nexus 7 (2013) General] danvee:
For the people experiencing it, yes. Can be once or twice a day, or every 10 minutes. No predicting.

Can lead to data corruption, or even damage the OS to the point of not booting.

Note that this is quite real, but obviously not widespread.

Purchase only from a source that offers a very good return /exchange policy.
[Nexus 7 (2013) General] AdamLechowicz:
I have experienced the issue, but uninstalling apps fixed the issue. For example, yahoo mail caused lots of random reboots for me, but disappeared when I removed it.

Sent from my Nexus 7
[Nexus 7 (2013) General] rp1226:
I bought a nexus 7 and I had a static noise issue but no other one at the moment. I was going to exchange it but my second one had random reboots. Super annoying since it was random.

I kept my original one with the static noise at low volume which now has been running for 2 days straight.
[Samsung Galaxy Nexus] citrix80:
is there a tool to test exact battery capacity in mAh ? I bought a battery on ebay it says 2450 mah. I want to know exactly capacity in it.
[Samsung Galaxy Nexus] F-Fect:
Go to your dialer and enter the following code: *#*#4636#*#*. Then select Battery Info/Statistics. It's the 'hidden' menu, but that will display your battery power in mAh.:)
[Samsung Galaxy Nexus] citrix80:
it does not show mah. battery voltage is in mV .
[Samsung Galaxy Nexus] F-Fect:
My bad, excuse me.

https://play.google.com/store/apps/details?id=ru.NanoDinamics.NovaTester

Ain't this what you're looking for?
[Samsung Galaxy Nexus] citrix80:
I tried once, it running forever, no result. I stopped it. I will try again.
[Samsung Galaxy Nexus] F-Fect:
But there must be like tons of apps like this. I mean, I found 2 with just searching for mah checker on Google. So there are apps yes :cowboy:
[Samsung Galaxy Nexus] citrix80:
I tried Nova battery tester again. I waited a whole day it still running, I had to stop it. The mAh number on bottom constantly change. it cannot detect battery capacity.

do you know any other app ?
[General Questions and Answers] misha2013:
Hello everybody

I changed firmware on my Lenovo P770, but I don't like it.

And I want to return to old firmware, and can't find it

It was Firmware from shop where I bought my phone

Maybe somebody know what firmware is installed on phones (Lenovo P770) in shop minideal.net

This is screenshots of this firmware -

View attachment 2219998View attachment 2219999

I think this is custom firmware with memory shrink, and root, based on p770_s124_130201
[Barnes & Noble Nook Tablet] WidePants:
The story began when I decided to install CM10 on my nook tablet using old recovery that goes for CM7 and eventually broke my partition table and lost my ID(./adb devices shows 0000000000000000). Since my nook refused to boot futher than CWM loading screen (box) i decided to recreate my partitions through ADB using this method and then reflash nook with AdamOutler's Ubuntu recovery (he provided his own mmcblk0p5).

So, I succesfully recreate partition table (everything was in order, I checked a few times) and reflash it with Ubuntu recovery. Interesting part starts here. Now i get "bla-bla-bla please restart your device" and picture with exclamation mark. A couple of reboots gave nothing and brought me to the same screen. Reflash with BN factory recovery as well as factory reset did not work. At that point I decided to inspect partitions again. Everything was ok, formating, size, etc. But my ID still was 0000000000000000. This brought me to the conclusion that something is wrong with mmcblk0p5 and i need to flash partitions with dd again using this files (method). So, all went well without errors, at the end i killed adb server, dismount SD and pressed "reboot device" in CWM menu. And... From that time my nook is completely dead.

It didn't respond to any key. I charge it all night. I tried to hold home+power simultaneously. No response. Connecting to a computer or power outlet is also nothing.

Be kind, I'd like to hear your advice. Sorry for my runglish.
[Barnes & Noble Nook Tablet] DarkPhoenix:
I'm having the same problem. I downgraded from 1.4.3 to 1.4.0. I was able to boot it once and then shut it back down so I could root it. Now it won't start up at all and I have tried everything that I can find to boot it to no avail.
[Barnes & Noble Nook Tablet] digixmax:
The NT can sometimes get stuck in limbo while booting up, especially with SD-based boot. To get out of it, hold down the power button for 20-30 sec to turn it off then power it on again. Also remove any "bootable" SD card from the card slot; if it boots then the card was not bootable and its non-bootability was the problem.

It's also possible that the NT battery is completely drained (battery readings on some CM builds can be quite off, sometimes as much as 20 points) in which case you'd need to use the BN wall-charger and charge it for 8-12 hours.
[HTC One S] liesnomore:
What is the story with all the speculations?. JB speculation, Sense 5 speculation, "get or not update" speculations. More speculation that "gold market". Is your phone really working that bad?. Why not just make one thread "IS HERE" and post a link - end of story. If I get the update, then good, but I will not cry about if I do not get it. My phone works great - so far.
[HTC One S] pandaball:
Thread has gone way out of hand. Closed
[Defy Q&A, Help & Troubleshooting] Billy_Bob:
I have tried to flash both versions of the SBF fot Tmobile US and neither one loads correctly. When I go to the stock recovery, it will not go past android w/ triangle. I tried battery removal, two fingers on volume button at various times, etc.

sbf - C0305E56A579BBA42CAC73FA31D6161E [	T-Mobile US]

sbf - 4307806ED37DE171DB1621BA6882176D [	T-Mobile US]

RSD shows it passed and install went smooth.

Any ideas?
[Defy Q&A, Help & Troubleshooting] struq:
You will need to press volume up + volume down botton when the triangle appears to enter stock recovery on latest SBFs.
[Defy Q&A, Help & Troubleshooting] Antiga Prime:
They work perfectly. You just haven't read up on that you need to wipe data/cache from stock recovery after flashing a stock SBF through RSD. ;)
[Defy Q&A, Help & Troubleshooting] Billy_Bob:
Yeah I did the wipe. I went with quarx recommended base, it's agn. thx
[Sony Xperia S, Acro S, Ion] huzi7868:
Hello i just got my xperia yesterday and i checked the version on it which is 6.2.b.0.200 is this the latest firmware
[Sony Xperia S, Acro S, Ion] Envious_Data:
6.2.B.1.96 is the latest fw but it isnt released world wide yet
[AT&T HTC One (M7)] milanocito:
i was tray to get new rom fro with rabic languge

i made i think evrey thing

now my device not startup freeze at htc log

when i do factory rest just freeze htc log

recovery mode freeze at htc log

what i done.....

unlock bootloade from htc site

i used all in one kit i think from this kit i have the problem i chose flash kernel.....

i tray.. to instal new ruu rom not work...

i think i erased evrey thing in the phone

any help please
[AT&T HTC One (M7)] Nick281051:
Wrong phone, how did you even get to this section?
[AT&T HTC One (M7)] xcrazydx:
You're in the wrong forum dude.
[AT&T HTC One (M7)] milanocito:
where the correct section
[AT&T HTC One (M7)] Nick281051:
The one that says sensation xe, that should go without saying. If you can't find that on your own I wouldn't suggest trying to mod your phone.
[AT&T HTC One (M7)] FanDroid09:
Hahaha what the eff man.
[JAM, MDA Compact, S100 General] kentian:
I cannot register IMEI so I can't download it for my CHS ROM 1.2, please help.

Need to use a program to dial prefix so I can use IDD calling card and IDD call prefix, thanks very much.

http://www.seeo2.com/o2connect/template/O2DialWizard_pda.vm
[JAM, MDA Compact, S100 General] kentian:
nope?! no one here can help... :roll: :roll: :roll:
[JAM, MDA Compact, S100 General] kentian:
no one has this software?

how can you dial with IDD prefix or phone card that need to input a series of strings and numbers?? thx.
[JAM, MDA Compact, S100 General] kentian:
Hi

I just found another software called myprefixdial -- small and efficient program which is useful.

you can set three different there

for example

I can set

profile 1 as prefix of 1666

profile 2 as prefix of 0060

both of the above are IDD prefix with better long distance calling rate

I can also set

profile 3 as prefix of 1333

which at HK means hiding caller ID.

actually for each profile you can set prefix and postfix

I find the above program very useful, but would also like to take a look of the O2 Dial Wizard for XDA II
[JAM, MDA Compact, S100 General] kentian:
may I ask no one has the O2 Dial Wizard for upload? thanks.
[JAM, MDA Compact, S100 General] kentian:
Can anyone help here??
[JAM, MDA Compact, S100 General] kentian:
why, no one can help?

where can I got the O2 Dialer Wizard, thanks.
[JAM, MDA Compact, S100 General] CL55:
Here you go.. V.1.4
[JAM, MDA Compact, S100 General] chris_khho:
Thanks very much!

Actually, can I intall the o2_connect_iis.cab file to my BA?

I just keep receiving the message that this file is only used for o2 machine.
[JAM, MDA Compact, S100 General] kentian:
Thanks.
[JAM, MDA Compact, S100 General] kentian:
got it installed but I cannot see the options of o2 dial wizard under the 'phone' tools option.

I am using o2 xda with CHS ROM..
[JAM, MDA Compact, S100 General] kentian:
Is this only for XDA II but not mini??
[JAM, MDA Compact, S100 General] kentian:
do I need to install some other programs first?

this one is not working, I can only see o2 dial wizard in contacts

but in 'phone' application, I see noting in the tools menu
[JAM, MDA Compact, S100 General] ajong:
this is for Xda IIs, still not running on my Xda II too. :cry:

does anyone can "cracked" this tool for other device ?? :idea:
[JAM, MDA Compact, S100 General] kentian:
if you still cannot find a working one for xda II mini, use this one instead..so far so good.
[JAM, MDA Compact, S100 General] kentian:
Agree, this tools should work for all O2 device--at least!

anyone can help here? thanks a lot!
[JAM, MDA Compact, S100 General] foofi:
http://www.seeo2.com/o2connect/template/O2DialWizard_pda.vm
[JAM, MDA Compact, S100 General] kentian:
is that mean I need to get the dialpad as well? where to get it? thx
[JAM, MDA Compact, S100 General] ajong:
:arrow: I don't have......!!

back to Intellidialer..with Graphite Skin... :wink:
[JAM, MDA Compact, S100 General] foofi:
-> "How to download

If you have already registered your Xda IIs, please use "O2 Connect" on your device to download O2 Dial Wizard"
[JAM, MDA Compact, S100 General] wonderben:
has anyone been able to make this software works fr other pda?

I tried it on 818 pro and it doesnt work

I really need this software as it is the most User friendly dial program

Many thanks
[JAM, MDA Compact, S100 General] pdaviesoz@optusnet.com.au:
O2 Dial Wizard

Hi all,

tried to download the linked file but keep getting and "attachment.php" file that doesn't do anything. Tried several times. Anyone know why?

Paul D
[JAM, MDA Compact, S100 General] piek2000:
You must first register to download a file...
[JAM, MDA Compact, S100 General] fpbasilio:
can anyone pls post o2 dial wizard for xda 2 mini? (magician) thanks
[Nexus 7 Q&A, Help & Troubleshooting] Adrixan:
Hi there,

I've been browsing the forums over and over, but it appears to me, that there is no 'easy' way to go to JWR66Y for the tilapia model via TWRP or CWM. Or did I miss anything?

Thanks for any help!
[Nexus 7 Q&A, Help & Troubleshooting] GldRush98:
https://developers.google.com/android/nexus/images#nakasig

fastboot flash system system.img

fastboot flash boot boot.img

Probably will take ~2-3 minutes to flash.

Done.
[Nexus 7 Q&A, Help & Troubleshooting] Adrixan:
Thanks! That sure does the trick!
[Sprint HTC EVO 4G LTE] josh030181:
Need to put my wife's phone back to stock, when running the viper ruu does it still show tampered in the bootloader after
[Sprint HTC EVO 4G LTE] Magnum_Enforcer:
No. The bootloader will show "locked" just like it did when the phone was new and unrooted.
[Sprint HTC EVO 4G LTE] AarSyl:
Make sure that you're S-Off. Otherwise, that tool will not work for you.

______________________________

HTC Evo 4G LTE
[Sprint HTC EVO 4G LTE] josh030181:
Just moonshined and viper ruu worked
[T-Mobile Samsung Galaxy S 4] seanvree:
i've been using Google Voice for some time now and it's great. For some reason the other day when I press the PLAY button on a VM in my Google Voice inbox, the screen goes mostly black except the title bar. So, the screen is NOT shutting off, it's like the app itself is going black. See screenshot.

I've tried to delete the app data and cache and uninstall and reinstall the app to no avail.

Any help?

Thanks,
[General Topics] SonicX2014:
You need at least 10 posts.
[General Topics] Ste91:
U Gotta have more than 10 written messages

Edit : 10 posts *

Anyway sonicx2014 has been faster ;)
[General Topics] tenchu167:
Thanks guys
[General Topics] bluesn0w:
You need 10 post
[General Topics] htc finatic:
What they said, do just make a bunch of comments, then give it a couple hours and Viola!
[General Topics] sukonta:
Thanks guys
[General Topics] justmpm:
Thanks to all the people who said you need 10 posts:good::good::good::highfive:

Here is a new user's guide that will explain the 10 post rule (and a whole bunch of other useful stuff): http://xdaforums.com/showthread.php?t=1699450
[Sony Xperia Z Ultra] ShALLaX:
Could someone in India with a stock ROM on their black Xperia Z Ultra please post their customisation number and sales item details as per this link: http://xdaforums.com/showthread.php?t=2287283

Many thanks!

Note that the number does not uniquely identify you or your device, just the variant (e.g. black and with an Indian ROM). As such, it is safe to share this information.
[Sony Xperia Z Ultra] ShALLaX:
In case it helps anyone:

1274-8736_R9A

Courtesy of a very friendly and helpful shop assistant.
[Sony Xperia Z Ultra] avetny:
this is Indian CDA number ?
[Sony Xperia Z Ultra] ShALLaX:
Yes. Un branded Indian Xperia Z Ultra.

It works. I got the appropriate upgrade through PC Companion.
[Sony Xperia Z Ultra] krumbs:
I am currently on Taiwan .510. So if i change the build.prop with this CDA for India, and then "Repair" the phone using PC Companion, will it download and install the Indian firmware?
[Sony Xperia Z Ultra] ShALLaX:
Yes, so long as you relock your bootloader.
[Sony Xperia Z Ultra] m3dd0g:
Any changes in indian firmware? can you Post screenshot of build number?

Gesendet von meinem C6802 mit Tapatalk 4
[Sony Xperia Z Ultra] avetny:
Yes please screenshot if it's not too hard :P