Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

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

OP galets

16th January 2014, 01:07 AM   |  #1  
OP Senior Member
Thanks Meter: 11
 
136 posts
Join Date:Joined: Apr 2006
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?..
16th January 2014, 03:41 AM   |  #2  
0331's Avatar
Senior Member
Thanks Meter: 82
 
340 posts
Join Date:Joined: Jan 2012
More
No.

Sent from my Last Ever Samsung Device.
16th January 2014, 03:35 PM   |  #3  
OP Senior Member
Thanks Meter: 11
 
136 posts
Join Date:Joined: Apr 2006
Quote:
Originally Posted by 0331

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
17th January 2014, 02:14 AM   |  #4  
OP Senior Member
Thanks Meter: 11
 
136 posts
Join Date:Joined: 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
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes