yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab  Android Development] cdesai:
alroger, try setting ro.sf.hwrotation to 0 (it's set from device/samsung/p1-common)

It should change the default orientation to landscape, and so you'll need to do a few other changes as well (we did them during initial 4.2 bringup, then reverted them for a better solution), so you revert the revert for the rest. (sensors and camera)
[Galaxy Tab  Android Development] alroger:
Yeah, if I set to 0, it's left-handed landscape. 180 makes it correct, but touch won't follow those rotations.

Could you point me in the right direction?
[Galaxy Tab  Android Development] cdesai:
Keep it 0.

Next, in the kernel config, set CONFIG_TOUCHSCREEN_QT602240_ROT90 to n, it's set to y currently.

That should fix touchscreen.
[Galaxy Tab  Android Development] alroger:
Cool, it works!

Hey, isn't there a ROT180 to use to invert the landscape? Or can you point me to the right file to edit this ROT90 config?

EDIT: Found it.. gonna try hacking a new ROT180 config.

EDIT2: Yay, I did it! My first customized kernel config: CONFIG_TOUCHSCREEN_QT602240_ROT180
[Galaxy Tab  Android Development] dexterash:
Have you fixed the touchscreen bug? Can you please reupload the recompiled cm?

Thanks!
[Galaxy Tab  Android Development] alroger:
UPDATE 20130515 it works!

Current changelog: 2013-05-15

[note] My second UT boot

[new] p1c build! let us know if it boots!

[changed] screen resolution and proportions (new hdpi_overlay.zip)

[fixed] screen and touch rotation

Building tips in Post #2.
[Galaxy Tab  Android Development] alroger:
Ubuntu Saucy

It works with the latest Ubuntu Sacy Salamander, but no wifi. Download link added.

Must edit /usr/bin/ubuntu-session manually in the ZIP and change:

# defaults
GRID_UNIT_PX=8
QTWEBKIT_DPR=1.0
FORM_FACTOR="tablet"

Don't use hdpi*zip on this one.
[Galaxy Tab  Android Development] dexterash:
Something in display it's broken. Seems flipped (also the camera is flipped).

I'm setting up a DEV enviroment too, so I'll post updates.
[Galaxy Tab  Android Development] alroger:
UPDATE 20130515 rotation fixed! brightenss fixed!

Rotation fixed! New uploads!

Camera is aligned with then screen now.

Brightness fixed - uncheck Automatic brightness and you can choose your brightness.

Enough for today...
[Galaxy Tab  Android Development] adi6262:
Is WiFi and mobile data working? :)
[Galaxy Tab  Android Development] areshinakya:
Very cool to see this progressing.

Is there any reason why this is based on an old quantal based ut build?
[Galaxy Tab  Android Development] alroger:
No, the base ROM is the base for any UT. But as I said it's working only with that build. Saucy worked also but without wireless.. there are new daily updates for raring and saucy every day... gotta keep on trying.
[Nexus 7 Q&A, Help & Troubleshooting] Brickoy:
I'm trying to use Helium (Previously named Carbon) by Clockworkmod. I was able to backup applications properly on my 16GB Nexus 7 Internal Storage, now I want to copy them on my 32GB Nexus 7, I tried copying the backup folders (carbon folder) on my 32Gb but when I tried restoring, It can't find the apps. Is there something I missed? Thanks in advance!
[Nexus 7 Q&A, Help & Troubleshooting] dexviajiboy:
Did you try backup n7 16gb to pc & from pc sync n7 32gb?
[Verizon HTC Droid Incredible 4G LTE] JTurnner:
A few months ago I got a Droid Incredible 4G LTE. This is my first ever smartphone, and I'm very pleased so far.

I purchased an extended battery and I've been going without a case for the past few months (a risky move, I know). I've tried searching for some cases, but most do not indicate weather they are compatible with an extended battery.

Does anyone have any experience (good or bad) with cases for the extended battery?

~J
[Verizon HTC Droid Incredible 4G LTE] deathraider1:
Re:Case

I bought a TPU case but had to modify it by cutting the area around the power button as it did not press well at all. All the other cutouts are fine. Here's the store I bought it from, they have various colors not just the 2 listed on the page: http://shop.htcpedia.com/droid-incredible-4g-rubber-extended-battery-case.html
[Verizon HTC Droid Incredible 4G LTE] Cozmikk:
I am confused with your reply. I too am wondering if there is a case out there that has a battery built in.
[Verizon HTC Droid Incredible 4G LTE] deathraider1:
The TPU case I got went over the extended battery back cover.
[Sprint Samsung Galaxy S 4 Q&A, Help & Troubleshoot] monty_python:
is sprint galaxy s4 model number from Samsung i1900 or i1905, then changed by sprint to mk mimic the model number sprint wanted it to be? Just trying to find out if international ROMs will flash on this..
[Windows Mobile Development and Hacking General] chmckay:
I was wondering if anyone here could help me out.

I have a need to intercept a couple of GDI apis. At this point, I can successfully inject a library into GWES and hook the apis using the api set data structure contained in the kernel's memory (i.e. KDataStruct->aInfo[KINX_APISETS]). However, this doesn't work when Gwes calls the api internally.

So, I came up with a method that allows me to "hook" the api, similar to the way Detours works. What I did was allocate 8 bytes of virtual memory and copy the first instruction of the api to the first 4 bytes of the memory block. Then, I created an ARM branch instruction to jump from the second 4 bytes of the buffer to the second instruction in the original api, kind of creating a trampoline function. Then, I created one more branch that jumped to my new function and overwrote the first instruction of the original function.

Basically, this is what ends up happening:

The api is called

The function branches (unconditionally) to my function

My function calls the trampoline function

The trampoline executes the first command of the original function (the one that was overwritten) and branches unconditionally to the original function

The original function does its thing and returns to my function

My function handles whatever it needs and returns to the caller

Now, here's the problem. On my handheld, it works flawlessly. However, this code did NOT work on several other devices, causing freezes and hard-resets. I was wondering if anyone knows what I can do to get this fixed.

Here's how I calculate a branch:

branch = (((dest-source-8)>>2)&0xffffff)|0xea000000;

I've verified that all of the values come out correctly for the ARM specifications.

If anyone can help, I'd really appreciate it.

Thanks!
[Windows Mobile Development and Hacking General] mamaich:
3 ideas. First is dumb. Maybe these devices keep GDI code you are trying to patch in ROM?

The second idea. Maybe the GDI code is mapped to every process address space without any modifications, and when your hook is called, some of the processes does not have your injected code in them and jump goes to unexistent address -> crash. You may try to use a jump command that uses full 32 bits of adress and a MapPtrToProcess() function to get your address that is visible in every proccess. In this case you should patch 8 bytes of hooked command.

The third idea. Are you sure that the patched bytes does not contain instructions that use PC-relative offsets? In this case you'll have to emulate them manually.
[Windows Mobile Development and Hacking General] chmckay:
Well, all GDI/USER functions exist in Gwes.Exe. When you call something like BeginPaint, coredll transfers control to Gwes, Gwes makes the function call and control returns to the application. So placing a hook in Gwes is the best location.

On the ARM/Xscale platform, all branches are relative to the PC. My example in my first post shows how the branch offset is calculated. Each branch must be within 32MB (24-bits). The first instruction of the function I'm hooking, according to IDA, is an STFMD.

So, I thought that my original problem was that the jumps were more than 32MB away. However, I've confirmed that this is not the case in any of the crashes, which is why I'm confused.

I believe I wrote everything to ARM specifications, but I guess not. If it will help, I xan post some of code for a reference.
[Windows Mobile Development and Hacking General] itsme:
instead of a jump, maybe use

04 F0 1F E5 LDR PC, [PC-4]
xx xx xx xx DCD jumptarget
[AT&T Samsung Galaxy Note I717] shaffer:
I just downloaded the update and bow I can't down load or send pictures through text message. Plus I can't download videos.
[AT&T Samsung Galaxy Note I717] 440bro:
Did you perform a factory data reset after the install? It solves lots off problems!
[AT&T Samsung Galaxy Note I717] rangercaptain:
Probably your MMS settings of your APN needs checking.
[AT&T Samsung Galaxy Note I717] dweeezy:
Settings-more settings-mobile networks-access point names-click on the apn.

Name-

ATT Phone

APN-

Phone

Proxy-

Not set

Port

Not set

User Name-

Not set

Password-

Not set

Server-

Not set

MMSC-

http://mmsc.mobile.att.net

MMS Proxy-

proxy.mobile.att.net

MMS Port-

80

MCC-

310

MNC-

410

Authentication type-

None

APN type-

default,admin,fota,mms,supl,hipri,internet

APN protocol-

IPv4

Enable/disable APN-

(check mark)

Bearer-

Unspecified[/QUOTE]

Try checking this.

SENT FROM MY I717

Made in China:{
[AT&T Samsung Galaxy Note I717] rangercaptain:
When I updated, my mms piled up and didn't send until I fiddled with the apn.
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] 7dili83:
Hi,

I just received a S4 for AT&T. I have service with T-mobile. With my previous phone (At&T galaxy note 2) the T-mobile service was absolutely horrible until I found a tutorial to run T-Mobile 3G/4G AWS bands on the AT&T Galaxy Note 2 SGH-i317. So in order to receive full tmobile 4g on my AT&T S4 will I have to go thru the same process?? or will just unlocking the and putting my the phone be sufficient. Please let me know:good:

thanks in advance
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] ErebusRaze:
I unlocked mine this morning by putting my coworkers T-Mobile SIM card from his S3 in my AT&T S4. After a swift boot up it showed T-Mobile 4G in the status bar so just putting the card in will be enough to get T-Mobile's 4G variant.
[AT&T, Rogers HTC One X, Telstra One XL] lightpost712:
I made a thread for Rooted AT&T 2.20 about enabling factory tethering. I found out that using this same .db file on 3.18 was not working for me. So I went back and re-edited the telephony.db that came with 3.18 and it seems to work again. I have uploaded the 3.18 version of telephony.db to enable factory hotspot sharing again. I have CleanROM 6 R2 installed and this seems to work well on it. Should work on stock rooted phones as well.

To Install

1. Extract telephony.db into the same folder as your adb.exe

2. Run these commands (they create a backup as well as push the edited database):

>adb shell

root@android:/ $ su

root@android:/ # dd if=/data/data/com.android.providers.telephony/databases/telephony.db of=/sdcard/telephony.db.bak

>adb push telephony.db /sdcard/telephony.db

>adb shell

root@android:/ $ su

root@android:/ # dd if=/sdcard/telephony.db of=/data/data/com.android.providers.telephony/databases/telephony.db

root@android:/ # reboot

After reboot everything should work fine.
[AT&T, Rogers HTC One X, Telstra One XL] nhshah7:
this is awesome, but you got my hopes up with the "rooted 3.18" title. you may want to move that bit to the end of the title. will definitely use this if my phone is ever unlocked again :\
[AT&T, Rogers HTC One X, Telstra One XL] milkytron:
Ha I got all excited too. And I may be wrong, but shouldn't this be in the development section?
[AT&T, Rogers HTC One X, Telstra One XL] diekastro:
I downloaded file, but seems zip file is empty... I am using Peazip

:rolleyes:
[AT&T, Rogers HTC One X, Telstra One XL] lightpost712:
I just re-downloaded it and the file is there. Try using a different unzipping program.
[AT&T, Rogers HTC One X, Telstra One XL] diekastro:
I tried again with windows pack and winzip... Both shows empty file.

I disabled Eset Enpoint, and I downloaded it 3 times.

However, I am using stock rom and I have the SQLite Editor. What changes did you do? Do you just have to change file 12 'broadband' to 'pta'?

Thanks
[AT&T, Rogers HTC One X, Telstra One XL] lightpost712:
I don't remember which line exactly off the top of my head. I am reattaching the zip file see if that works if that fails then I will go in a compare the standard .db with the new one. It was a simple one line change just don't remember which line it was. Trial and error is how I found it.
[AT&T, Rogers HTC One X, Telstra One XL] diekastro:
Thank you

I guess you did it using SQLite editor, it works for me.

Make a backup of telephony.db

Your internet APN should be configured (Settings - Mobile data - Access Point names)

1)Open Telephony.db (flange files: data/data/com.android.providers.telephony/databases)

2)Select 'carriers'

3)Search second row, then select Edit field

4)Change ID field with a number non used in this db (ex: in my case the last row is "42" so I used "43") - Save

5)Repeat the 3 and 4 steps, but using row 12.

6)Search the last line (or line with your carrier internet APN)

7)Select the row and Edit Field.

8)Change the ID field to "2". - Save

9)Chose the second row, then Clone Record and change ID field to '12' - Save

Just need to change a lot of things

Row number 2 -> Edit field

1)Change name to ATT Phone

2)Type to "default"

2)Insert_by field to "internal".

3)State to "readonly"

Row number 12 -> Edit field

1)Change name to Entiltlement

2)Type to "entitle"

2)Insert_by field to "internal".

3)State to "hidden"

My phone: HTC One X AT&T 3.18 unlocked and root. Stock rom
[AT&T, Rogers HTC One X, Telstra One XL] amphi66:
Worked great for me with a rooted, s-off HTC First and ST (ATT) SIM. Thank you!
[AT&T, Rogers HTC One X, Telstra One XL] brilliant_smart:
I did all this it worked, it stopped saying "there's temporary network problem that stop the enablement of your... yari yari yari"

but it is not showing tethering status icon at the notification drawer however, it is saying limited service if i connected it with my computer..

somebody gotta help me out pls

BEST REGARDS
[AT&T, Rogers HTC One X, Telstra One XL] redpoint73:
The AT&T ROMs are a real pain in the butt in regards to tethering and WiFi hotspot. As you are already bootloader unlocked and rooted, I would suggest just flashing any non-AT&T base ROM, and the tethering functions should work properly. Especially if you are not on AT&T, and your carrier does not limit tethering in any way (it looks like you are not located in the US?).

In my opinion, there is nothing "good" about being on the AT&T ROM. Many functions are intentionally broken or hidden, with nothing useful added. So going to a non-AT&T based ROM is "win" all around.
[AT&T, Rogers HTC One X, Telstra One XL] diekastro:
Maybe Its late for answer, but did you restar your phone after edit the file?
[AT&T, Rogers HTC One X, Telstra One XL] redpoint73:
No offense to the OP, but I would suggest not wasting any more time with this method (its been 6 months after all). As I already mentioned in Post #11 above, just flash any custom or stock rooted ROM that is not AT&T base (Sense base - I don't follow AOSP ROMs enough to know how well WiFI hotspot works on those), and WiFi hotspot will work fine.
[AT&T, Rogers HTC One X, Telstra One XL] diekastro:
You are right

yes, really I flashed with T-mobile Sense 5 ROM five months ago, and its better option.
[Samsung Galaxy S Blaze 4G] David1239:
I am trying to revert from an ics rom to a gingerbread rom via cwm. Is there anything special I have to do?
[Samsung Galaxy S Blaze 4G] skaroger867:
Assuming your cwm is up to date just wipe cache and system then flash. But ALWAYS remember to make a backup first.

On a side note, ever use twrp?
[Samsung Galaxy S Blaze 4G] jbats:
Ummm, its a little more complicated than Flashing.Lol

You are reverting system files and such. Grab you a STOCK image from Sammobile than flash in Odin following the steps outlined in konanes thread in the dev section. Don't ever flash backwards between versions of android in cwm, you'll soft brick your phone. Bad advice ^^^^dude
[Samsung Galaxy S Blaze 4G] xWolf13:
Really? Good thing it didn't soft brick my mom's phone. Went from P.A to Blaz3r...
[Samsung Galaxy S Blaze 4G] jbats:
I'm talking about going from firmware versions not ROMs. Going GB to ICS is fine. ICS to GB takes odin
[Samsung Galaxy S Blaze 4G] henslo:
Bml /mtd The partitions are changed from GB to ICS .
[Samsung Galaxy S Blaze 4G] skaroger867:
Hmm, guess I learned something today.

I've never had a problem going from jb to ics. But I've never flashed back to gb
[Verizon Samsung Galaxy Note II] highwaybandit:
How about a batttery pull. Then hold power home and up key and see if u have custom recovery and if so then do a restore of your back up. Or just flash another rom.
[Verizon Samsung Galaxy Note II] AndroidSurman:
Can you boot into download mode (power, home, vol. down), then flash a new rom through your computer? I'd start with rom, then if that doesn't work try flash a new recovery.
[Verizon Samsung Galaxy Note II] JasjarMan:
I can but like I mentioned odin fails. Heres what I get:

<ID:0/003> recovery.img

<ID:0/003> NAND Write Start!!

<ID:0/003> FAIL!

<OSM> All threads completed. (succeed 0 / failed 1)
[Verizon Samsung Galaxy Note II] AndroidSurman:
Download a custom recovery zip from TWRP, If you used odin, just boot into download, and flash through odin.

Edit: I didn't realize odin was failing. Scratch that.
[Verizon Samsung Galaxy Note II] kintwofan:
Three things we need more info about how Odin is failing, but I have a guess it says sboot then fails. So in that case go here

http://xdaforums.com/showthread.php?p=35265728

Get the alternate restore and use that in Odin. Or you could try the pit file, some day that fixes them up. Second had you read at all or looked in the stickies you would have got that answer in 10 seconds. Third, and finally never post in development until you develop something. Especially when you're getting help here, that's spam and can get you banned, plus normally I and others will not help you for that.
[Verizon Samsung Galaxy Note II] JasjarMan:
- I tried the pit no go.

- who said I did not look at the stickies?Maybe I should have mentioned that I did.

I did do as what was said in that link the first day I but my phone and it DID work.

Now it does not work and thats why I was asking her for help.

- I cant believe posting here is SPAM but ok I should have know better.

- Glad I got help regardless, thanks to everyone.

But I still have the issue.
[Verizon Samsung Galaxy Note II] kintwofan:
No posting the same question in multiple spots is spam. You still haven't said what Odin says when it fails. Saying it fails helps no one help you
[Verizon Samsung Galaxy Note II] JasjarMan:
post #5 I pasted this:

<ID:0/003> recovery.img

<ID:0/003> NAND Write Start!!

<ID:0/003> FAIL!

<OSM> All threads completed. (succeed 0 / failed 1)
[Verizon Samsung Galaxy Note II] JasjarMan:
And this:

<OSM> Enter CS for MD5..

<OSM> Check MD5.. Do not unplug the cable..

<OSM> Please wait..

<OSM> CI605_I605VRLJB_I605VRALJB_CL414933_HWID04_HW-Rev0406_low_ship_user.tar.md5 is valid.

<OSM> Checking MD5 finished Sucessfully..

<OSM> Leave CS..

<ID:0/003> Odin v.3 engine (ID:3)..

<ID:0/003> File analysis..

<ID:0/003> SetupConnection..

<ID:0/003> Initialzation..

<ID:0/003> Get PIT for mapping..

<ID:0/003> Firmware update start..

<ID:0/003> boot.img

<ID:0/003> NAND Write Start!!

<ID:0/003>

<ID:0/003> Complete(Write) operation failed.

<ID:0/003> Added!!

<OSM> All threads completed. (succeed 0 / failed 1)
[Verizon Samsung Galaxy Note II] kintwofan:
Much better, but it looks like you still didn't do what I said and you didn't read the stickies so...
[Verizon Samsung Galaxy Note II] kintwofan:
Try that out and see if it works, I'm going to bed so post your results
[Verizon Samsung Galaxy Note II] JasjarMan:
Will do. THANKS!
[Verizon Samsung Galaxy Note II] kintwofan:
So since you're not posting a bunch I'm assuming this fixed you? You can at least stop in to say it worked and thank the people who spent there time helping you
[Huawei Ideos X5 U8800] bdgraue:
i made the same mistake, i would guess you formatted the /boot too.

you now have to take an original huawei rom, 2.3.5 will be suitable, and follow some instructions you should find in this forum already.

than u have to root your device again and install the rom you need.
[Huawei Ideos X5 U8800] rqmok:
Yes, you need to install the official 2.3.5 firmware again. Download it from Huawei's official website.
[Huawei Ideos X5 U8800] bdgraue:
http://xdaforums.com/showthread.php?t=1420728

in this thread you find almost every information about rooting the device.

and http://xdaforums.com/showthread.php?p=22682229#post22682229 there are the instructions about installing the original rom :)

gl&hf
[Huawei Ideos X5 U8800] forumber2:
Can you access to phone from PC while pink screen?
[Huawei Ideos X5 U8800] badiyee:
no, unfortunately no.

When I press the volume + up buttons, i can access the blue native recovery.

I updated my post as above.

Can you help me?

NEW:

again, it boots! But 2nd boot will cause issues like process.android.acore and process.google something something has stopped.

can you guys help me on this last one? (i've recorded what i've done and what happened and how i fixed it in previous post. will edit all posts later to do a proper walkthrough.
[Huawei Ideos X5 U8800] forumber2:
Can the recovery detect sdcard?
[Huawei Ideos X5 U8800] badiyee:
yes, the recovery can detect the EXTERNAL SD.

But Internal SD, no. but when i click wipe data, and wipe cache (i think it does it on internal sd) it has no issues.

Again, first time boot =OKAY!

2nd time boot = F.C, all apps.

I suspect the errors happen because of the fact that i installed JELLY BEAN CM10.1 v7 before, and flashed the gapps too.

Do i need to reflash gapps to GB version after formating the system? What should I do?
[Huawei Ideos X5 U8800] bdgraue:
did you flash the original huawei rom first? or do you try to flash some custom rom immediately.

which version of original rom do you flash, when u do so?
[Huawei Ideos X5 U8800] badiyee:
I flashed the original Huawei Rom first. I know i cannot flash custom rom because the recovery is *3E* recovery, not the CWM/TCW recovery.

any ideas?

I've recorded the errors.

Should I try to reinstall the original HUAWEI ROM again?

okay tried flashing Gingerbread GAPPS (FAIL SIGNATURE!)

formating data and cache again...

*ADD MORE INFO*

Huawei ROM via phone status says this

Android version

2.3.5

Baseband version

404020

Kernel version

2.6.35.7-perf

android@localhost #1

Build number

U8800V100R001C00526G001

Did I do any mistakes?
[Huawei Ideos X5 U8800] bdgraue:
thats what i would do. first flash the huawei rom. start it, look that it works properly. after that i would root the phone, start again and look that all work as expected. then install rom manager and flash the cwm recovery, start again. boot into recovery, start again, always look if the phone is still working as it should. than take a good rom(aurora or cm10.1 v7) and flash it.

as often as you try it out and test if it all works as expected as early you can find out where errors come from.

only flash gapps if the rest works fine.

(which version of gapps do you try to flash? gapps-jb-20130301-signed.zip worked best for me over here)

Edit: http://www.huaweidevice.com/cn/downloadCenter.do?method=toDownloadFile&flay=software&softid=NDEyNTU=

this ist official 528 which worked very well for me. maybe 526 isnt the best suitable.
[Huawei Ideos X5 U8800] badiyee:
This is the SAME ERROR i'm facing.

http://xdaforums.com/showthread.php?t=2146478

I tried flashing gapps-20110828 it gave error. I also have the gapps jb20130301 file as well. But when i flash the GB gapps it says failed signature verification

QUESTION: could the partition be a problem because i used custom partition!
[Huawei Ideos X5 U8800] badiyee:
THANK YOU!

Thanks to everyone!

I have fixed the problem.

I will now re-write the ENTIRE post to help others that have similar issues as mine so that they would not need to be lost like I was.

Thanks again everyone!