yashsingh1/xdaforums huggingface dataset:
[Fascinate Q&A, Help & Troubleshooting] chopper the dog:
Decompile systemUI.apk using framework-res.apk as a dependency. Not twframework.

good day.
[Fascinate Q&A, Help & Troubleshooting] sendan:
That came up with the same error, log is exactly the same so I won't bother posting it.

EDIT:

When I try to use framework-res.apk as a dependency I get the error: "Sorry thats not the dependee apk, try again"

However if I use twframework it decompiles but I get the error when I compile it.
[Fascinate Q&A, Help & Troubleshooting] chopper the dog:
So your steps are.

1.add systemUI.apk to place here to be modded folder.

2.option 10 in the apk mgr script

3when prompted (simply drag the framework-res.apk from you framework folder in to the apk mgr script window)

4.enter

5.make edits to apk

6.option 11 to compile.

7.is this a system apk (Y)

8.Would you like to copy over any bla bla bla to reduce errors? (Y)

9.go to keep folder and delete resources.arc if you made any xml edits

10.go to drawable hdpi in keep folder and delete any images that you edited.

11. enter in script to continue/finish compiling.

good day.

---------- Post added at 04:45 PM ---------- Previous post was at 04:38 PM ----------

ok just saw your edited post. TBH I've used all those steps above to theme aosp. My only theming of touch wiz I did was eclair/froyo which did not include systemUI so it make sense with needing twframe.

good day.
[Fascinate Q&A, Help & Troubleshooting] sendan:
That's exactly what I would do if I didn't get errors first.

The first error is when I drag over framework-res.apk "Sorry thats not the dependee apk, try again"

Now if i drag in the twframework-res.apk I can get to #6 in your guide and I get the error "An Error Occured, Please Check The Log"

Press any key to continue . . .

Then I proceed to steps #7, 8, 9,10,11.

Now I have an apk that is 269 KBs, compared to the stock SystemUI.apk which is 308 KBs.

One minute, going to push this to my phone and see what happens.
[Fascinate Q&A, Help & Troubleshooting] sendan:
Okay that seems to have given me a fully intact SystemUI.apk.

I guess I was just getting paranoid with the smaller size and the error.

So instead of saying no to

8.Would you like to copy over any bla bla bla to reduce errors? (Y)

like I did with the other .apk files I said yes and that's what made it work.

Thank you!
[Fascinate Q&A, Help & Troubleshooting] sendan:
Okay so that didn't work after all. Apparently that works fine if I don't change anything, but once I did my xml edits I had problems.

It seems the files I delete in the keep folder don't get compiled in resulting SystemUI.apk. This also explains why the file size is smaller.

Everything leads back to the error in the log but...I don't know what to do next...Here's a log following chopper's steps precisely aside from using twframework-res.apk instead of framework-res.apk.

java version "1.6.0_25"
Java(TM) SE Runtime Environment (build 1.6.0_25-b06)
Java HotSpot(TM) 64-Bit Server VM (build 20.0-b11, mixed mode)
I: Framework installed to: C:\Users\Jon\apktool\framework\2.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: C:\Users\Jon\apktool\framework\1.apk
I: Loaded.
I: Decoding file-resources...
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
C:\Users\Jon\Desktop\Theming\Apk_Manager_5.0.2\other\..\projects\SystemUI.apk\res\layout\status_bar_expanded.xml:12: error: Error: No resource found that matches the given name (at 'layout' with value '@touchwiz:layout/quick_panel_call').
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\Jon\AppData\Local\Temp\APKTOOL8422748642562834993.tmp, -I, C:\Users\Jon\apktool\framework\1.apk, -S, C:\Users\Jon\Desktop\Theming\Apk_Manager_5.0.2\other\..\projects\SystemUI.apk\res, -M, C:\Users\Jon\Desktop\Theming\Apk_Manager_5.0.2\other\..\projects\SystemUI.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:174)
at brut.apktool.Main.main(Main.java:59)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\Jon\AppData\Local\Temp\APKTOOL8422748642562834993.tmp, -I, C:\Users\Jon\apktool\framework\1.apk, -S, C:\Users\Jon\Desktop\Theming\Apk_Manager_5.0.2\other\..\projects\SystemUI.apk\res, -M, C:\Users\Jon\Desktop\Theming\Apk_Manager_5.0.2\other\..\projects\SystemUI.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
The system cannot find the file specified.
The directory is not empty.

EDIT: Downloaded the original version 4.9 and everything works swimmingly now.
[Android Q&A, Help & Troubleshooting] techsign:
I have been struggling for some time trying to figure out how to get the *specific* model number of an Android device. Looking under the battery doesn't count because I'm trying to find it with software.

From an app, you can use Build.MODEL which seems to read from ro.product.model in /system/build.prop, but these values usually contain the marketing name for the device such as "T-Mobile MyTouch 3G" which is really a SAPP300 or SAPP310. My problem is that I need to actually know if it is the 300 or the 310.

It must be possible somehow because the bootloader shows this information as well as my PC when I plug the phone in via USB.

If anyone can help me it would be much appreciated.

$$$$$$ or a phone of your choice could be a reward for a solution!!!

Please help!
[Android Q&A, Help & Troubleshooting] techsign:
Another interesting thing regarding the model is that 9 times out of 10 the model string in the Settings -> About menu shows the same string that is in ro.product.model in build.prop. But once in a while, the about menu has a different string. For instance, the Inspire 4G (PD9812000) indeed says Inspire 4G in the about menu, but in build.prop and in Build.MODEL (app environment) it says Desire HD. These two models are very similar but for our purposes we need to be more precise. Any thoughts would be appreciated.

EDIT:

I looked through the android source and indeed the Model string in the About menu uses Build.MODEL, which I'm pretty sure uses the value in /system/build.prop. Since OEMs create their own builds, maybe they just hard coded "Inspire 4G" for the About menu string and just left build.prop alone (which is why it and Build.MODEL contain "Desire HD").

This still doesn't explain why the correct string is sent over USB for instance, but for now I'm just using a work around.
[Android Q&A, Help & Troubleshooting] cmstlist:
I think that the best you're going to get comes from the build.prop. If the firmware is hacked to make it look like another phone, there's not much you can do about it.

The Inspire 4G is the same phone as what Telus released in Canada as the Desire HD. Same FCC ID even, I believe. So there really is little by which you can distinguish them.

If your app has network access, it could read the IMEI and look it up in a publicly available database to confirm for sure which device it is.

Sent from my Nook Color!
[Atrix 4G Q&A, Help & Troubleshooting] bearsfan172:
Hey guys. I'm trying to flash my phone to send it in for warrenty exchange. I flashed the 2.3.4 SBF from CM7. Now its in a bootloop. It comes up with the Dual Core logo, then the red M animation, and then does the ATT bootscreen. After that it blacks out and starts over again. Any ideas on how to solve this issue?
[Atrix 4G Q&A, Help & Troubleshooting] marko!:
try again. or fastboot flash one of the fruitcakes!!
[Atrix 4G Q&A, Help & Troubleshooting] polaris441:
Wipe data and cache
[Atrix 4G Q&A, Help & Troubleshooting] bearsfan172:
Ok well... after flashing the SBF, I can't access recovery anymore... so how can I wipe data without doing that?
[Atrix 4G Q&A, Help & Troubleshooting] Alcapone263:
use fastboot commands, you can still wipe partitions with fastboot even if you can't access recovery.
[Atrix 4G Q&A, Help & Troubleshooting] cchorto:
In fastboot type: fastboot -w

This does a hard reset of the OS using the recovery files on your phone.
[T-Mobile Samsung Galaxy S II SGH-T989] dimitrie:
Usually after pressing the power button the pink lock screen from tmobile would show up. But today after pressing the button to unlock the phone theres no lock screen, it just goes straight to the homescreeen. I tried putting a password and it still doesnt bring up the lock screen. Has this happened to anyone else?
[T-Mobile Samsung Galaxy S II SGH-T989] mziol:
This is still an issue after a restart?
[T-Mobile Samsung Galaxy S II SGH-T989] AllGamer:
that would have been normal on CM7 if you disabled lock screen

but on TW... it's rather unusual, specially when we still have no root

can you try installing super user meanwhile you are at it? :D
[T-Mobile Samsung Galaxy S II SGH-T989] dimitrie:
Yea, i even took out the battery
[T-Mobile Samsung Galaxy S II SGH-T989] dimitrie:
Also, theres another problem. When I hold the power button the phone shuts off automatically instead of the menu asking you want to turn of the phone.
[T-Mobile Samsung Galaxy S II SGH-T989] mziol:
This definitely sounds like a faulty phone, I would return it. These options are normally present in a CM7 build like allgamer said.
[T-Mobile Samsung Galaxy S II SGH-T989] kkg720:
I don't think that it is a faulty phone. Watch the review by Mobile Syrup and the lock screen on their phone is gone to.
[T-Mobile Samsung Galaxy S II SGH-T989] b0ricuaguerrero:
mine is doing the same no lock screen and phone shuts off as soon as I hold the power button

Edit: just tried setting a lock screen with pin and nothing still hmmm
[T-Mobile Samsung Galaxy S II SGH-T989] mziol:
So weird. You could try contacting the guys over at Mobile Syrup that did the review.
[T-Mobile Samsung Galaxy S II SGH-T989] dimitrie:
So i just did a factory reset and everything is fine now. :)
[T-Mobile Samsung Galaxy S II SGH-T989] landrian18:
No lock screen and when I click on power bottom it just shock down without the 3 choices (power off, airplane mode and silent)

pinadala gamit ang galaxy s2 (premium xda)
[T-Mobile Samsung Galaxy S II SGH-T989] Whitehawkx:
If and when I get this phone you'll have about 9 lockscreens to choose from and a variety of power options (as well as a ton of other mods and hacks). :)

Just click on a few of the links in my sig. :D
[T-Mobile Samsung Galaxy S II SGH-T989] mbernusg:
Yes I can't wait

Sent from my SGH-T989
[T-Mobile Samsung Galaxy S II SGH-T989] Nismo13:
how do you do a factory reset?

What will a factory reset erase? Will i have to root again?

This is my problem, I have been using my sim card for like 6 years now and today it just stopped working in my phone..

So I took it out and put it back in , still doesnt work, and right after that happend I realized that my lock screen had ceased functioning which i read is a known issue.

So i lost all my contacts, i will go have to get a new sim tomorrow, still don't know if i should trade the phone is for a new one.
[T-Mobile Samsung Galaxy S II SGH-T989] lookitzjohnny:
this problem had something to do with the *#0*# command, and and testing the camera while in that menu. i just reflashed the deodexed rom and it was fine.
[T-Mobile Samsung Galaxy S II SGH-T989] curiousbob:
I had this problem too. I had to do a factory reset to fix the problem.

Here's another thread discussing a potential cause of the issue: http://xdaforums.com/showpost.php?p=18702063&postcount=12
[T-Mobile Samsung Galaxy S II SGH-T989] rudiepoo1:
There are programs out there to use until then. Right now I'm using Quick Boot and it seems to do the trick just fine.
[T-Mobile Samsung Galaxy S II SGH-T989] Wildchld:
And you should have got the phone on release day lol bring on the hacks
[T-Mobile Samsung Galaxy S II SGH-T989] synenergy52:
I'm rooted and used Titanium Backup, and a few other "safe" apps. Then suddenly my screen lock dissapeared. Battery pulls would not restore it and neither would any settings fiddling. When I held the power button down two seconds, it would shut the phone off instead of the usual popup that gives you the option to power down.

The only way I was able to restore it was reset the phone to factory settings. Then I restored via a CW backup (wow CW is awesome)

Anyway is this a common thing? I can't imagine this happening to an iPhone. What could cause this--do I have to erase my phone next time this happens? What a PITA!!!
[T-Mobile Samsung Galaxy S II SGH-T989] ronin4740:
Did you try the numeric combo which gets you into the phone diagnostics? If so we discovered that the megacam test hoses the lockscreen for some reason.

Using tapatalk on my Galaxy 2 to post this!
[T-Mobile Samsung Galaxy S II SGH-T989] synenergy52:
As a matter of fact yes I did try that test recently.. wow i'm never doing that again! I did it due to the infamous screen noise problem on low brightness settings against dark backgrounds in a dimly lit room on the Galaxy S2 T989
[T-Mobile Samsung Galaxy S II SGH-T989] :
I got the issue too, while messing with ics and jb, i got it fixed by reverting to Gingerbread and the correct partition for gingerbread (At least on gingerbread it works
[XPERIA X10 General] fawazar:
i am in UAE(arab country)... he problem is not all the apps in the market is available in the when i use my sim-card...but when i use another sim-card from india(my home country), market is fully available,...all the apps are available...can i change he location of my phone so that market will think that i am in another market-enabled country?? i searched for it a lot... i found something related o cda...but i dint get any good info...so please help me up... :)
[HTC Sensation] jhobert:
Hi noob here, I just want to ask if there's a way to improve the sensations antenna reception, I have been having inconsistent signal sometimes people will call me and even if my phone is on they said it goes straight to vm due to low signal specially when my phone is idle for a long time. Hope someone can shed a light to my problem.

Note: I already tried warranty exchange and same thing, tmobile signal in our area is very good.
[HTC Sensation] moshe22:
You might want to s-off and flash a different radio
[HTC Sensation] fgozal:
I have same problem..my device s off.which antena I should install??
[HTC Sensation] jhobert:
Can I flash a new radio and keep the stock rom? I love how the stock sense that's why I never did try to flash or root my phone yet.
[HTC Sensation] yyx84:
sure but first you need root ;)

http://xdaforums.com/showthread.php?t=1200403 here you can find everything... have fun :D
[HTC Sensation] jhobert:
Thanks.
[Xperia Arc Android Development] DooMLoRD:
reserved for later
[Xperia Arc Android Development] DooMLoRD:
reserved for later2
[Xperia Arc Android Development] Okluzhion:
haha, will try, will try =D
[Xperia Arc Android Development] funiewski:
sorry for possibly stupid question, will it work on ray?

I will try it howsoever:p
[Xperia Arc Android Development] DooMLoRD:
no it wont... i will need to compile separate kernel for RAY...
[Xperia Arc Android Development] funiewski:
:'( sad night

10
[Xperia Arc Android Development] DooMLoRD:
check p.m.
[Xperia Arc Android Development] yt92:
awesome!

not work on stock rom?
[Xperia Arc Android Development] DooMLoRD:
waiting for new .283 sources... once i get those will create updated kernel for stock roms too :)
[Xperia Arc Android Development] punkmonkey1984:
Doom will your kernel/recovery still retain ClockworkMod backups from the fxp recovery to be able to restore.

In case things go wrong (with me they do) :D

Sent from my Arc to your eyes.
[Xperia Arc Android Development] Alejandrissimo:
Hahahaah OMFG that android Logo is badass hahahahaha LOVE IT

thanks for your work doom :D
[Xperia Arc Android Development] tRippinthehead:
DooMLoRD,

you best as usual make great job and I want to say that the logo at boot just amazing :D
[Xperia Arc Android Development] DooMLoRD:
Yes they should... please test it out...
[Xperia Arc Android Development] rYuuk:
what are advantages of using your kernel over fxp kernel, other than several governors and whooping 2 Ghz OC(WOW) ?

I know that you have posted all its features but i dont know any features of fxp kernel so cant differentiate it .
[Xperia Arc Android Development] DooMLoRD:
more choices/more tweaking for u to play with :)
[Xperia Arc Android Development] rYuuk:
You mean to say that this will be faster than Fxp kernel ??

Making cm7(doomkernel) fastest ROM ?
[Xperia Arc Android Development] DooMLoRD:
could be... try it out urself
[Xperia Arc Android Development] rYuuk:
I flashed your kernel it worked fine. But when i increase frequency from 1500 to 1800 ....everything freezes after a while and screen distorts, it blackens out,and show rectangular glitch in b/w of screen and clicking on power button restarts it, again this happens. Also i increased frequency from cyanogenmod settings, could this be the problem?
[Xperia Arc Android Development] DooMLoRD:
well... not all devices support such high overclock... also there could be another issue.. .currently we are using undervolting to get good battery life... if u wish u could try increasing voltage for those frequencies...

on my Arc it can work for some time on 2Ghz... but after few intensive Linpack runs the device freezes exactly like u explained...
[Xperia Arc Android Development] rYuuk:
well the thing is i cannot do anything as when my phone starts after while same problem occurs so cannot change anything not voltage nor frequency.

I used adb bugreport -->
[Xperia Arc Android Development] DooMLoRD:
wipe cache/dalvik-cache or last ditch effort wipe /data

u should NEVER CLICK ON SET ON BOOT during testing... only when u know that the setting are stable u should use SET ON BOOT option...
[Xperia Arc Android Development] rYuuk:
OOps :p i guess i forget 'set on boot' thingy :D:D ...well don't worry i had a nandroid backup already so back to my original 1500 MHz frequency, thanks for help.

Also it works really smooth and the boot logo ...aweeeesome.
[Xperia Arc Android Development] martin132014:
I install your kernel but gone into boot loop on your boot screen....

1.install update-cm-7.1.0-XperiaArc-LT15i-SELFKANG-RILTEST-signed boot.img

2.went into recovery and install update-cm-7.1.0-XperiaArc-LT15i-SELFKANG-RILTEST-signed.zip and gapps...

3.reboot and start cm7.0.1...ok

4.shut down and install DoomKernel cm7 boot.img using fastboot.

5.restart phone........boot image boot loop.....cant went to recovery..

is there something wrong with my process.
[Xperia Arc Android Development] DooMLoRD:
sorry... i have only tested it with the FXP041 release as was posted in FXP thread.... i dont know if it will work with that RILTEST package
[Xperia Arc Android Development] martin132014:
install FXP041 and doomkernel....work...thanks..

but i have 1 issues, i have my GSM network to work but my carrier does not show on lockscreen and notification pulldown.....it just black...

Im using FXP041 and official CM7..it s the same...:confused:
[Xperia Arc Android Development] DooMLoRD:
dunno... may be this issue will be resolved in future ROM update...
[Xperia Arc Android Development] martin132014:
edited: gone into boot loop again if im trying to reboot my phone..and no recovery
[Xperia Arc Android Development] Mesho Arc:
Daaamn, 2 Ghz
[Xperia Arc Android Development] rYuuk:
try flashing FXP041 again maybe this solve the problem.
[Xperia Arc Android Development] martin132014:
nope...still the same...

1. install FXP041 boot.img

2.reboot to recovery and wipe data and cache

3.flash cm-7.1.0-XperiaArc-LT15i-KANG.zip and gapps-gb-20110828-signed.zip

4.restart phone....ok.....reboot again

5.install DoomKernel boot.img

6.restart phone.....boot loop...:(

It seem i cant go into recovery when im in doomkernel...it will go to boot loop
[Xperia Arc Android Development] Okluzhion:
Aaaah, crashed at the very end of the benchmark @ 2Ghz. Too bad. :D

I like the boot pic, it's cute ;) Everything seems stable for now.
[Xperia Arc Android Development] rYuuk:
can you upload log file, may be then DoomLorD could help you.
[Xperia Arc Android Development] martin132014:
How can i find the log file to be uploaded..?
[Xperia Arc Android Development] yancm:
Hi, does anyone know up to how much Ghz can Arc S be overclocked to?
[Xperia Arc Android Development] rYuuk:
if you have adb installed than connect your phone to pc and run the command

adb logcat > logcat.txt

then start your phone and upload the txt file.
[Xperia Arc Android Development] Okluzhion:
Most likely the same as arc. I doubt it can go any further than 2ghz. Isn't it the same proc in both? Arc s -> OC'd arc....
[Xperia Arc Android Development] yancm:
I heard it's just the OC'ed version, but some are also saying that it's a different processor with minor changes (MSM8255 vs MSM8255T). Im kinda confused as to which is true. :confused:
[Xperia Arc Android Development] DooMLoRD:
Arc uses MSM8255

Arc S uses MSM8255T

its not overclocked version... its more of a Factory clocked version... also from what i have heard MSM8255T is a newer stepping of the CPU in ARC, so it should perform better and be more stable at higher frequencies...
[Xperia Arc Android Development] lil_devil:
DoomLord u're just brilliant and superb.!!!!

Make me love my decision for coming onboard to xperia Arc.!!

2Ghz is an overkill but is damn cool...especially weni show off ;)

:D

Thanks for all your efforts..!!! u and the whole of FXP team have my heartfelt gatefullness.!! :D

u guys rock.!!!
[Xperia Arc Android Development] martin132014:
I dont have adb install in my window.....can any app to be use or copy the log from phone.....
[Xperia Arc Android Development] rYuuk:
:( i dont think so any app could do that.
[Xperia Arc Android Development] jaffrry8889:
Can you help! make the new CM7 KERNEL by NEO:D
[Xperia Arc Android Development] InternationalPlayer71:
@all

has anyone tried to see if arc s is more stable than arc in high frequences yet?so Is really msm8255T better than the arc one in pratice? :-)

Thanks
[Xperia Arc Android Development] DooMLoRD:
yes it is...

FXP has tested both Arc & Arc S at 1.9Ghz

Arc S was more stable
[Xperia Arc Android Development] maxx228:
Does this version of DooMkernel Can be apply to FXP042 ?

Thanks :)
[Xperia Arc Android Development] --Rob--:
Good Question!! *up*
[Xperia Arc Android Development] DooMLoRD:
it might... i havent tested it on FXP042 yet...

also newer FXP043 will require a different kernel... so this kernel wont work on that new FXP043 release
[Xperia Arc Android Development] Evil_Sephiroth:
CM7 v 42 and 41 (with doomkernel) don't accept setting different form interactiveX

I set interactive with setonboot (or other) and every time, after boot i have interactiveX again
[Xperia Arc Android Development] --Rob--:
I tried it yesterday with FXP042 => bootloop

When is 043 launched?
[Xperia Arc Android Development] cezarL:
Now that the drain issues are fixed on v12 stock kernel.. can we hope for an update on the CM7 version?

I get terrible drain with the FXP one, 14% over 8h in sleep mode...

Pretty please? :D
[Xperia Arc Android Development] CavinRay:
the same, again. 2-3% in sleep mode at 122mhz, but even 15-16% awake and even underclocking at 800mhz.

Pretty please (me too) :D ?
[Xperia Arc Android Development] DooMLoRD:
i am just testing my CM7 kernel right now :)