yashsingh1/xdaforums huggingface dataset:
[Android Q&A, Help & Troubleshooting] Ziyan:
Hi,

I want to create a light rom for my RK2818 tablet. I removed lots of apk's, and it works fine. Now, I want to delete the unnecessary languages and dictionaries from the keyboard (LatinIME.apk).

How can I do it? Can I simply remove the folders like res\raw-da with Total Commander (compression set to 0)? I want to keep English and Hungarian languages only.

I'm also interested in more tips to speed up this unofficial cyanogenmod 2.3.7 rom, because this old chinese tablet with 256mb ram is only used to watch movies and browse the internet. I've already updated the hosts file with the adfree version, and removed the following apk's:

ADWLauncher.apk (replaced with LauncherPro)

Bluetooth.apk (no BT in this device)

Calendar.apk

CalendarProvider.apk

Camera.apk (no cam...)

CMStats.apk

CMUpdateNotify.apk

Contacts.apk (it's a tablet)

ContactsProvider.apk

Development.apk

DSPManager.apk

Email.apk

LiveWallpapers.apk

LiveWallpapersPicker.apk

MagicSmokeWallpapers.apk

Mms.apk

Phone.apk

Protips.apk

Provision.apk

QuickSearchBox.apk

RomManager.apk

SpareParts.apk

Stk.apk

TelephonyProvider.apk

ThemeChooser.apk

ThemeManager.apk

VoiceDialer.apk

VpnServices.apk

Here's the current apk list with gapps added, everything is still working:

806lpp.apk

AccountAndSyncSettings.apk

AndroidTerm.apk

ApplicationsProvider.apk

Browser.apk

Calculator.apk

CertInstaller.apk

CMParts.apk

CMScreenshot.apk

DefaultContainerService.apk

DeskClock.apk

DownloadProvider.apk

DownloadProviderUi.apk

DrmProvider.apk

FileManager.apk

FOTAKill.apk

Gallery.apk

GoogleBackupTransport.apk

GoogleFeedback.apk

GooglePartnerSetup.apk

GoogleServicesFramework.apk

HTMLViewer.apk

LatinIME.apk

MarketUpdater.apk

MediaProvider.apk

MediaUploader.apk

Music.apk

OneTimeInitializer.apk

PackageInstaller.apk

Pacman.apk

Provision.apk

Settings.apk

SettingsProvider.apk

Superuser.apk

SystemUI.apk

TtsService.apk

UserDictionaryProvider.apk

Vending.apk

VisualizationWallpapers.apk

Can I remove any of these? I want to remove everything wich is not important :D

Thanks for the suggestions, other tips are also welcomed :)
[Android Q&A, Help & Troubleshooting] Porobu:
you can erase the deskclock.apk if you dont use that widget
[Android Q&A, Help & Troubleshooting] UnitedOceanic:
http://xdaforums.com/showthread.php?t=1204340

might help you a bit, it's for the milestone but it should get you there
[Android Q&A, Help & Troubleshooting] Ziyan:
Thanks, removed some more :D i've found some bluetooth stuff in the libs folder, so deleted them...

Now, I just need to clean up LatinIME.apk, I'll try that later with total commander ;)
[Eee Pad Transformer Q&A, Help & Troubleshooting] DarthWombat:
G'day all...

I have a TF101G and I have noticed that the mobile broadband seens to be consistently at the top of the battery usage list even when I have mobile data disabled and (get this) even when I have the SIM card removed.

My TF101G spends most of its life within WiFi range and I only need the 3G when it's out of the house.

Does anyone have any idea how to disable the mobile broadband transmission? Maybe I'm mistaken, but it seems dumb that it's still using battery to check in even when I tell it not to use the 3G.

Thanks,

Alex.
[Eee Pad Transformer Q&A, Help & Troubleshooting] AzureusPT:
How have you disabled it?

I've seen many widgets/apps that say they're capable of disabling APN connections but the only thing they do is modify the APN connection name, so the 3G is still active but it never connects due to APN's changed name. The problem is that since 3G is not disabled at all, it might still use battery.

If you disabled from System > Wireless and Network > Mobile Network > Use packed data then 3G is turned off for sure. Also any system app that could manage that should be able to enable/disable that option.
[Eee Pad Transformer Q&A, Help & Troubleshooting] DarthWombat:
Thanks for the reply.

I did actually try changing the APN as well as removing the SIM card. I still see continuous battery usage for Mobile standby at the top of my usage graphs in Aplications > Battery use.

I don't actually have the "Use packed data" option under System > Wireless and Network > Mobile Network - I only have Data enabled, Data roaming, Access Point Names, Use only 2G networks and Network operators.

I can always to to flight mode for no connectivity, but I can't for the life of me figure out how I can make the TF101G WiFi-only. Surely there must be some way of doing it. Maybe the forthcoming ICS update will fix it - we live in hope.
[Eee Pad Transformer Q&A, Help & Troubleshooting] AzureusPT:
Sorry, I was refering to "Data enabled". If "Data enabled" is toggled, 3g is enabled despite the APN name's. Maybe you could try to disable "Data enabled" and see if it doesn't consume more battery.
[Eee Pad Transformer Q&A, Help & Troubleshooting] DarthWombat:
First thing I tried!

No joy there.
[Eee Pad Transformer Q&A, Help & Troubleshooting] DarthWombat:
Problem solved.

See post by Notdawa in http://www.transformerforums.com/fo...p/16657-no-firmware-update-me.html#post149760

It's simply a matter of putting it in flight mode and then manually enabling WiFi. It works a treat!
[Eee Pad Transformer Q&A, Help & Troubleshooting] eye1xda:
I have now TW 9.2.2.4 FW and still if i do flightmode and then wifi on, i see cell standy as the biggest power consumer . to me it seems somehow the modem hardware is not properly switched off. anyone knows what modem chipset it is? or what could be the reason why this behavior?
[Eee Pad Transformer Q&A, Help & Troubleshooting] eye1xda:
If i do reboot with 3G modem off (so flightmode but with WiFi on), i get 'cell standby' as big power consumer after few hours. But reboot with 3G on (but no mobile data enabled) and also WiFi connected, then goingto flightmode + WiFi does not show 'cell standby' in battery chart :-). I had many problems and reboots with first ICS {9.2.2.3}, hopefully now i can get long and controlled battery life and no empty battery beeps in middle of night.
[HTC Sensation] Da_Loony:
Hi peeps,

you might have seen that i only have about 10 posts, i used to be a "only in need to download a ROM user sometimes"

I've had several devices (iMate SP5, HTC Diamond, HTC Touch Pro 2 [Even to native android])without any problems... Until now... My Sensation...

As you might have seen my last post was regarding a Flash that seemed to have done something wrong and my device is in QHSUSB_DLOAD mode...

As i already surfed the web during almost a full day and night, i am just going to ask for it, cause i didn't found it on my own...

What's the plan?

As i am still able to use QPST, it offers me the possiblity to restore a QCN file...

problem is... i've found none on the internet...

I've seen a post here stating that someone could provide one, but was a bit afraid cause it has the EMEI etc right hardcoded in it...

I can promise this in return of getting a QCN file:

You get my official address + phone number (spare phone in use atm) prior to get in touch with eachother whenever you want (GMT+1 zone here, want to be able to still sleep a bit :p)

What will i try to do:

I am going to figure out, together with the person who provided me the QCN file, which info is from the phone itself that dumped the file, where can i retrieve that info (is it on the box, or do i need to take notes promptly to flashing before it bricks and so on...)

What will i offer afterwards:

Apart from a smile on my face cause my phone will work once again (still got 1.5 years of warranty, so if it fails, i still be able to send it to HTC support), this might be the sollution that is needed to get bricked phones back towards a heartbeat... If we have a success, we will make history in Android Phone Recovery! This might provide XDA with a tool to get even bricked phones back, towards a basic ROM or so... very small and fast to flash, so there is a way to get rid of bricked phones...

I will write a manual on how to do it, with credits to the peeps who've helped me out with info, files etc...

And prior to the manual, on a daily base a post here so you can all see what progress i am going trough...

Thanks in advance

Youry (this is my real name btw...)
[HTC Sensation] Da_Loony:
The programs & Drivers

This post is for the people who are already in the "bricked phone" mode: QHSUSB_DLOAD mode named

In attachment you can find the QPST program and the needed drivers.

Greetings
[HTC Sensation] Da_Loony:
This post is for those willing to help me out :)

First and for all, THANKS!!!

In attachment you can find every file i will be reffering to in the manual how to get the backup made.

HOW TO SETUP QPST FOR USE WITH YOUR PHONE (credits to fowenati)

disclaimer: I am not responsible for anything that happens to your phone.

Make sure your phone is plugged in, has debugging ON for the whole time of this manual.

1. Temp Root yourself using whichever method you prefer (This seems to work great for lots of people)

2. Get your MSL using MSL Reader from the Market (free) OR Call Sprint to get your MSL OR Get your MSL using CDMA Workshop (which I will not go into as It is a different subject and not as easy as the aforementioned) (Official market page of MSL Reader)

3. Get QPST and install it (found in attachment)

Put your phone in diagnostic mode by punching in *#*#3424#*#* in the dialer through out the whole rest tutorial, if it goes out of diag mode, just put it back into it by going to Dailer and punching in *#*#3424#*#*

4. Download HTC Diag Drivers Both 32and 64 are in the zip (found in attachment)

5. Install the QPST Drivers for your system (32bit or 64bit)

- A. Go into Device manager (from control panel)

- B. Find HTC Diag or HTC Diag Modem (along those lines)

- C. Right Click it and select update driver

- D. Select Browse computer for driver software

- E. Browse to the folder containing the drivers your downloaded in step 4 and then select the folder for your Windows version (32/64, if you don't know go to my computer and select properties)

- F. Click Next, it will install your drivers

6. Once your drivers are installed your device should be recognized and read as HTC Diagnostic Interface, followed by the port it is located on. Exmaple: COM5.

7. Open "QPST Configuration" by Start>All Proggrams>QPST>QPST Configuration

- A. Select "Add New Port"

- B. Input whatever port your phone is connected to (eg. "COM5" as mine was, without the quotes) in both the port, and label boxes.

- C.

DESELECT

The "Show Serial and USB/QC Diagnostic Ports only"

- D. Click OK

8. You should see the new added port and its state as ENABLED, if it is there, continue
[HTC Sensation] Da_Loony:
The phone is now ready to make the backup i need :)

HOW TO DUMP THE BACKUP

1. In the already opened QPST Configurator program you open the "Start Clients"-menu, and choose "SOFTWARE DOWNLOAD".

2. You will notice that it doesn't activate the correct port normally seen, so click the "Browse"-button in order to select the right port and press the "OK"-button.

3. Open the "Backup"-tab.

4. You will notice that the box of QCN File is empty, click the "Browse"-button, give the file a place and a name, in order to find it after it is done.

5. Press the "Start"-button

6. from here on you will contribute i guess, cause i am not in the possition to know what will happen...

Greetings
[HTC Sensation] Da_Loony:
*bump*

And reserve place for further postings
[HTC Sensation] pirlano:
thx for your work, also check TrevE's thread http://xdaforums.com/showthread.php?t=1188510

and also check http://psas.revskills.de/

Revskills can read/write phone partitions, but currently our CPU is not supported...
[HTC Sensation] dexter93:
Bump
[HTC Sensation] Da_Loony:
I've used the info of TrevE a bit in order to find the thread wich said how to get a HTC in DIAG MODE connected to QPST...

All we need now is a QCN Dump file... So if anyone would like to help us out? It might help you out when you ever have a situation which is now stated as a bricked phone!

I'm even thinking about buying a second phone in order to do it myself... (and to have a smartphone which works, sold my backup a month ago, so i'm back to a non-touch, non-smartphone atm...)
[HTC Sensation] pirlano:
are you sure it will work? sensation store files, data and partition in 3 chips, baseband chip, nand and emmc, i think QPST it's not enough... (or we need a newer QPST that support emmc phones too)

and actually revskills doesn't support "write" for our chipset :(

i think we should ask to guys working/near HTC, they can provide us leaked ROMs, with not recovery files?
[HTC Sensation] Da_Loony:
If everyone is just asking if it will work and never tests it... we'll never know, i am waiting for a dump file so we can try it...
[HTC Sensation] Da_Loony:
*Bump*

Anyone willing to help us out?
[HTC Sensation] dexter93:
So you just need a backup from a working phone?
[HTC Sensation] Da_Loony:
Yep that's what i need, a backup of a working phone, so i can see if it gets the phone back to life or not... afterwards if it worked, we can strip the file down to just hboot + CWM or so, so we can get it very fast done when this happens to a phone :)
[HTC Sensation] tartouka_912:
Hello Da_Loony,

i want to ask you if your idea worked out using the backup of a working phone? and if yes can you upload the backup please
[HTC Sensation] Semseddin:
Any news about the topic ? I need a QCN file for a bricked Sensation XE.
[HTC Sensation] Snake_skw:
nothing appears in device manager(im running windows 7 32-bit)

and i have to ask,is this completely safe procedure?

im willing to help you if it is :)
[HTC Sensation] RussianBear:
subscribed. i would suggest asking a mod to move this to either development or general sections, since q&a is not getting enough attention.

btw, which sensation do you have, op? xe or regular? would it even matter at that level? mike (the revolution cook) compared partition dumps from xe and reg sensation here: http://xdaforums.com/showthread.php?t=1412618
[HTC Sensation] dmcb123:
ill give this a go tonight if i can or if not ill do it on saturday :) its always good to know theres a way back from a brick. I would also try pm'ing someone like adamoutler to see if this might actually work :) just an idea

EDIT: can't get into diagnostic mode on my phone because im on a custom rom sorry guys
[HTC Sensation] RussianBear:
strange, how would that matter? what's the error you're getting?
[HTC Sensation] dmcb123:
Im on insertcoin 4.5.0 (ICS maybe thats the problem?) basically when i type in the code it just returns to the dialer???
[HTC Sensation] Snake_skw:
same here on hypersensev1,try rcmix ice,i think it works on that rom :)

Sent from my HTC Sensation
[HTC Sensation] trust-no-one:
Hey guys, I'm willing to help out with my XE, but first things first, what partitions exactly are included in the QCN file?

tno~~
[HTC Sensation] RussianBear:
all i know is, your imei # is stored in partitions 4,5, and 6. there is a partition layout in the development section, look it up. if there is a way to extract some info from the qcn, then you'd be able to modify the imei or whatever else you might be worried about.
[HTC Sensation] RussianBear:
i've been digging some more and it seems both qpst and qxdm are readily available for use with cdma devices. gsm is another story... haven't been able to find anything yet. the second post in this thread with the instructions is for cdma phones, not gsm...

edit: found this: http://xdaforums.com/showthread.php?t=1366771

secret commands to get into the diag mode to then be able to communicate with qpst.

edit 2: http://android-dls.com/wiki/index.p...d_Restore#Using_QPST_to_backup_mobile_setting and

http://xdaforums.com/showthread.php?t=1101166
[HTC Sensation] Fortune090:
Hey guys, lurking here from the Skyrocket forums and I've personally been making some progress on our end. Still nowhere near an unbrick through, unfortunately.

FIRST THING'S FIRST,

Google QPST 2.7 build 366. Included is an eMMC download tool. Not entirely sure how to work it, but all the tools that did fail on me when trying to access my phone now work, so I think this is the one they use for eMMC devices.

Also, for those wanting to get into diagnostic mode: go to the market and download Any Cut. Install, and on the homescreen, make a new shortcut. Shortcut>Any Cut>Activity, and look for PhoneUtil. Press okay on the name. Then open that shortcut up, and set USB to Modem, and it now should recognize. That's how it's worked for the Epic 4G, and also my Skyrocket.

I was able to extract my own .qcn file just fine, but I really don't think this is what we need. Really believing we need to get a proper boot and/or phone image to use with QPST Software Download before the phone can be up and running again.

I personally have a working Skyrocket, so there's not much I can do on that end, but I've been doing whatever I can to get whatever I can off of a working device, and I don't want to brick my phone on purpose if I didn't get everything we think we'll need first. Yeah, I can just warranty it, but that's just giving a bigger setback...

Anywho, hope my findings have helped. I'm gonna be digging away again tonight to see if I can figure anything else out.

Cheers.
[HTC Sensation] deInda:
unbrick

hello everyone,

i would help you.. I have now in my family one sensation z710e

and a sensation xe z715e which is working.

And a bricked one, this is same to z710e which is still working, I could help you and do on my own this qcn file method.

But very first do I need to go back to stock rom with a RUU and get a temp root before I can dump the file??? And is important to use the Sensation Z710e

and not the Sensation XE Z715e?

thanks
[HTC Sensation] RussianBear:
both phones should be almost identical, if not 100%. Since the regular sensation is a brick, might as well try it with the working xe. Yeah, you will need to be rooted to do all this. If you're rooted right now, i don't think you nee to go back to a stock ruu and temproot again. correct me if i'm wrong.

You can read Fortune's steps right here:

http://xdaforums.com/showthread.php?t=1485519&page=6
[HTC Sensation] deInda:
ok i tried and didn´t suceed...

i followed the method to dump the qcn files, but I met the same problem like Snake

and to read my msl code with the msl reader from the market doesn´t work because my Sensation Z710e isn´t a CDMA supported one. It works with GSM.

Btw the bricked one must have the same technical issues like the one i used to

dump the qcn files

@RussianBearand and additionally i tried

but with the anycut I didn´t find a shortcut to phoneUtil :(

is this only for samsung devices???

ah..for information I used a Sensation with a custom ROM: ENERGY with 3.5 Sense

pls help what I should try next :)
[HTC Sensation] RussianBear:
from this thread: http://xdaforums.com/showthread.php?t=1060184

i went to check out sys folder and we also have a diag mode we can enable/disable with a similar command like this one:

haven't tried it myself, but it should work and the phone should get into the diag mode.

---------- Post added at 04:24 PM ---------- Previous post was at 04:02 PM ----------

UPDATE!!

well, nothing too major, but we can now communicate with qpst!

ok, what you do is:

1. go to the market

2. dl gscript lite

3. dl this file: http://xdaforums.com/attachment.php?attachmentid=700789&d=1314335333

4. save the gscript folder that is located in the sdcard folder on the root of your sd card

5. open gscript

6. add script - diag_on (with su permissions)

7. add script - diag_off (with su permissions)

8. run the on script and hook up your phone to the pc

9. your pc should find a htc diag device

10. install the drivers (both 32 and 64). http://dl.dropbox.com/u/15396645/DiagDrivers/HTC Diag Drivers.zip

when installing choose browse-let me pick-all devices-have disk-the folder where you saved the drivers.

i highly suggest downloading this version of qpst: http://conflipper.com/Software/QPST_2.7_366.rar and reading the built-in user guide.

once you install qpst, go to qpst configuration. there you will need to find your phone's port. i did it by going to my comp (right click)-device manager-modems-htc usb modem (right click)-properties-advanced-advanced port setting-look at the bottom for your com port # (mine was 10)

now go back to the qpst config and click add new port-type in COM10 (or whatever you saw in the previous tab) and hit ok! you should be able to see your phone now.
[HTC Sensation] deInda:
thanks.. it worked with the gscript lite app.

I used the COM Port, which was listed for HTC Diag Device.

So I was able to dump the qcn file from my phone, but I don´t know what to do with it..

and very sorry I don´t understand what the file contain -.-
[HTC Sensation] RussianBear:
lol i will need to read the user guide that came with the new version.

i highly suggest downloading this version of qpst: http://conflipper.com/Software/QPST_2.7_366.rar

it also has a built-in user guide i suggest anyone attempting this to read.
[HTC Sensation] RussianBear:
some links about download mode on evo 3d, since i've read they ar quite similar.

http://www.xda-developers.com/android/work-in-progress-access-to-download-mode-on-evo-3d/

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

---------- Post added at 12:34 PM ---------- Previous post was at 12:09 PM ----------

seems like we also have the 2-port looking thing right underneath the sd card when you take the outer case off. it's next to one of the torx screws to the side.

i wonder, if we were to make a mmc back up like this:

http://xdaforums.com/showpost.php?p=16043537&postcount=2

would it be possible to flash it onto a bricked phone via qpst?

^^ i guess not: http://xdaforums.com/showpost.php?p=16171089&postcount=292

---------- Post added at 12:56 PM ---------- Previous post was at 12:34 PM ----------

the evo download mode thread is very interesting.

found this:

http://xdaforums.com/showpost.php?p=16850335&postcount=353

to access the dl mode on evo you need to do this:

i think the 2-hole pins we have that i've described above are the same ones on evo. any takers? lol i'm at work.
[HTC Sensation] tartouka_912:
ok am on rooted stock when i plug my bricked sensation xe to QPST try to backup it says your phone is on download mode it should be on diagnose mode
[HTC Sensation] RussianBear:
the bricked one is already in the download mode. the diag mode applies only to non-bricked phones. see if you can do the wire trick on the non-bricked phone, that would help a lot!
[HTC Sensation] dexter93:
A small bump. im about to flash a ruu and give this a try....
[HTC Sensation] Snake_skw:
tried this on hypernonsensev7 and im getting the same result as you russianbear...

Sent from my HTC Sensation Z710e
[HTC Sensation] dexter93:
its not about the rom. check this http://xdaforums.com/showpost.php?p=16117652&postcount=242

trevE says that the way we try it gives reboots. we need to supply power on that, not just connect it... seems like this http://www.geeetech.com/usb20-to-rs232-ttl-4pcs-cable-p-158.html is our only choice
[HTC Sensation] Snake_skw:
hm...i should get my ttl converter soon and try treve's guide

Sent from my HTC Sensation Z710e
[HTC Sensation] RussianBear:
guys, i was going off this post: http://xdaforums.com/showpost.php?p=16850335&postcount=353

i've pm'ed that member again, so we'll see, but if anyone can access that board before then, share your results with us, please. how many volts does that board supply? since it's plugged into the usb port, i'd venture to say whatever the port puts out? that board does little in terms of communication, it just supplies enough voltage to trigger the phone into the dl mode, the rest is done via usb cable. that's my understanding.

p.s. does anyone think we should make a thread in the dev section to get more exposure?

cheap ebay boards (all from china): http://www.ebay.com/sch/i.html?_nkw=usb2.0+to+rs232+ttl&rt=nc&LH_BIN=1&_trksid=p3286.c0.m301

$20 one from canada: http://www.ecrater.com/p/1750401/usb-to-18-5v-ttl-serial-uart#