yashsingh1/xdaforums huggingface dataset:
[T-Mobile myTouch 4G Slide] Blue6IX:
Template: flashable zip update

Return to Contents Page - doubleshot Developers Reference

Not sure, I use notepad++ in windows and while my preference is ever for the lightest weight program notepad++ is too awesome to not use, it's the only editor of that type you need on windows pretty much.

If the regular windows notepad could do this stuff without destroying the files i'd use that instead, so i've never checked into anything that was like that in notepad++.

I taught myself html in a notebook with a pen way back when, and the advantages of writing the code down and typing it in beyond the memory exercise itself is not having to jog back and forth between another document on your screen(s) and keeping the actual machine in use more clutter free.

(that said - syntax highlighting and end-user formatting to code in editors is so nice...)

Besides, if the internet dies tomorrow your physical notebook that takes nothing more then opening up and looking at will still work. Then again, i'm anal about backups.

In linux I just use gedit.

----

Flashable Zip Template:

unsigned template zip download:

doubleshot_unsigned_flashable-update_template.zip

Download Link

MD5: 7591ff4996f84a394c46ae375c254a4c

Size: 125.64 KB

Edit before flashing.

signed template zip download:

doubleshot_signed_flashable-update_template.zip

Download Link

MD5: afc51c4bf34dcdd76d1d62061fa3ee5b

Size: 124.25 KB

Edit before flashing.

Zip Contains:

- Empty data folder.

- Empty system folder.

- Empty sdcard folder.

- META-INF folder set up, with the correct update-binary and a template updater-script file.

updater-script template:

- wipe cache

- wipe dalvik cache

- wipe data

- wipe system

- wipe sdcard

- extract whatever ends up in the system, data, sdcard folders.

- clean up

Pastebin of updater-script.​

Edit before using, otherwise you will erase everything on the device...

...just delete what you don't want and go from there. I got tired of typing the same stuff in all the time so here ya go.

Compatible with all versions of CWM to date (April 2012) - CWM 4xx Recovery versions don't support format correctly and is why it's not here.

Current CWM is 5xx​

Need to sign it? On windows This one is great.

Want to fill those empty folders? Start with system and this thread:

doubleshot de-odexed system images
[T-Mobile myTouch 4G Slide] male6363@hotmail.com:
Is there anybody know this? Or is there anybody know where to ask this question?

in .zip file (for CWM) there is an updater-script file...

I want to delete some files but i dont want to write the exact names of the files... Is there any way to delete some thing like x*.* or t*.apk or talk*.* etc...

for example if i want to delete all the files which starts with "a" letter... How can i do this?

I know

delete("...");

delete_recursive("...");

commands... But i couldn't find out if there is any way to do this?

Thank you for your answers...
[T-Mobile myTouch 4G Slide] h311sdr0id:
Thank you for taking the time to write this. I had some questions regarding editing updater-scripts (for a different device) and this helped me out a lot.

-h311s|DR0ID

.
[T-Mobile myTouch 4G Slide] seanpr123:
Quick question, for a delete command can you use a wildcard?

Like this:

delete("/system/app/SamsungHub.*");

I only ask because some roms have .apk and some are .odex (for example). Looking to make one script work for any stock rom on my phone.

Also, according to my TWRP log I'm able to mount /system but /data threw an error:

mount: failed to mount /dev/block/mmcblk0p29 at /data: Device or resource busy

Looks right in the partition area:

Symlink_Path: /data/media/0

Symlink_Mount_Point: /sdcard

Primary_Block_Device: /dev/block/mmcblk0p29

Any thoughts why?
[T-Mobile myTouch 4G Slide] demkantor:
I don't know if there is an option for wild card, never tried. But it can't hurt just to throw in a remove line for both options, simple fix

Being you have an emulated SD, when flashing something from data I believe data partition is mounted by default and that's why it says busy. My best guess is you don't need to add the mount data command
[Eee Pad Transformer Themes and Apps] ThaDSman:
I've been trying for months to get this setup to run smoothly (I prolly put too much money into it anyway lol), hopefully somebody here can help me out.

I am trying to stream from my home PC Wii Dolphin Emulator, using Splashtop remote as the streamer. When this is done locally its of course smooth,it still has that millisecond delay in between the pc and tablet but you can only notice it if your looking at the pc monitor, so that shouldn't matter.

PC side

Latest Splashtop Streamer 1.5.5.4, on Windows 7 Ultimate

4GB DDR2 Ram, ATI 5570 1GB Ram Video Card, Phenom Black X4 965 3.8ghz

So I know its good enough to do heavy emulation with no problem

100MBps down and 5MBps upload with 10ms ping time

Tablet side:

TF101 with dock and wireless Xbox 360 controller

Revolver 3.2, stock 3.2 kernel

Running latest Splashtop HD app, and built in rebranded ASUS splashtop app.

Tethered to CM7 HTC EVO: 6MBps down and 1.07 up 122ms ping time

And work network gives 5.47Mbps down and .65 up 27ms ping time

(both give about the same results)

I have done everything I can think of, port forwarding,dmz mode, removed router all together, killed every program that didn't have to run, disabled antivirus.

But something tells me I'm missing something obvious. If I can get this running smoothly I'll make a video of how to set it up over the net, so more people can start doing it.

Some guy made a video yesterday, but I'm pretty sure it was local seeing as how he didn't even have the 360 controller connected to his tablet, he must have been in the same room as his pc, kinda defeating the purpose.

Anyways, I would love to hear any suggestions on how I can improve the streaming. Different client/app, different OS, anything.
[Eee Pad Transformer Themes and Apps] earlyberd:
The problem is not due to any configuration issues in your setup. The problem is that you're trying to pipe sound, video, input, and output through wifi. You're never going to get a smooth experience as if you were playing locally on the tablet because, on top of the latency of wifi, there is a ton of added overhead from Splashtop having to encode four different data streams down into one, and then having to decode it again once it gets to your tablet.

Not even big name business applications from Citrix and VMware offer the ability to reliably stream games over a network. The best performance ever achieved through a streaming solution for high-end gaming is OnLive, where they have massive data centers dedicated to the task, and even on Verizon FiOS you'll average around 150ms+ for latency. Smooth gameplay on Splashtop is not going to happen over wifi, or even direct connect.
[Eee Pad Transformer Themes and Apps] ThaDSman:
... well thats not cool. What if i were to have everything wired? Would that help any? And use an ethernet cable for the tablet? Or is that what you meant by direct connected?maybe faster network cards or routers?
[Eee Pad Transformer Themes and Apps] earlyberd:
When I say direct connect, I mean ethernet cables. To put it simply, there simply does not exist a cheap solution for playing games remotely between two computers, especially when you consider the amount of bandwidth required to drive the input and output locally on a PC. For just the monitor alone, DVI has a base signal bandwidth of 3.96 Gbit/s, which is essentially four times as fast as standard Category 5e cables. Furthermore, the Transformer will only support a maximum of 100 Mbit/s through USB to ethernet adapters, so you can only operate at about 2.5% of the signal bandwidth required for just the monitor of a gaming machine.

To achieve a smooth 60fps remotely between two computers, you need at least a 10 Gbit connection, which is currently only available for servers. Even then, a 10 Gbit PCI card costs at least $400, and a 10-foot cable to match will run about $100. It's just not feasible on the Transformer.
[Eee Pad Transformer Themes and Apps] ThaDSman:
Thanks for the explanation, I've wasted months trying to get this going, its nice to know why it didn't work too well.
[Eee Pad Transformer Themes and Apps] player911:
Why don't you start small. Start with no audio or inputs on the transformer side. Pair the controller to the PC directly with sound disabled. Just stream the graphics. Lower the resolution (if you can) and try to pipe it over.

You said you were doing Ad-Hoc Wireless? Ad-Hoc has a shorter range vs a Router. Plus various Wireless Signals (B,G,N) have different speeds at different distances. B has 11mpbs if you are within range. G and N will give you faster speeds the closer you are away, but will also trickle down to nothing. B also has a farther range. So B is my personal choice. Better Range and solid 11mbps.

Try using a router and setting it for 102.11b. Pick a good unused channel (no interference). Select a low resolution and only stream the Video. Also try lowering your colors down to 16-bit (not 16 colors) or 256-colors.

The goal is to get get a good solid base where streaming video is flawless. Then slowly add in stuff.
[Eee Pad Transformer Themes and Apps] obiwan22:
my friend, I have been doing this for many years now

5 years ago I made a video called wii on psp

http://www.engadget.com/2007/03/17/kid-takes-psp-and-makes-it-play-wii/

http://gamevideos.1up.com/video/id/10012

1.5 years ago I made this video:

wii on ipod touch:

http://www.engadget.com/2010/05/26/modder-transmits-wii-games-to-ipod-touch-which-isnt-really-as/

http://www.youtube.com/watch?v=7tjqt6UcVfk

9 months ago I made this video:

playing wii on psp:

http://www.engadget.com/2011/01/17/lag-free-wii-on-psp-episode-ii-mario-kart-strikes-back/

http://www.youtube.com/watch?v=1Q1b1iNgl8M

and now this video

wii on android:

http://www.engadget.com/2011/09/19/play-wii-games-on-your-android-tablet-via-network-streaming-vid/

http://www.youtube.com/watch?v=l3lqHN_lsQk

I know everything you need to know and more to get a proper setup going on. I think alot of it has to do with wifi speed, however it is not the case most times. For example, my wii on psp video(9months ago),the lag was far less than the android and the ipod touch.

AND FYI, my xbox controller was connected to my transformer through the wireless dongle(not shown in video) and I mapped the controls to the emulator on my computer.

If you really wanted to, we could do a combined effort to get this lag free, however I think it is justified to say that I've been doing an great job to get it working better, year after year.

Thanks
[Eee Pad Transformer Themes and Apps] ThaDSman:
Well, what I'm trying to do is not locally, it works smoothly locally. I'm trying to get it to work over the internet. I want to get it to run from where I am as long as I have a decent connection. So I already took my router out the picture, I plugged it directly to the modem, So I'm streaming like that now. And for my EVO I'm tethering to and my other test Access points, Im using Infrastructure modes not Ad-hoc.

And like you said Im going to start trying 1024*768 now to see if its smoother and im decreasing my colors from 32bit to 16bit.

but how do you disable audio?

My bad, I didn't mean to make it sound like I was dissing you, I know who you are, and that you did all those PSP videos years ago, it was the reason I bought a PSP and got into its homebrew scene, (I also tried contacting the developer who wrote the homebrew program you used to do a port to android or Windows Mobile before we got splashtop, but got no reply)

What did you use to load up the 360 receiver drivers on the transformer usb/bt joy?

And what rom and kernel combo are you using on the TF?

Getting it lag free would be awesome, even if we have to lower the quality considerably.

But understand I'm trying to get this to work over the internet, not locally or connected to the same network the pc is on. I want to be able to be at work or a friends house and still have this work.
[Eee Pad Transformer Themes and Apps] earlyberd:
It should be noted, too, that in addition to having massive data centers with ridiculously fast connections, OnLive has its own unique, high compression algorithm for encoding the data streams to allow for a better framerate over comparably slower home internet connections. Splashtop's compression, by comparison, is fairly minimal because it instead assumes that the client and server computers are connected to the same local network, and compensates for poor connection quality by buffering the data stream before outputting it. Obviously Splashtop's solution works beautifully for video because a 1 second delay has no effect on whether a video will play properly, but it's unacceptable for gaming.

Perhaps a better solution would be to make a request to the Splashtop developers, asking for a specialized gaming mode which compresses the stream to sacrifice some of the video quality for an improved response time. Aside from that, you could always just sign up for OnLive.
[Eee Pad Transformer Themes and Apps] ThaDSman:
Ya, Onlive is pretty fresh, but the problem is there's no way to play it on android because all they have right now is a viewer for IOS and Android (whatever happened to that running in any browser idea?). Unless we use Splashtop or CrazyRemote Pro. Hopefully it'll be fast enough to do this too.

BTW I went and bought CrazyRemote Pro that $20 app (my pockets hurt) and it looks like it gives a smoother experience its considerably better than Splashtop, It lets you choose fps priority or a work mode were the video is sharper.

Maybe somebody else can try it out and see what kind of results they get?
[Eee Pad Transformer Themes and Apps] player911:
Yea I can't see this happening over the internet. Most public wireless networks are designed to stop this sort of bandwidth hogging.

As long as you can stream it from the PC to the tablet reliably, I'd say this is a Win.
[Eee Pad Transformer Themes and Apps] milindsmart:
Wow.

That's great. What software are you using for this? I have been thinking about writing an application for this. Windows to Windows (to keep it simple), 60 fps, FullHD, 32 bit colour, 1Gbps Ethernet.

Is this possible? The bandwidth required is about 4.4Gbps for uncompressed video, but is it not possible to use frame by frame lossless compression to reduce size by a mere factor of 5-8? If not, can I not use real time encoding using some relatively light codec? If all else fails, colour depth could also be reduced. Worst case, 30fps? C'mon that can't be hard.

Why does a high performance remote desktop not exist already? :(

Excitedly awaiting your response
[T-Mobile LG G2x] jblah:
Hey guys,

i had a quick question in regards to charging the g2x internationally. Can I still utilize the USB charger from a computer elsewhere in the world (I'm from the US). I know there is a current difference from wallsockets but does this also effect USB ports on computers/laptops or is it all the same? Thanks.
[T-Mobile LG G2x] jboxer:
All USB ports on all computers worldwide output 5 volts at 0.5A unless they are broken or malfunctioning. That's the standard. Also, most wall chargers now are world voltage, meaning they can accept 100V to 240V and adjust themselves and still output the same regardless of the input voltage. Check your ac adapter and it will say what input voltages it can accept.
[T-Mobile LG G2x] FatalityBoyZahy:
+1

Even though it'll charge pretty slow
[T-Mobile LG G2x] aplsux:
Think about it!!! If different USB ports gave different voltage, wouldn't USB stick be sold for areas as well? Wouldn't USB mice and keyboards be sold for different ares?

FYI, a normal laptop adapter accepts 110~240V with 50/60Hz input, outputs something close to 20V into your laptop, which is then transformed to 5V from USBs.
[HD2 Android Q&A, Help & Troubleshooting and Genera] fanwater:
Some stubborn issues with all the SD android builds with sense I’ve tried

1) Random reboot

–especially during driving

2) Dial pad slow

–so unresponsive that I sometimes missed a call or redialed an unwanted number from my call log

3) Phone app black screen on incoming calls and during calls

- device almost unable to wake up from standby

4) Message app black screen

– again take long time to wake up from black screen upon receiving new sms/whatpapps messages

5) Airplane mode and 3G – phones mostly takes around 20s or more to complete and close to a min to stabilize

With airplane mode on, the phone is almost perfect. Hope experts here can address all the above issues

Thanks
[HD2 Android Q&A, Help & Troubleshooting and Genera] huggs:
Sounds like you have a crappy sd card, slowing down Android. I would try formatting it, or getting a new one. You could stick to vanilla builds, if Sense isn't that important to you, or if it is, you could flash a Sense rom to nand. Other than those few things, there's not a whole lot else ou can do. Sense is a resource hog, it takes more to run a Sense build, thats just the way it is unfortunately.
[HD2 Android Q&A, Help & Troubleshooting and Genera] fanwater:
I've tried 2 different sd card both also Kingston 16GB class4 and full formatted with SD Formatter but no luck i.e. still the same problems. So it might not be a crappy sd card.

Any sd card recommendation? Brand/Size/Class?
[EVO 4G Q&A, Help & Troubleshooting] J_apa_n:
how would i know if ive corrupted my Evo with a bad flash, & if so how the heck do i fix it?
[EVO 4G Q&A, Help & Troubleshooting] sitlet:
if it wont boot, then u have a bad flash

re-wipe and re-flash
[EVO 4G Q&A, Help & Troubleshooting] J_apa_n:
trust me bro i tried that A few hundred times.

i fixed it now.

re installed RA 2.3 got into recovery again, then everything eles is here:

http://xdaforums.com/showthread.php?t=1265585
[Android Q&A, Help & Troubleshooting] c8503:
Just went from OG Droid -> bionic and blur is killing me. Where can I find gingerbread "stock" basic apps like gallery, alarm clock etc. or should I just try loading my froyo ones from my old system?
[General Questions and Answers] Kurisuellegarden:
My voicemail doesn't work :( I don't know why it doesn't, is there a QPST setting related to that? o_O

and also my default ringtone will not work period. My messaging and notification sounds work all fine and zedge set my default ringtone just fine. I tried a call yourself app and it does a fake calling myself and it uses the default ringtone I set so it must be the phone.apk right? What would be causing such a weird issue?

Any help would be much appreciated!
[Android Apps and Games] thiagolr:
DOWNLOAD:

https://market.android.com/details?id=com.wiirecords.minesweeper3d

Minesweeper is a classic game and this 3D version takes Minesweeper to the next level. The goal is the same, uncover all fields that don't have any mines, but paying attention on all possible directions!

FEATURES:

* 10 boards

* 3 difficulties

* 30 awards

* 4 hidden awards

* global highscores

* challenges

* tablet support

BOARDS:

* Box

* Pyramid

* Almost 2D

* Half Box

* Cross

* Peaks

* Drill Box

* Holes

* Stairs

* Diamond

DIFFICULTIES:

* Easy (8.1 fields/mine)

* Medium (6.4 fields/mine)

* Hard (4.8 fields/mine)

HIGHSCORES:

* Global Ranking

* Friends Ranking

* 24 Hour Ranking

PERMISSIONS:

* READ_PHONE_STATE - this permission is required by scoreloop, all games using scoreloop request this permission (for example: Cut The Rope)

Tags: minesweeper, mines, mine, bomb, 3D

Keywords: minesweeper, mines, mine, bomb, 3D
[Android Apps and Games] dancer_69:
I just tried and it's quite unplayable. I suppose that when touch a square will open but in the most of the cases it's just glows. Did I miss something?

My device is ideos X5
[Android Apps and Games] thiagolr:
Try to touch and not move your finger. If it detects that you are moving (i.e. trying to rotate) it will not open the field.

I will try to improve it on the next version!
[Android Apps and Games] dancer_69:
I suspected that. It's still too hard to touch and not move. Maybe is to sensitive, or my touchscreen have problem with this.
[Android Apps and Games] thiagolr:
I think this differs between phones...

I will update the app tonight!
[Android Apps and Games] thiagolr:
Hi,

The new version (3.0.5) updated yesterday has the following changes:

* touch sensitivity improved

* flag mode now allows to clear surrounding fields

* heyzap added

Please let me know if it is better now!

Thanks!
[Android Apps and Games] thiagolr:
dancer_69,

is it better now?

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

the new version updated yesterday has now tablet support! =D
[Android Apps and Games] JakeWharton:
Quite polished already. Very fun to play. I have two suggestions right off of the bat:

Enable long-press to toggle the flag on a square.

Space menu items more appropriately. The difficulty menu is perfect but the end-game popup and main menu have their hit targets too close together.

Keep up the good work.
[Android Apps and Games] wes_s:
Love this on the xoom
[Android Apps and Games] thiagolr:
JakeWharton,

1) you can also press any key (other than home/back) to enable flags, this is the fastest way

2) are you on a phone or tablet? which one?

wesscoggin,

nice! =)
[Android Apps and Games] thiagolr:
I received a few feedbacks about the Heyzap ad notification on the status bar. I will remove it on the next update! Please be patient! =)
[Android Apps and Games] d88888b:
Please!. Love minesweeper but notification bar ads...hmmm..instant uninstall. looking forward to the update
[Android Apps and Games] JakeWharton:
Phone. Nexus One. I haven't had a chance to play it on my XOOM yet.

And the keypress thing is perfect. Thanks.
[Android Apps and Games] adirtr:
thanks :-)

thanks man!!!
[Android Apps and Games] thiagolr:
I removed Heyzap... the notification bar ads will not appear anymore!

Thanks for the feedback!

Too bad there are people who left a 1 star rating and uninstalled the app... I hope the ones who kept it rate the app again! =)

Thanks!
[Android Apps and Games] Aristostasdad:
I have installed this. not bad
[Android Apps and Games] thiagolr:
I'm bumping this thread to let you know that a new version is out, with improved graphics! Take a look at the screenshots on the first post! Thanks!

https://play.google.com/store/apps/details?id=com.wiirecords.minesweeper3d
[T-Mobile Sidekick 4G] ramjet73:
Does anyone know of a way to provide a shortcut for direct access to the SK4G hotspot setup? There doesn't appear to be a shortcut available in the jump key configuration, and I haven't been able to find an app that does it. I would like to make it easier for my gf to turn the hotspot on/off so she's more comfortable getting rid of her CLEAR USB adapter. I really can't recommend that she leave it on all the time due to the battery comsumption by that feature.

ramjet73
[T-Mobile Sidekick 4G] sduvick:
Not sure what launcher she uses, but you could do this in Launcher Pro with:

Create>Shortcut>Activites>Settings>Settings (com.android.settings.wifi.WifiApSettings), that'll give a shortcut to the settings screen for the Mobile AP
[T-Mobile Sidekick 4G] ramjet73:
Thanks for that, but I'm trying to keep it simple and not make too many changes to her phone. Does anyone know a way to do it with the stock SK4G configuration? One of the strengths of this device is that it does so much without rooting and adding a lot of apps.

ramjet73
[T-Mobile Sidekick 4G] yogi2010:
have you tried downloading Hotspot Widget from the market? you can place it on one of her homescreens and turn Mobile AP on and off that way, it's about as simple as it gets, just one on/off button :)
[T-Mobile Sidekick 4G] ramjet73:
Exactly what I was looking for. Thanks a lot!

ramjet73
[T-Mobile LG G2x] tsx2004:
What is the best G2X rom so far with good battery life? Do i need to flash another kernal to get better battery life? New here. Thanks.

I tried the weapon g2x, but didn't think the TW launcher forcing stock dialer as the only option. Other than that, it's good rom with the notification toggle.
[T-Mobile LG G2x] MisfitX:
Is good battery life all you are really looking for in a rom?

if so you could try a stock or tweaked stock rom and a oc uv kernel