yashsingh1/xdaforums huggingface dataset:
[HTC Droid DNA] matteebee:
Until I'm told otherwise...https://docs.google.com/file/d/0BxjfrYR3WaTrRGRwZWhIejVFZEU/edit?usp=docslist_api

---------- Post added at 10:49 PM ---------- Previous post was at 10:22 PM ----------

No you should not, breaks more than it fixes. I lost access from preview to gallery after flash on santods senseven.
[HTC Droid DNA] readySetAwesome:
bummer...

Didn't work :( but I have only tried it with the NuSenseVen 1.00 ROM so far.
[One (M9) Android Development] :
Delete
[One (M9) Android Development] sun_dream:
Thank you very much for sharing
[One (M9) Android Development] artur0588:
Thanks for sharing. But I can not see any system img files via 7zip without previously repaired. May I use repaired system img files?
[One (M9) Android Development] :
You must be doing something wrong. I've tried WWE and Orange PL and both extract without repairing.

View attachment 3226483
[One (M9) Android Development] nenebear:
Thanks for sharing. :) :)
[One (M9) Android Development] bl4ckluna:
thank u!:)
[One (M9) Android Development] k1moe:
Thanx mate :) later that day ill extraxt System dump an share it with you guys.
[One (M9) Android Development] Sneakyghost:
Thanks for the DiskInternals thingy :D

Since i never needed to extract a System.img I never looked for a method but I will remember this. Seems fairly straightforward.

And thanks for the creds. ;)
[One (M9) Android Development] DroidShift79:
I will try this one.

Btw, i made a backup with twrp. Ia there any way to get the backed up system.emmc.win file extracted? Renaming it to .tar doesn't work.

What I try to achive is an extracted ROM so I can deodex the apks
[One (M9) Android Development] LeeDroid:
add .tar to the end of each image and under Linux or cygwin use tar -xvf xxxx.tar
[One (M9) Android Development] DroidShift79:
Hmm... Hoped there's anything for win 8.1

...setting up cygwin

Edit: [MENTION=398245]LeeDroid[/MENTION]

Nothing happens when doing the command in the cygwin window...
[One (M9) Android Development] clsA:
Worked like a charm

I did have to edit the ConvertHima.bat and remove the line

set wf=%cd%\

for it to work

but everything else was spot on .. thanks!!

Anyone need the 0PJAIMG_HIMA_UL_L50_SENSE70_ATT_NA_Gen_Unlock_1.32.617.6_R2_Radio_01.01_U11440221_59.04.50303G_2_F_release_426167_signed.zip

System.img or Dump ;)
[One (M9) Android Development] jbfountain:
Worked great I think. I did get an error, and I received this error 4 times for sparse.img, 2,4,6,8. Here is the error: - "1 [main] sparse2img 7912 find_fast_cwd:". It also says "WARNING Couldn't compute FAST_CWD pointer. Please report this problem to the public mailing list cygwin@cygwin.com". I wrote cygwin, and got a reply from a Marco stating, "Dear Hal, Same answer as given last month to another guy". Then gave me this link https://cygwin.com/ml/cygwin/2015-05/msg00318.html. Followed by, "Please report the solution to whom provided the ConvertHima.bat". The answer in the link basically says a utility called rsync is being used, and the person who provided it is bundling it with an old version of the cygwin kernel. I did however get a new system_hima.img, and I started ConvertHima.bat. After completion I have what appears to be a complete system image. It's 3.53Gb in size, and has the folders - app, bin customize, etc, fonts, framework, lib, lib64, lost+found, media, priv-app, tts, usr, vendor, xbin, and has the file build.prop. It appears to have all the Deodexed APK's in app and priv-app. This is from the T-Mobile RUU. I'm using Window 8.1. :confused:
[One (M9) Android Development] xunus:
I'm trying to create a system dump (1.40.708.9)but was stuck at step 2. Where can I download my ROM.zip?
[One (M9) Android Development] flex360:
i think you misunderstand what this is for
[One (M9) Android Development] xunus:
That could be true. Seems like this is to extract M9's rom from an RUU and not from the phone itself.:(
[One (M9) Android Development] htsang08dqt:
Can you send me the file system.img_01 ?
[One (M9) Android Development] minhnewpro:
https://xdaforums.com/one-a9/development/decrypt-ruu-ruu-decryption-script-htc-t3282562
[One (M9) Android Development] devsk:
Is there a Linux version of the sparse2img.exe? I am in need of this because I don't have the system.img but I have the system.img_xx chunks from the RUU ZIP.
[One (M9) Android Development] skeleton1911:
thanks :)
[One (M9) Android Development] joni2012:
Thanks
[One (M9) Android Development] Jonny:
Any chance you could upload the boot.img as well? Cheers.
[One (M9) Android Development] :
[MENTION=4184142]Jonny[/MENTION], boot.img added.
[One (M9) Android Development] saj2001ind:
can we extract blinkfeed sense 7 related apks and install in other HTC devices like HTC desire Eye on top of existing sense 6 apps ?
[One (M9) Android Development] munchy_cool:
http://xdaforums.com/android/apps-games/htc-blinkfeed-plugins-devices-08-03-2015-t3049438
[One (M9) Android Development] HolyAngel:
Thanks for this!

Is there anyway we can get a full system.img dd'd off the phone itself?
[One (M9) Android Development] :
[MENTION=1211160]HolyAngel[/MENTION] - I don't own the device. You can extract and mount the system.img in linux if that's any help.
[One (M9) Android Development] HolyAngel:
Ah, bummer. I don't own it yet either since they still haven't opened up ordering in the US.. Trying to get a headstart :silly:

Will see what I can find
[One (M9) Android Development] papi92:
https://www.androidfilehost.com/?fid=95916177934546465 here's T-Mobile M9 dump
[One (M9) Android Development] epsix:
Hello can you upload adsp.img and boot.img for T-Mobile?

Thank you
[One (M9) Android Development] SFCMouco:
Good morning to you all... is it possible to get a deodexed system dump from this rom?

Thanks in advance!
[One (M9) Android Development] LeeDroid:
This is the base prior to heat and camera issues being patched, I will be providing a stock rooted deodexed .15 at some point this week

Edit: Mike posted ARHD which will be pretty much a stock rooted deodex build
[One (M9) Android Development] nabzilla1990:
does international have multi user support?
[One (M9) Android Development] kodiakice:
can you go back to stock with this if you didn't do a backup?? I want to return my phone and don't have a backup IF not is there anyway to after flashing a custom rom? I would offer a PP donations to anyone with a backup and a description of how to return to stock.
[One (M9) Android Development] mibikin:
EDIT: just realized this really isn't the thread for my question... Removed
[One (M9) Android Development] SoLdieR9312:
First get us a fastboot getvar all without Serial and IMEI.

Or tell us your CID and OS version.

Do you have a international device?
[One (M9) Android Development] freelockuk:
hi all

is this the same as twrp backup of the system option.
[One (M9) Android Development] :
No.
[One (M9) Android Development] jureca:
Have backups 1.32.401.15?,o if someone has to share thanks!
[One (M9) Android Development] SoLdieR9312:
Download 1.32.401.15 RUU and flash...
[One (M9) Android Development] jureca:
I'm from vodafone and I need S-OFF, I want to stock EU
[One (M9) Android Development] SoLdieR9312:
Flash Stock Vodafone RUU mate, won't make any sense without S-OFF to flash WWE ROM,

and i think there is no difference, only Provider apps maybe.
[One (M9) Android Development] roryh86:
Hi, very new to HTC, coming from a Note 4 to an M9 (and loving it). Sorry if my questions are very newb. I bought my phone from MobilePhonesDirectUK and it came with Vodafone apps pre-installed so I'm guessing its not the unlocked European version.

Questions:

Do the branded versions receive updates slower than the unbranded global/European version?

Is it possible to convert my phone into a European stock version by flashing it?

Will I receive OTA updates normally?

I appreciate any help. Regards.
[One (M9) Android Development] SoLdieR9312:
Do the branded versions receive updates slower than the unbranded global/European version?

-Yes, most of the time slower then unlocked.

Is it possible to convert my phone into a European stock version by flashing it?

- Sure, wait for S-OFF and convert to unlocked wwe ;)

Will I receive OTA updates normally?

-If you use a stock wwe firmware + rom, yes.
[One (M9) Android Development] roryh86:
Thanks for the quick reply [MENTION=4860093]SoLdieR9312[/MENTION]. Iv'e been reading around lots, and it seems way more complicated than how I used to flash things on Samsung! I appreciate your answers but still a bit confused. :confused:

- You're saying if I want to convert my Vodafone build (CID is: VODAP001) to a factory unlocked UK unbranded M9 (as if I ordered it from HTC UK website), this isn't possible at the moment?

- Is the 1.32.401.8 Europe build the same as the build that ships with HTC UK unbranded/unlocked?

- What do you mean by wwe firmware.. :rolleyes:

I'm continuing to read around, and hopefully will start to understand it more. Thanks for the help.
[One (M9) Android Development] SoLdieR9312:
Yeah, if you do not gain soff yet, its not working for you now.

Wwe firmware is world wide english, unlocked and non branded, mostly .401 for Europe, Middle East and Asia(709)

Uk is the same as 401
[One (M9) Android Development] roryh86:
Thanks for clearing it up for me I appreciate it :good:
[P3600 General] mafro:
Hi all, Ive read a few posts concerning this on the forum but none seem to quite cover the problem in the detail I seem to need.. After I get this working ill write a complete guide for the forum!

So, here's how far Ive got.

1) Paired my phone to my Mac via bluetooth.

NB: When using the Bluetooth Setup Assistant, the Trinity doesnt correctly identify itself as a Mobile Phone in the pairing process. This means you don't see the option to "Access the Internet with your phone's data connection". View the tutorial on this page for this missing step!

http://homepage.mac.com/jrc/contrib/tzones/

TBH, im not sure if this step is the problem, but still there's something fishy a gwan.

2) I can successfully connect the phone and the Mac on PAN using Internet Sharing.

3) Next I created in Incoming Port (COM 0) on my phone in the Bluetooth control panel.

4) In Bluetooth Prefs on the Macbook it successfully finds the COM port from step 2 above via "Edit Serial Ports.." I can set this port to be a type of "Modem" and set to "Show in Network Preferences".

5) In Network Prefs, I can setup the COM port from step 4, to use a telephone number of *99# and enter "user"/"pass" into the Account/Password fields.

On the Bluetooth Modem tab, I use the modem script called "Windows Mobile GSM 460k" from this page:

http://www.taniwha.org.uk/

6) Set all the additional config such as turn off Send Echo Packets and turn off TCP Compression etc.. etc..

Now, I run Internet Sharing on the phone and connect the Macbook to it. Fire up Internet Connect and choose the serial port from step 4. Press connect and the connection fails.

The connection log displays this:

Windows Mobile GSM 460k

CCLWrite : AT\13

CCLWrite : AT\13

CCLWrite : AT\13

Connect script failed

From looking at the modem script myself, it appears the phone isnt responding properly to the Macbooks attempts to use it as a modem.

So... has anyone done anything different to get this to work? Im sure im nearly there now.

Thanks for any suggestions!

mafro
[P3600 General] mafro:
Here's an interesting additional post I just found explaining about DUN and PAN in AKU3.0

http://blogs.msdn.com/windowsmobile/archive/2007/04/17/why-did-we-remove-bluetooth-dun.aspx
[P3600 General] mafro:
Just 5 mins ago I managed to get an IP on a network interface in ifconfig.

At this stage the attempt to connect via "Internet Connect" still didnt work.

So I deleted all my settings so I could ascertain what exactly the correct setup was.. and now nothing works. I just cant get that IP back.

Dammit.
[Moto X Q&A] phuzzeeoyster:
The original charger cable for my phone got stolen and I've been having issues finding cables to fit in my phone, all the micro usb cables I have tried seem like they are too small for it and will not stay in my phone. Is anyone else having these issues are have any ideas on how to fix it.

Thank you in advanced
[Moto X Q&A] fury683:
Sounds like the USB port is worn out. MicroUSB cables are all the same size, so they can't really be too small.
[Moto X Q&A] Stuck on hold:
I find its critical how I put a cable in. I think the connector may be on the 'big' end of the spec, so a plug can go in, overriding the tab with the connections.

Also, some plugs work better then others. Maybe try a different cable?
[Moto X Q&A] phuzzeeoyster:
with a little searching I figured out my issue to anyone else having these problems, take a wooden toothpick and clean out your usb port. I cleaned tons of lint out of it and now it works great
[Android Q&A, Help & Troubleshooting] stevendeb25:
Hi.

I translated the cloud app from iunios from Chinese to English. Compiled OK

Added resources to original apk.

Added to zip and flashed.

When I load cloud to sign in, everything is english. I enter my login and the app crashes. But I am still login.

Something is broken but can't figure out what.

Modded

https://mega.co.nz/#!6FUVzJrJ!ddaFe9VgTLWARr9wycHtMexrSWmKK_rLdKuwitVnHS8

Original

https://mega.co.nz/#!7Z9SCTgY!Qmm45SF8yFZ_MIXwCrD2EZY7lFsW4i_8-VrOHn6OEO0

Also noticed that the original apk is bigger than the added translation modded version. Which shouldn't have due to the added 108kb strings.XML file

Any help would be great thanks
[Android Q&A, Help & Troubleshooting] stevendeb25:
Any devs can help?
[Android Q&A, Help & Troubleshooting] SimpleTool:
That's weird.

I'm going to ask a rather stupid question, but did you sign the application?
[Android Q&A, Help & Troubleshooting] stevendeb25:
Thought I didn't need to due to being system app?

But the app does work just FCS on login section of app
[Android Q&A, Help & Troubleshooting] SimpleTool:
You need to sign the application either way.

If your app has a login screen, does it access a server of some sort?
[Android Q&A, Help & Troubleshooting] stevendeb25:
Yeah it will connect to the iunios cloud server. It does actually login me in. I know this as in status bar there's a quick click that says logged in with my name.

But can't get into the app due to fc

Can't download contacts MMS etc that's stored on the cloud
[Android Q&A, Help & Troubleshooting] stevendeb25:
[MENTION=5621406]SimpleTool[/MENTION] As you see everything fine until I press "into the cloud" then fcs
[Android Q&A, Help & Troubleshooting] SimpleTool:
That's really weird.

Can you compare the code side by side so that you didn't miss an important factor? (ie, you left out a comma)

I guess that's the only reason left.
[Android Q&A, Help & Troubleshooting] stevendeb25:
Thanks I'll have a look
[Android Q&A, Help & Troubleshooting] stevendeb25:
[MENTION=5621406]SimpleTool[/MENTION] everything seems as it should. Redid the translations again and still same issue
[Android Q&A, Help & Troubleshooting] SimpleTool:
Let me check both of the apk's, if something is wrong, i'll improve it.
[Android Q&A, Help & Troubleshooting] stevendeb25:
Thanks :)
[Android Q&A, Help & Troubleshooting] SimpleTool:
Quick question.

Did you try to Debug the apk?
[Android Q&A, Help & Troubleshooting] stevendeb25:
As in logcat? Yeah but can't find any info about the app FCS in logcat. Still login after fc just can't get to the part where you can.sync SMS and contacts
[Motorola Droid 4] LuH:
Replies so far, taken from the original CM12 thread:

Good call, started new thread :)

Thanks for trying! What do you mean by changing type?

As I added here in the first post, I have a spare shattered but mostly working D4 I wouldn't be too sad to see bricked - I can try out more dangerous stuff if you point me in the right direction. I'd like to help testing different approaches to repartitioning if you have some potentially harmful ideas that you wouldn't try on your own phone.

Curious question aside: where is bootloader (and fastboot) stored? Is it sitting on some other small partition? Can we mount it to be read, or even to write there? What/where is that protection that keeps us from unlocking the bootloader?

Also, concerning mounting the free partitions to other system partitions: do you think it's possible to mount them as a folder in /data (whichever we use)? Does it matter what filesystem the partitions use? What part of boot-up runs the /system/etc/init.d/ scripts? Do you think attached proposals 2 or 3 are feasible? It would still have the stock system untouched for an emergency use and Safestrap storage, but its data would be shared with the safe system, with webtop mounted as /data/app or /data/data (1.4 GB should suffice I hope) which would leave us with nice 3.2 GB for the rest. Of course, preinstall's 600 MB for /system is hardly enough for CM12 with Pico version of PA GApps so the rest of used Google apps would inflate /data a bit - but still this is probably the best option we have now.
[Motorola Droid 4] Septfox:
Actually, I find the stock /system/ to be adequate. Yea, it's a tight fit, but CM12+PA Micro Gapps slots in with 30-someodd megabytes to spare, and there shouldn't be any real need for additional space on top of that. Though, I suppose there could be trouble if CM starts including larger apps.

Init.d is done by the ROM itself, and has to be enabled at build time; CM12 actually has it shut off for whatever reason (Slimkat did as well, I would imagine CM11 also did). There's an app called "Universal Init.d" in the Store, but by the time it can get around to executing the scripts, it's obviously way too late to be screwing with vital partitions : \

Worth pointing out that Safestrap appears to have proper ADB access, you might be able to do something with partitions thataway. I don't know enough about partitions and mounting in Linux to take a jab at it. Woop, looks like that's already a no-go. Maybe the bootloader does a check or three to make sure the partitions are all in order, and throws a critical error if not.

If absolutely all else fails, there's still symlinking large apps into the newly-accessible partitions that can be done, either manually or with Link2SD/similar apps. It's a bit of a hassle, but an option nonetheless.
[Motorola Droid 4] LuH:
Well, stock /system is fine but I want to keep it untouched - mainly because I don't want to install CM12 as an update over stock JB, and also to keep myself from SBFing (at least in the long run) because of trivial issues. When this option is off the plate, the remaining partitions don't seem to offer enough space to run CM11 in a non-virtual slot (as Mentor.37 offers with his modified Safestrap with a "Safe" slot with 600M system and 1.4G for data).

Symlinking is an ugly solution - used it for a while, never liked it, mainly because symlinks broke once SD got unmounted or mounted as Mass Storage, with problems remounting afterwards.

Since we can modify the system freely, I'm sure that if necessary, we could make a neater solution than using an app to create symlinks after boot. Question how early in the boot process can we add some scripts (by flashing some zipped patch over the ROM) goes to more knowledgeable devs though...
[Motorola Droid 4] lucize:
first time I just used t option in fdisk to change partition type to whatever without changing size, the second time I resized some of them and every time after 1st reboot the M logo would appear for 1 second and from now on it would go straight into fastboot without M logo, so it seems that something in bootloader is verifying the layout or something and if is not good it would stop.

I don't think that it's possible to brick it for good, use rsd to recover

Regards
[Motorola Droid 4] LuH:
Thanks to [MENTION=4772154]lucize[/MENTION] for his trying, sadly it seems we can't repartition at all :(

[MENTION=5003013]Mentor.37[/MENTION], is there a source to your customized SS 3.75 available? I'd like to try and mess around with it to put the Proposal 3 from my second post's attachment to work.

Could mounting and symlinking be done from Safestrap, or does the ROM do it itself? I have ideas of various cross-linking of folders on the partitions to kind of emulate repartitioning - but I'd have to try if it works and it would need to be done either before the system boot or shortly in the process. See attachment - that's a first draft :) I presume for this that the user keeps stock system only for keeping the phone bootable no matter what happens in other than stock slots, so stock data would be utilized only for root and safestrap, leaving most of its 3.2 GB free.
[Motorola Droid 4] rblanca:
I believe that it's impossible because symlinking "works" after kernel is loaded and safetrap take place (is loaded) before a kernel is loaded....
[Motorola Droid 4] Septfox:
If I'm not mistaken, symbolic linking is a filesystem thing, something like a shortcut only more complex (after all, it's completely transparent to anything accessing it). ADB probably has commands to make links, terminal emulators in Android definitely can. I think the problem you face is making sure the mountpoint, path, etc are exactly the same both in SS and Android.

Probably better to just do both the mounting and symlinking under Android, so you can be 100% sure that everything matches. We already know /cache/ is unused most of the time under LP, and can (probably) even be unmounted while booted if needbe; why not experiment with it, rather than going straight for the other more important partitions, until you're sure what you're thinking will work?

Edit: Wikipedia has a big ol' writeup on symlinks under various systems, looks like a fun read.
[Motorola Droid 4] LuH:
I guess then this could be implemented in some early booting stage of the system by some custom .zip being patched over, kind of the way Mentor.37's ramdisks are. Unfortunately I don't have nearly enough knowledge to do it.

What I hope could be done more easily is altering SS to maybe use not only shared cache but shared data as well - then webtop could be used for safe system, leaving more then enough space for it, and we still would have fairly usable 3.2 GB data for it. Maybe we could even assign preinstall as stock data? [MENTION=5003013]Mentor.37[/MENTION], I'd really love to hear your opinion on this, or maybe even get your alternated safestrap's source so I could try it myself :)
[Motorola Droid 4] LuH:
Sorry guys, I'm dropping this. I tried CM12 in stock slot and it doesn't help the system as much as I hoped for, so there's no need for this from my side.

I also mistook the process of installing ROM in Stock. I thought I have to upgrade the stock system to the new ROM in order to keep Safestrap in it, but it turns out it's independent and when "wiping" stock /system it leaves the Safestrap there, so I can easily do a clean install of a new ROM in the stock slot :)
[Motorola Droid 4] Shani Ace:
About that, could you compare the difference regarding performance between CM12 on the safe slot and CM12 on the stock slot?

I currently got it running on safe slot but I'm thinking about trying to install it to stock slot, now that I sold my Lapdock and don't need Weptop mode anymore.

But I only would do it if it increases the performance of the D4.
[Motorola Droid 4] LuH:
I don't really remember unfortunately, been running it from stock slot for a while now. Before it definitely was way more laggy than now, but that's also when CM12 for D4 was in a VERY early phase.

It definitely increases the performance, I'm just not sure how much. I don't see any reason why leave original system in stock slot though, so no reason to run CM from the safe slot. I don't like the idea of mounting the ext fs with system running from it from fat storage, it's bound to generate some unnecessary overhead.

In case of any major screw-up, sbf is your friend and AFAIK can't get messed up itself :) It's a good idea to have the factory cable available though, just in case it for whatever reason dies on you with low battery.