Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,736,660 Members 54,154 Now Online
XDA Developers Android and Mobile Development Forum

[Q] 4.3 update (touchwiz) - no codes work anymore - how do I QPST now?

Tip us?
 
galets
Old
#1  
Senior Member - OP
Thanks Meter 10
Posts: 115
Join Date: Apr 2006
Prompt [Q] 4.3 update (touchwiz) - no codes work anymore - how do I QPST now?

original firmware had a number of hidden codes that you put into dialer and it does stuff. None of them work anymore. Particularly the ones I care about are:

*#22745927 to enable hidden menu.
*#7284# to switch the UART and USB from PDA to MODEM (so that I could program PRL with QPST)
*#0*# hardware test

Are there alternatives?..
 
0331
Old
#2  
0331's Avatar
Senior Member
Thanks Meter 80
Posts: 336
Join Date: Jan 2012
No.

Sent from my Last Ever Samsung Device.
 
galets
Old
#3  
Senior Member - OP
Thanks Meter 10
Posts: 115
Join Date: Apr 2006
Quote:
Originally Posted by 0331 View Post
No.

Sent from my Last Ever Samsung Device.
On the older firmwares there was an IOTHiddenMenu activity which you could invoke using
Code:
am start com.android.hiddenmenu/com.android.hiddenmenu.IOTHiddenMenu
command, but that doesn't work on 4.3

I know in AOSP there was a notion to turn into QPST mode by writing to kernel pseudo-files...

Engineers got to somehow be able to reprogram these phones, there's no way Samsung disabled this completely
 
galets
Old
#4  
Senior Member - OP
Thanks Meter 10
Posts: 115
Join Date: Apr 2006
I dug out some old scripts for AOSP, which seem to work. Device was accessible in QPST-programmable mode after them:

Code:
#/system/bin/sh

# sets DIAG mode
echo 0 > /sys/class/android_usb/android0/enable
echo 04E8 > /sys/class/android_usb/android0/idVendor
echo 6860 > /sys/class/android_usb/android0/idProduct
echo diag > /sys/class/android_usb/android0/f_diag/clients
echo 1 > /sys/class/android_usb/android0/f_acm/instances
echo diag,acm,adb > /sys/class/android_usb/android0/functions
cat /sys/class/android_usb/android0/functions
echo 1 > /sys/class/android_usb/android0/enable
start adbd
setprop sys.usb.state sys.usb.config

and to go back to MTP:

Code:
#/system/bin/sh

# sets default USB mode
echo 0 > /sys/class/android_usb/android0/enable
echo 04E8 > /sys/class/android_usb/android0/idVendor
echo 6860 > /sys/class/android_usb/android0/idProduct
echo 1 > /sys/class/android_usb/android0/f_acm/instances
echo mtp,acm,adb > /sys/class/android_usb/android0/functions
echo 1 > /sys/class/android_usb/android0/enable
start adbd
setprop sys.usb.state sys.usb.config
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes