yashsingh1/xdaforums huggingface dataset:
[Android General] phez:
Hi Hangover68,

I got this too with the V10E rom. To solve this hold down the home, down volume and power button. This will then reboot the phone and you will see a new splash screen showing a box with an arrow and an android. Wait about 2 minutes and you will be presented with the setup screen.
[Android General] absharaslam:
Hii.. I am a novice root user. I tried to install a custom ROM (MIUI V2.0) using ROM Manager... ( I read about this on some thread here on XDA)... but when started to create backup using Rom Manager, my phone didnt restarted......Now i am unable to switch on my phone ( Its showing only LG Logo ).... Please help me.
[Android General] sa_th:
connect to computer and run a recovery reboot from the command line
[Android General] rado77:
I have bigger problem, because phone is after initial logo restarting automatically only to Fastboot mode. It stops allways on message:

fastboot: processing commands

I can use Fastboot commands from PC's command line, but I cannot do anything with those comands. I can only reboot via command : fastboot reboot. But phone is rebooting still into Fastboot mode :crying:

I downloaded and installed Software Update [KDZ] and ROM file V10E_00.01.kdz, and used recmmended settings in that app:

3GQCT

DIAG

listing to .kdz file

"Launch Sowtware Update" button

But the problem is that I allways receive this output:

[R&D Test Tools Log File]

22:59:39 : Launching SW update

22:59:39 : Unpacking KDZ

22:59:41 : KDZ file extraced

22:59:41 : Files were extracted.

22:59:41 : LGMobileDL Load.

22:59:41 : Port = -1

22:59:41 : Connecting to phone

22:59:41 : PHONE WAS NOT FOUND!

22:59:43 : ===FINISHED===

It cannot find my phone even it's connected through USB cable, it's in Emergency Mode or in Fastboot mode. So I cannot repair it :(

Can you help me please with this?

Rado
[Android General] rado77:
So after time I upgraded phone with original FW. But now the problem is that after LG logo appear, and I hear some animation around it phone reboots and it's cycling over and over... Any idea what can be wrong? I used V10E_00.01.kdz file....are there some versions of this file for LG P690? My file has 147,673,088 bytes (140 MB)

You, and original updating via KDZ_FW_UPD.exe finished with this info:

.

.

.

.

.

12:49:52:636] : Sending Pkt Seq : 136

[12:49:52:636] : Sending Pkt Seq : 137

[12:49:52:636] : Sending Pkt Seq : 138

[12:49:52:636] : Sending Pkt Seq : 139

[12:49:52:636] : Sending Pkt Seq : 140

[12:49:52:636] : Sending Pkt Seq : 141

[12:49:52:636] : Sending Pkt Seq : 142

[12:49:52:636] : Sending Pkt Seq : 143

[12:49:52:636] : Sending Pkt Seq : 144

[12:49:52:636] : Tx packet : Last packet sequence : 145

[12:49:52:636] : Sending Pkt Seq : 145

[12:49:52:666] : _Reset_N_Close bFirst = 0

[12:49:52:666] : ¸Þ½ÃÁö º¸³¿ TYPE_WPARAM_RESET_THE_PHONE_2ND 11

[12:49:52:666] : [COM9] Reset [DLOAD]

[12:49:52:666] : WM_COPYDATA ¸Þ½ÃÁö º¸³¿ 3 - RESET

[12:49:52:966] : DIAG_DLOAD_F DLOAD_RESET_F do not wait for response

[12:49:53:281] : WM_COPYDATA ¸Þ½ÃÁö º¸³¿ 3 - Close Port

[12:49:53:281] : Close Port<<

[12:50:33:306] : Error in DLOAD MODE : Req(12) -> Rsp(19)

[12:50:33:321] : Error in DLOAD MODE : Req(12) -> Rsp(19)

[12:50:33:337] : Error in DLOAD MODE : Req(12) -> Rsp(19)

[12:50:33:337] : >> DIAG_STATUS_F FAILED

[12:50:33:353] : >>Get Model Name [DIAG_VERNO_F]

[12:50:33:368] : strModel = P690

[12:50:33:368] : Read NV item: 71	NV ITEM 71 [71]

[12:50:33:384] : CSW

[12:50:33:384] : Banner : CSW

[12:50:33:384] : WM_COPYDATA ¸Þ½ÃÁö º¸³¿ 0 - P690

[12:50:33:399] : Write NV item:9028	NV ITEM 9028

[12:50:33:399] : 9028 - NV_DONE_S Item

[12:50:33:399] : WM_COPYDATA ¸Þ½ÃÁö º¸³¿ 3 - Close Port

[12:50:33:399] : Close Port<<

[12:50:33:399] : ¸Þ½ÃÁö º¸³¿ - TYPE_WPARAM_UPGRADE_OK

[12:50:35:459] : Log finished
[Android General] rado77:
SOLVED -> entering bootloader works with pressing HOME+VOL_DOWN+PWR_ON. After that I saw bootloader screen for a second, after that phone boots to Android without any problem ! :good:
[Android General] rajupenumatsa:
Bricked LG optimus one P500

I think I bricked my LG optimus one P500. I am getting the same phone not found error message when I try with KDZ in Emergency mode. May I know how you resolved this issue?
[Android General] andreixd:
I have the same problem here, the software tells me it can't find my phone. Furthermore, it crashes when I click on Read Phone Information. I am using Windows 8 and I have successfully installed the latest drivers and connected my phone to pc (verified through adb). Can anyone help, please?

Edit: I managed to figure it out. It seems that the CM9 ROM I was running was the problem, since everything worked perfectly after switching to a CM7 build.
[Android General] disguisedview:
Problem while using Software Update (KDZ)

Hey,

I had to repair a LG P690.

I've decided to use the Software Update KDZ (KDZ_FW_UPD.exe) and the original Stock-ROM from LG.

I followed the steps described above:

But as step 12 was running, the KDZ-Software crashed during the update with an error. Unfortunately I can't remember the error-message.

The log-file to this action:

.....

After this the phone didn't work anymore. I wasn't able to turn it on.

So I turned by pressing "Back" and "Vol-Up" while I connect the USB-cable to PC (I'm using Windows 8) into "Emergency Mode!!".

I've tried flashing original firmware again and again but now every time I get the following error after a few minutes:

Upgrade Error

WParam: 100

LParam: 6

:crying:

The mobile phone turned into Fastboot mode during the update.

The Log-File given to me looks like that:

When I turn on the phone the LG Logo appears and then the P690 goes to Fastboot mode

Can anyone help me? I've no idea for further steps...

...sorry for my bad English, but I'm no native speaker...;)
[Android General] biswajitmajhiceb:
I have face problem p690 pls help me

I have face same problem .when i use kdz update it so error in update.

Now my phone is totally off.whwn i use kdz next time it show <my phone is not found>pls help

my phone is dead .help call me 9040632942,mail-biswajitmajhiceb@gmail.com
[Android General] boysays:
Thanks and a doubt..

Bro I keep doing stupid things with my Optimus net n this post of urs Always save my ass :) A great thanks for this Million Dollar Post... I have flashed this original ROM more than 10 different times. 1 thing I need to ask u bro like I made a Backup of Original ROM than I installed a custom rom using recovery than switched to another custom ROM and after than when I tried to flash back d original ROM backup; it said MD5 checksum failed... Why is that??:confused:
[Android General] elven_mage:
How do i solve this? LG P698 bricked!

0. Jailbroken n unlocked my iphone before so i wanted to now mess with android LG P698 dual sim.

1. Rooted my phone to remove unwanted bloatware. Didn't backup

2. Removed LGHome.apk by mistake. Menu disappeared.

3. Thought i may have to install CWM before recovery (read somewhere that recovery with stock ROM was not possible). Tried to get CWM working.

4. CWM caused my phone to reboot. Stuck on LG screen ever since.

Questions

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

1.How bad is the situation?

2.Can i simply undo the CWM thing now and get back to my rooted state with LGHome.apk still absent? If yes, how? Also how do I then get LGHome back?

3. Or is it that I have no option but to go back to factory settings? If yes, how? My phone is bricked. How do I recover using my PC? I read in this thread about "recovery using command prompt" but no steps were mentioned. I already have v10E_00.KDZ.

Please help. Step by step method will help a great deal.
[Android General] Watermeln.com:
thanks...bro...u saved me

this trick really works..!!!! i was wondering whether this phone will ever work now after it got stuck into the loop of booting animation and booting image......but ur trick worked...thanks a ton..!!!!:cowboy:
[Android General] RohanM:
It worked flawlessly... Thanks buddy for this guide. :)
[Android General] yossi2010:
trying to resolve a weird problem...

So... if i've done that reflashing of the original firmware(downloaded by IMEI no. from LG's site) does it really touch every aspect of the software and i can be sure that the problem that persists is an hardware problem?(phone wont read sim no matter what rom... just stays on a fake airplane mode that can't be disabled and the sim contacts are not read.)

or is there any special trick for that and i can save my phone(p690)?

what i tried...

2 cm7.2 roms.(my original target)

disable airplane mdoe in all possible ways(apps power menu and networking menu)

enabling radio in the service menu *#*#4636#*#*

restoring original cellcom israel rom by nandroid(still rooted)

and now i've done the original kdz fw flash through the pc.

and deleted data with both cwm and now with the key combo as i dont have cwm anymore(fw flash...)

did it really rewrite the radio baseband firmware and everything or are there leftovers that are causing problems?
[Android General] ItepK:
I am running Cyanogenmod 7.2 on my P690. When I am in emergency mode and I try to flash, It just restarts and goes back to CM 7.2. I cannot install stock firmware.
[Android Software/Hacking General [Developers Only]] Dunc001:
Mate, thank you so much for this - I have been trying to figure it out for our ROM for weeks LOL I'm going to give it a try this evening and I'll let you know if I get it! Thanks again :D
[Android Software/Hacking General [Developers Only]] hansip87:
Ok let me know mate ;)
[Android Software/Hacking General [Developers Only]] musashihatred:
ill try it on my SGY :D
[Android Software/Hacking General [Developers Only]] tommytomatoe:
Looks fun! great post
[Android Software/Hacking General [Developers Only]] hansip87:
Updated step, to give you some warning about StatusBarService$7 naming convention :)
[Android Software/Hacking General [Developers Only]] mcmb03:
definitely gonna give this a try!!
[Android Software/Hacking General [Developers Only]] nvt992:
great akaka.try it soon.:D

did u know how to port ICS layout to stock rom? can u write a tut?

this will be great!!
[Android Software/Hacking General [Developers Only]] hansip87:
What layout? Do you mean ICS launcher layout or..?
[Android Software/Hacking General [Developers Only]] nvt992:
no.see my attach :D
[Android Software/Hacking General [Developers Only]] hansip87:
Well do you have the original link? :) First, i know nothing about that, so i should learn first. and secondly, it's more about theme editing, so i think it's more about editing XML inside SystemUI.apk rather than coding a .smali like above. Thirdly, the shortcut for setting in ICS IMHO is not as efficient as Power Widget Status Bar.
[Android Software/Hacking General [Developers Only]] nvt992:
this is for cm7

patch http://xdaforums.com/showthread.php?t=1324924

or original theme

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

hope u can do it :D
[Android Software/Hacking General [Developers Only]] hansip87:
Well ok thanks :) but don't count on me ok ;) because i am currently researching for 2G/3G toggle button for PowerWidget, this one is not that high on my list, but you never know.. ;)
[Android Software/Hacking General [Developers Only]] nvt992:
ok:D thank you:)
[Android Software/Hacking General [Developers Only]] lasmaty07:
where can i get Baksmali manager?
[Android Software/Hacking General [Developers Only]] hansip87:
Check back later mate, just uploading right now because of on the original link, it's dead. I'll upload it for us all to share :)

EDIT: Uploaded. Click Baksmali Manager link on the first page to download. :) APK Multi Tool can be found on the same parent thread (Hacking General) :)
[Android Software/Hacking General [Developers Only]] jaggyjags:
Done, but get this error when recompiling .apk

Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Users\me\Desktop\folder>apktool.bat b -f -d out
I: Smaling...
Exception in thread "main" brut.androlib.AndrolibException: Could not smali file
: java.io.FileInputStream@11d221e
at brut.androlib.src.DexFileBuilder.addSmaliFile(Unknown Source)
at brut.androlib.src.DexFileBuilder.addSmaliFile(Unknown Source)
at brut.androlib.src.SmaliBuilder.buildFile(Unknown Source)
at brut.androlib.src.SmaliBuilder.build(Unknown Source)
at brut.androlib.src.SmaliBuilder.build(Unknown Source)
at brut.androlib.Androlib.buildSourcesSmali(Unknown Source)
at brut.androlib.Androlib.buildSources(Unknown Source)
at brut.androlib.Androlib.build(Unknown Source)
at brut.androlib.Androlib.build(Unknown Source)
at brut.apktool.Main.cmdBuild(Unknown Source)
at brut.apktool.Main.main(Unknown Source)

Tried to do it manually like this and using apk multitool, but same error in log.

even tried to compile just after decompiling but that's no help.. same error

Any help? :confused:
[Android Software/Hacking General [Developers Only]] hansip87:
APKTools is a bit outdated and i'm afraid some incompatibilites with Google SDK might be the source of the problem. search APK Multi Tools and use that one instead with SDK release 16 and up.
[Android Software/Hacking General [Developers Only]] cogeary:
Hello, and thanks for the how-to!

Sadly I couldn't get it to work on my phone (Motorola Atrix 2). Some of the smali files were pretty different... I tried my best but there were definitely moments when I wasn't sure if I was doing the correct thing... SystemUI won't compile.
[Android Software/Hacking General [Developers Only]] hansip87:
Hi, all. Seems the statusbarservice.smali is very different from each other. So to help you all, this is the java code that should give you a better understanding. Please read here https://github.com/nadlabak/android...m/android/server/status/StatusBarService.java
[Android Software/Hacking General [Developers Only]] hansip87:
Umm the clear status bar button should be working even with modified framework.jar. Have you followed leomar's advice to generate the anim's id with straight decompile-add anim's file-recompile? Strange that there's no error about systemUi.apk. Try to log from adb command.
[Android Software/Hacking General [Developers Only]] hansip87:
Try to inspect the code again. Some dead code from the log said. Maybe some wrong variable number.
[Android Software/Hacking General [Developers Only]] fisha21:
Ok, have attached an adb log.

The only error msg related to SystemUI I could find were:

W/PackageManager( 271): System package com.android.systemui no longer exists; wiping its data

I/StatusBarManagerService( 271): Starting service: ComponentInfo{com.android.systemui/com.android.systemui.statusbar.StatusBarService}

W/ActivityManager( 271): Unable to start service Intent { cmp=com.android.systemui/.statusbar.StatusBarService }: not found
[Android Software/Hacking General [Developers Only]] hansip87:
Make sure that:

1. APK is not signed with APK multi Tool, but with direct copy and paste from original one

2. SystemUI.apk must have rw-r--r-- permisson
[Android Software/Hacking General [Developers Only]] delca85:
Hi!

I keep on having problem with SystemUI.apk, the statusbar doesn't appear.

I am going to make a full wipe to put new Andromeda HyperDroid v7, I will try again to add this implementation.

Thanks a lot for your support!
[Android Software/Hacking General [Developers Only]] fisha21:
I copied META-INF folder and AndroidManifest.xml from the original SystemUI.apk, and my install script fixes permissions when flashing.

Edit:

Ok, so progress..of a sort.

Made some changes to StatusBarService.smali, and now it works fine...until the system tries to generate a notification, at which point SystemUI force closes. Attached are log files - seems like the problem is with LatestItemContainer.smali, so looks like I need to make some changes there...
[Android Software/Hacking General [Developers Only]] Beamer9408:
you guys are doing better than I im bootlooping at the splash screen.
[Android Software/Hacking General [Developers Only]] hansip87:
Ok, make sure that the swiping anim id is matched inside LatestItemContainer$1.smali with the one from public.xml

@Beamer: that means your framework.jar is not compiled correctly or the permission is incorrect. Try again.
[Android Software/Hacking General [Developers Only]] Beamer9408:
@Beamer: that means your framework.jar is not compiled correctly or the permission is incorrect. Try again.[/QUOTE]

Thanks you were correct it compiled but with an error saying sswitch_data_13e is not defined...went back opened the file looked at it didn't change anything to it mind you closed terminal restarted compiled without that error. So I'm not sure what the problem was and thanks for your response!
[Android Software/Hacking General [Developers Only]] hansip87:
that means you missed that sswitch_data_13e line :) please re-read the bold line in the OP.. There must be at least 2 of those. one in the packed-switch line, one on the switch's body itself.
[Android Software/Hacking General [Developers Only]] najashark:
im about to edit framework.jar but i didnt understand about this

this is my smali/com/android/internal/statusbar/IStatusBarService$Stub.smali

.field static final TRANSACTION_onClearAllNotifications:I = 0xd

[B].field static final TRANSACTION_onNotificationClear:I = 0xe[/B]

.field static final TRANSACTION_onNotificationClick:I = 0xb

.field static final TRANSACTION_onNotificationError:I = 0xc

the bold one is what i changed, because 0xc has been taken

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

.method public onTransact(ILandroid/os/Parcel;Landroid/os/Parcel;I)Z
.registers 14
.parameter "code"
.parameter "data"
.parameter "reply"
.parameter "flags"
.annotation system Ldalvik/annotation/Throws;
value = {
Landroid/os/RemoteException;
}
.end annotation

.prologue
.line 39
[B]sparse-switch p1, :sswitch_data_140[/B]

the bold part is the original one, why you changed the 140 value to 13e?

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

and what i need to changed the 0xe value?

someting like this?

.line 39
:sswitch_data_140
.sparse-switch
0x1 -> :sswitch_f
0x2 -> :sswitch_1c
0x3 -> :sswitch_29
0x4 -> :sswitch_42
0x5 -> :sswitch_5f
0x6 -> :sswitch_7b
0x7 -> :sswitch_8d
0x8 -> :sswitch_9b
0x9 -> :sswitch_a9
0xa -> :sswitch_e3
0xb -> :sswitch_f1
0xc -> :sswitch_10b
0xd -> :sswitch_132
[B]0xe -> :sswitch_140[/B]
0x5f4e5446 -> :sswitch_8
.end sparse-switch
.end method

thanks in advance :)
[Android Software/Hacking General [Developers Only]] hansip87:
I changed it because that was how a code from other ROM (still Xperia lineup but different phone) is managed :) i was going for porting that mod and i just merging the two. once i gain the knowledge, i shared it to you all :)

the idea was to connect the switch case directive

sparse-switch p1, [B]:sswitch_data_140[/B]

with the switch body

.line 39
[B]:sswitch_data_140[/B]
.sparse-switch
0x1 -> :sswitch_f
0x2 -> :sswitch_1c
0x3 -> :sswitch_29
0x4 -> :sswitch_42
0x5 -> :sswitch_5f
0x6 -> :sswitch_7b
0x7 -> :sswitch_8d
0x8 -> :sswitch_9b
0x9 -> :sswitch_a9
0xa -> :sswitch_e3
0xb -> :sswitch_f1
0xc -> :sswitch_10b
0xd -> :sswitch_132
0xe -> :sswitch_140
0x5f4e5446 -> :sswitch_8
.end sparse-switch
.end method

it was clear that :sswitch_140 after 0xe case is abit similar with the switch case above it so it was renamed to avoid confusion while editing. the :sswitch_140 will direct the code to another line which is marked with :sswitch_140 directive (which you need to add next if you follow the tutorial)
[Android Software/Hacking General [Developers Only]] najashark:
thanks mate, I understand it now, and successfully compile without error :D
[Android Software/Hacking General [Developers Only]] Beamer9408:
ok i figured out my problem was instead of well im not sure cause im not using the same program to decompile but when i was decompiling i was running the command to decompile the whole framework.jar so my fix was to pull classes.dex out of frameowrk.jar and decompile that make changes and compile then put it back into the og framework.jar so it is booting but no status bar im searching for the answer on that still.
[Android Software/Hacking General [Developers Only]] fisha21:
Thanks for the ongoing help. Did double-check that, but have covered all the basic stuff from the tutorial. Did manage to find an implementation on the HTC Evo3D, with Sense 3.5, but even using that as a source to compare, something still seems to be missing. Doing a bit more background reading at the moment....
[Android Software/Hacking General [Developers Only]] cowsquad:
will this work on original droid running 2.2.10 miui.us?
[Android Software/Hacking General [Developers Only]] dotdevil:
I dpnt have a clue what is going on here but I like the idea..... what do I need to do to get this working on my at&t note????.... and is it possibleto do everything from the phone cause I don't have a computer :-(.... my note is my office
[Android Software/Hacking General [Developers Only]] hansip87:
Well you need a PC at least :) Smartphone is not as smart as PC you know :p
[Android Software/Hacking General [Developers Only]] cowsquad:
can anyone tell me what commands are use on baksmali manager please? for instance what command is used to run the script or what commands should i input on terminal?

thank you
[Android Software/Hacking General [Developers Only]] Dunc001:
For what? Just put your jar file in the baksmali manager folder, run the script and it will open a window similar to that you'd see with APK Multi Tool but with only a few options. Choose your project and then select baksmali. Make your edits then select smali. Then open your original jar file with WinRAR or 7Zip (don't unzip, just open) and drag in the new classes.dex. Close your WinRAR window and there you have it.
[Android Software/Hacking General [Developers Only]] cowsquad:
How do I run the script? I am on ubuntu and I tried to click on bat file but it opened with gedit. Then I went to type it on terminal, but I guess am inputting something wrong.

Thanks for your kind help:)
[Android Software/Hacking General [Developers Only]] Mefistozisimo:
w7

w7 is a solution!
[Android Software/Hacking General [Developers Only]] Shaaan:
I am still getting errors with the statusbarservice.smali file. The framework compiles fine.

Can anyone with a Samsung device please guide me?

My device :

Samsung Galaxy Ace

Cfrootb84 fixed kernel

Stock 2.3.6

TeamCooper Developer

TheMyth Developer

www.teamcooper.net
[Android Software/Hacking General [Developers Only]] zcop:
Im on GFit an success.so if you want i can help you a little.
[Android Software/Hacking General [Developers Only]] Shaaan:
Please help. I get errors while compiling in statusbarservice.smali

I tried changing the apktool versions but to no avail.

Can you please list what all needs to be modded in that file?

Thanks.

:)

TeamCooper Developer

TheMyth Developer

www.teamcooper.net