yashsingh1/xdaforums huggingface dataset:
[Upgrading, Modifying and Unlocking] lvt213:
When i tried to replace some file in system folder it said that there is no space left.

I can see it a mount point with df=100%

How did you deal with it ?
[Upgrading, Modifying and Unlocking] ride_bmx_mhell:
it said cid not supported,what can i do?

C:\Temp\imgRePackerRK_105>imgrepackerrk poweron.img

imgRepackerRK (version 1.05 windows)

Rockchip firmware batch/update images unpacker/packer

(c) RedScorpio, Moscow, 2013-2015

RedScorpio@land.ru

==========================[ START ]==========================

--- Firmware unpacking ---

"RKFW" image file detected

Batch image header from "poweron.img" was read

Image properties:

Type RockChip batch image (RKFW)

Version 4.1.1

Date 2013.09.22

Time 18:29:13

ChipID 0x33303042

Code(?) 0x01060000

Unsupported ChipID

==========================[ STOP ]==========================
[Upgrading, Modifying and Unlocking] RedScorpioXDA:
Please use /cid key

And note 0x??????4? didn't tested chipsets FW (rk28xx, isn't it?)
[Upgrading, Modifying and Unlocking] dewettie:
How to unpack system.img or boot.img?

If I try to unpack system.img(ext4) it says ext3 is incompatible and can't unpack it.

Can the tool only unpack update.img into separate images or also work with boot and system.img?

Here is an example of firmware with the problem.

http://www.mediafire.com/download/hg699dd1leuqhei/Tronsmart_Orion_R68_204L1202_151012.zip
[Upgrading, Modifying and Unlocking] treech:
Quick question, i just gor a new headunit based on RK3188 with 16gigs flash, and for some reason the drunken monkeys of programers just gave it 1gig of space for apps, i can see that there is a lot more unpartitioned space left on it so i was thinking of using this tool to take a rom and enlarge that partition.

I know how to do it in linux so that's not a problem.

To the question, is it just the system.img i need to mount, extend and then repack the image to make it work? since i'm not seeing a data.img that would be my guess.

Edit: On a quick look it does not seem like it's as easy as that, systems size of the original rom is something like 550m-ish with very little empty space left so i guess /data is located somewhere else.
[Upgrading, Modifying and Unlocking] dewettie:
Tool doesn't work on Lollipop RK3368 devices.

v1.04 can extract boot.img of RK3368 but can't repack.

v1.05 can't extract boot.img of RK3368 Rockchip devices.
[Upgrading, Modifying and Unlocking] vinaysharma76:
Hi I need to restore my Android TV box with RK3368 chip recovery. Could you tell me where can I find my stock recovery or how can I extract recovery from latest Firmware of this tv box. I have latest firmware update.img but I tried this tools and it says unsopported chip. Can someone help me get the recovery image. I flashed TWRP by mistake and not everything expect USB OTG working fine but microUSB port is not working.

C:\Firmware\AndroidTool_Release_v2.35_USEfor firmware and recovery update\rockdev\imgRePackerRK_104>imgRePackerRK.exe update.img

imgRePackerRK (version 1.04 windows)

Rockchip firmware batch image unpacker/packer

(c) RedScorpio, Moscow, 2013-2014

RedScorpio@land.ru

==========================[ START ]==========================

--- Firmware unpacking ---

"RKFW" image file detected

Image properties:

Type RockChip batch image (RKFW)

Version 5.1.0

Date 2015.11.30

Time 18:25:38

ChipID 0x33333041

Code(?) 0x01060000

Unsupported ChipID

==========================[ STOP ]==========================
[Upgrading, Modifying and Unlocking] ultravy:
Use imgRePackerRK.exe /cid image.img and " /md5 " if you get md5 error ex: imgRePackerRK.exe /cid /md5 image.img
[Upgrading, Modifying and Unlocking] RedScorpioXDA:
Please, give me link to this firmware
[Upgrading, Modifying and Unlocking] dewettie:
Eg. http://www.mediafire.com/download/ezzhm43ao184671/Orion_R68(100MB_version)_105L1103_151224.zip or http://www.mediafire.com/download/a7vspqe12gjf5ym/Orion_R68_Gigabit_205L1203_151127.zip where unpacked firmware can't pack or repack boot.img
[Upgrading, Modifying and Unlocking] RedScorpioXDA:
I have successfully unpacked and packed back both boot.img with 1.05.

What the problem? Please provide logs with /debug option
[Upgrading, Modifying and Unlocking] learning65:
Unsupported ChipID

Hello Redscorpio. I tried your tool and I see many people have had good results. I received the above error message "Unsupported Chip ID". My Rockchip unit is RK3368. Is this the reason why? if so, is there any way of making it compatible? thank you in advance..

-learning65
[Upgrading, Modifying and Unlocking] learning65:
OK, I will take a look, Thank you for responding,,
[Upgrading, Modifying and Unlocking] learning65:
I tried that and it worked thank you. Can you please recommend a GUI program to open and edit system.img files? I even tried in Linux and it mounts but can't Edit the file. Yaffey doesn't work either.. Thanks
[Upgrading, Modifying and Unlocking] RedScorpioXDA:
No, sorry
[Upgrading, Modifying and Unlocking] rocker2016:
can any guy help me unpack mcu.img for RK3188?
[Upgrading, Modifying and Unlocking] RedScorpioXDA:
What is mcu.img? Please provide link
[Upgrading, Modifying and Unlocking] rocker2016:
this, please help. Thank you in advance.

mega.nz/#!Fl0QlJob!Qrf50CthRuwGsjntYDBjCFffcXEmy3rEFSBPmI9zlxg
[Upgrading, Modifying and Unlocking] RedScorpioXDA:
Need decrypting key
[Upgrading, Modifying and Unlocking] rocker2016:
It's for RK3188 Head Unit like Huifei. I don't know the descrypting key:crying:

what software or tool can unpack it?
[Upgrading, Modifying and Unlocking] RedScorpioXDA:
Site Mega requested decrypting key for downloading file
[Upgrading, Modifying and Unlocking] rocker2016:
no need key to download, please check the url, must copy all below characters including blank space, please try again.

mega.nz/#!Fl0QlJob!Qrf50CthRuwGsjntYDBjCFffcXEmy3rEFSBPmI9 zlxg

---------- Post added at 10:26 AM ---------- Previous post was at 10:24 AM ----------

here is another link for you to download,

sendspace.com/file/cx7yky

---------- Post added at 10:27 AM ---------- Previous post was at 10:26 AM ----------

https://www.sendspace.com/file/cx7yky
[Upgrading, Modifying and Unlocking] RedScorpioXDA:
Second link works

Structure of this image is unknown for me. I can't help you.
[Upgrading, Modifying and Unlocking] rocker2016:
:crying:

file it under linux, just shows 'type data'.
[Upgrading, Modifying and Unlocking] RedScorpioXDA:
http://xdaforums.com/showpost.php?p=63343212&postcount=20030
[Upgrading, Modifying and Unlocking] rocker2016:
:good:

You are super! To decode it to be mcu.bin?
[Upgrading, Modifying and Unlocking] RedScorpioXDA:
I think so
[Upgrading, Modifying and Unlocking] gojkob:
RK3229

Hi, is there possibility to support RK3229?

Batch image header from "MXQ-4K_ota_ok_20160127.img" was read

Image properties:

Type RockChip batch image (RKFW)

Version 4.4.4

Date 2016.01.27

Time 16:39:39

ChipID 0x33323241

Code(?) 0x01060000
[Upgrading, Modifying and Unlocking] RedScorpioXDA:
Please send me link to this FW

PS. Did you use /cid key?
[Upgrading, Modifying and Unlocking] gojkob:
It works with /cid option.

Thank you very much.

Here is link of image file.

docs.google.com[][][]/a/kbcnet.info/uc?id=0B-GCyUBnN4UcRGR3bjVOQ1hYY28&export=download

I cannot post urls.
[Upgrading, Modifying and Unlocking] rocker2016:
:crying: I edit the MCU.bin by using UltraEdit, but now failed to restart my device after updating mcu.img

Anyone can help? And what tool and how to edit MCU.bin without problem?:confused:
[Upgrading, Modifying and Unlocking] RedScorpioXDA:
This topic about imgRePackerRK. Please try to search tools in another topic (or create the new one)
[Upgrading, Modifying and Unlocking] rocker2016:
I tried imgRepackerRK, not work for MCU.img. Can only use mtcmcutool to make it to be MCU.bin.
[Upgrading, Modifying and Unlocking] RedScorpioXDA:
I never promised repacking such images
[Upgrading, Modifying and Unlocking] rocker2016:
You said "This topic about imgRePackerRK", maybe I misunderstood you.
[Upgrading, Modifying and Unlocking] RedScorpioXDA:
Yes. Not about mtcmcutool
[Upgrading, Modifying and Unlocking] donGeilo1981:
Chip not supported

"RKFW" image file detected

Batch image header from "update.img" was read

Image properties:

Type RockChip batch image (RKFW)

Version 4.1.1

Date 2014.12.19

Time 16:03:33

ChipID 0x33303042

Code(?) 0x01060000

Unsupported ChipID

Is there a way to get the RK3168 supported?
[Upgrading, Modifying and Unlocking] RedScorpioXDA:
Please read help, use /cid key
[Upgrading, Modifying and Unlocking] 4phoenix:
Hi,sr, i have a Tablet kelyx m750a ,its have a 1gb for app and 12gb of free space but can install apps in there,please could you teach me how you make a new ROM with more than 1gb ,please ande thanks
[Upgrading, Modifying and Unlocking] RedScorpioXDA:
You need:

1. variants

a) Unpack stock FW

or

b) make dump (rkDumper) of current FW

2. Modify file parameter (CMDLINE/mtdparts/rk29xxnand)

3. variants

a) Pack FW back and flash by rkBatchTool

or

b) Flash by rkAndroidTool
[Upgrading, Modifying and Unlocking] 4phoenix:
thank you i dont know how to modify parameter file but i rad it now , my Tablet is rk312x so i though that i had to write rk312xnand, i hope. now i search how to open the img system kernel uboot miss recoger resource that imgrepackerrk give me .

---------- Post added at 02:30 PM ---------- Previous post was at 02:10 PM ----------

this is my rk312x.parameter.txt file i dont know how to modify :

FIRMWARE_VER:5.0.2

MACHINE_MODEL:rk312x

MACHINE_ID:007

MANUFACTURER:RK30SDK

MAGIC: 0x5041524B

ATAG: 0x60000800

MACHINE: 312x

CHECK_MASK: 0x80

KERNEL_IMG: 0x60408000

#RECOVER_KEY: 1,1,0,20,0

CMDLINE:console=ttyFIQ0 androidboot.baseband=N/A androidboot.selinux=permissive androidboot.hardware=rk30board androidboot.console=ttyFIQ0 init=/init initrd=0x62000000,0x00800000 mtdparts=rk29xxnand:0x00002000@0x00002000(uboot),0x00002000@0x00004000(misc),0x00008000@0x00006000(resource),0x00006000@0x0000E000(kernel),0x00006000@0x00014000(boot),0x00010000@0x0001A000(recovery),0x00020000@0x0002A000(backup),0x00040000@0x0004A000(cache),0x001FE000@0x0008A000(userdata),0x00008000@0x00288000(metadata),0x00002000@0x00290000(kpanic),0x00200000@0x00292000(system),0x00020000@0x00492000(radical_update),-@0x004A2000(user)
[Upgrading, Modifying and Unlocking] RedScorpioXDA:
This is description of your partitions
[Upgrading, Modifying and Unlocking] 4phoenix:
i modify that with para meter file editor that show me in Mb all partitions, i change the userdata to 4096mb now i need to repack but i want erase apk of system.img but i dong know how to repack again . oh thanks for the help
[Upgrading, Modifying and Unlocking] RedScorpioXDA:
I don't understand your question. Just type imgRepackerRK <img_name>.img.dump

If you want to repack system.img please use another tools (this tool don't support unpacking/packing file systems)
[Upgrading, Modifying and Unlocking] 4phoenix:
oooh thank you sir. i try repack now and later work on how repack system.img unpack i do with ext4 extractor.thanks a lot
[Upgrading, Modifying and Unlocking] ontherocks62:
[MENTION=4582467]RedScorpioXDA[/MENTION]

Can you please explain what does the option /2nd do? I mean what does 2nd layer file mean?

How do I use it? Do I use it with the complete rom.img file or the individual files (boot.img, kernel.img, misc.img, recovery.img, resource.img, system.img) that are obtained after unpacking the complete rom?
[Android Q&A, Help & Troubleshooting] will.quast:
I have recently rooted a Samsung S3 SGH-T999 and now when an app I am developing crashes, then Android's built in App Crash Reporter seems to deadlock and Watchdog will eventually kill the system process and the device will reboot.

I have duplicated this issue on both koush's Superuser and chainsdd's Superuser, however this issue does not happen with chainfire's SuperSU.

When I remove su or use Superusers's temp un-root, the issue does not happen, this leads me to believe the issue is related to how Debug.saveDumpstate behaves when su is present.

As you can see from the anr/traces.txt below, several thread are waiting on ActivityManagerService to Debug.saveDumpstate. But Debug.saveDumpstate is native and I am unsure about how to debug the issue in libandroid_runtime.so.

Has anyone seen this problem before or can direct me to a workaround for this problem.

Model = SGH-T999

Android = 4.1.1

Baseband = T999UVDLJC

Kernel = 3.0.31-370274 se.infra@SEP-80 #1

Build = JRO03L.T999UVDLJC

logcat capture during crash and reboot = attached logcat.txt

anr/traces.txt from Watchdog dump = attached traces.txt

simple app used to simulate crash = MainActivity.txt

Thanks for any help.
[T-Mobile, Samsung Galaxy SIII] photolarry:
Kept getting invalid mmi when doing this from the app but figured out that

if you go into phone settings by pressing the phone key then settings from menu... there is an option if you scroll down for call forwarding... then you can verify it reads: 14158256503 for California. I'm pretty sure it's set on the SIM so if you flash new Rom is still there as confirmed since I'm flashing often. Should not matter which carrier.
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] Herox:
My phone actually lost power while being used and being plugged into my pc. If its plugged into the wall, it can go from 10% to full in less than 2 hours, but while using it, on PC USB charging, it decreased in power after 3 hours. Screen off. Is there a way to fix that?
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] BWolf56:
If you're on a custom ROM/kernel that allows it, use Fast Charge. It disables UMS to allow full power going towards charging.
[AT&T, Rogers HTC One X, Telstra One XL] quidmonkey:
I rooted my AT&T HTC One X over the weekend using the AT&T All-in-One Kit in an attempt to install CyanogenMod, and now I'm stuck in a boot loop. Here's my info:

EVITA PVT SHIP S-ON RL

HBOOT-1.14.0002

RADIO-0.19as 32.09.11_2

OpenDSP-v29.1.0.45.0622

eMMC-boot

I set my CID=11111111.

I can get to bootloader & fastboot.

I tried fastboot flash boot path/boot.img to the latest CM 10.1 M2 followed by a fastboot erase cache - no dice.

I installed CWM 6.0.3.1-evita. I'm unable to mount /cache or /sdcard, or format either. I tried adb sideload for CM.zip, but it errors out on assert failed: getprop("ro.product.device") == "endeavoru" || getprop("ro.build.product") == "endeavoru" (Status 7). Did some googling, and then did a adb shell. Found that /system had no build.prop file - I'm guessing that's no good.

I also installed TWRP 2.5.0, but again, no dice. Interestingly enough, when I exited it, it told me SuperSU was not installed, even though bootloader showed '***TAMPERED***', and I was certain I had installed it previously. I ended up re-installing CWM and sideloaded SuperSU-1.25.zip, which installed without issue.

I was a complete n00b and didn't create a backup image for Nandroid; however, I did read the FAQ after the fact and found that we have a page of stock Nandroid images - should I use one of these? And if so, how?

Thanks.
[AT&T, Rogers HTC One X, Telstra One XL] ImagioX1:
It looks to me like you tried to flash an international one x cm 10.1 Rom to your att one xl. That's why you're getting the "product id endeavoru" error. Endeavoru is the intenational phone. Ours is the evita.

Download the evita cm10.zip. Most people around here use twrp recovey so go back to it. The latest releases all have problems though so download anything earlier than 2.3.3.0 and flash it. Then mount your sdcard and transfer the evita cm10.zip to your phone and flash it. Then flash the boot.img and then try to boot and see what happens.

Sent from Xparent Red using my Venomized Evita
[AT&T, Rogers HTC One X, Telstra One XL] quidmonkey:
Thanks for the reply.

I tried TWRP 2.3.0.0 and 2.3.3.0, and both failed when I selected ADB sideload with the terminal error of "Unable to mount '/sdcard//". I tried to mount the sd card from the menu, but I'm unable to select the checkbox.
[AT&T, Rogers HTC One X, Telstra One XL] exad:
That's because you did a factory reset in bootloader which is broken and your SD card is corrupted. Ill see if I can find the link to the fix for you. you can also search it. There's the link: http://forums.team-nocturnal.com/sh...ountable-internal-storage-on-the-HTC-One-X-XL
[AT&T, Rogers HTC One X, Telstra One XL] iElvis:
You are not bricked.

Brick = Black screen, unresponsive

All you did was screw up your OS. The fix is simply a matter of getting your software straightened out.
[AT&T, Rogers HTC One X, Telstra One XL] quidmonkey:
That did it - thank you!

Duly noted.
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] emem300:
Can some body help me to get userdata partition for Note N7000?:confused:
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] moisesfco:
/data

need to be root.
[Galaxy Ace S5830 Themes and Apps] Sachin Patel:
Hyyy guys:)

I am here with little modified mms.apk

Whats New-

* new bubble style( changed default and gloss bubble style)

*new avtar

Installation-

1st backup your current Mms.apk incase you want to revert back

Then copy downloaded Mms.apk and copy to

System/app/here

And give proper permission

Reboot..

or

Simply, install as system apps using system apps installer

Enjoy:)

Download-

Link- Modified Mms.apk

Screenshots-

credits-

Erroll Gatcho(from facebook)

and me

press thanks if you like this :)
[Galaxy Ace S5830 Themes and Apps] ~PAIN:
dropbox invalid link :(
[Galaxy Ace S5830 Themes and Apps] Minions_Army:
invalid link

please op fix the link
[Galaxy Ace S5830 Themes and Apps] Sachin Patel:
Link is fixed now :)

press thanks if i help you :)

sent from my ANDROID using

XDA PREMIUM
[Galaxy Ace S5830 Themes and Apps] alex.X:
Cute
[Galaxy Ace S5830 Themes and Apps] Rock-Ace:
Not working...

I have already tried a lot of custom mms.apks successfully but I don't know why this one is not working at all

Followed your instructions using system app installer but its not working... in fact after installation I can't see mms icon in my launcher's app section.
[Galaxy Ace S5830 Themes and Apps] GxY D TeCh:
Work perfectly for me...

Just install it as system apps:)
[Galaxy Ace S5830 Themes and Apps] Rock-Ace:
Already followed instructions but not working in ULTIMATUM ROM

As I've already mentioned I followed instructions but not working in ULTIMATUM ROM!!!!!!!!!!!
[Galaxy Ace S5830 Themes and Apps] Sachin Patel:
Sorry but I don't know why it not work with you...??

sent from my ANDROID using

XDA PREMIUM
[Galaxy Ace S5830 Themes and Apps] drkcsr:
Thanks it's working fine . Just copy new mms.apk to sd card then open system folder by root explorer system/app delete old mms.apk replace it new mms.apk thats it.
[Galaxy Ace S5830 Themes and Apps] Sachin Patel:
If you like it that use thanks button to say it :)

sent from my ANDROID using

XDA PREMIUM
[Galaxy Ace S5830 Themes and Apps] qmobilea2:
wrong link

link is not working!!
[Galaxy Ace S5830 Themes and Apps] kreako28:
+1 new link please
[Galaxy Ace S5830 Themes and Apps] _followers_:
hello guys up up up...can someone give me a copy of this mms apk file?..
[Galaxy Ace S5830 Themes and Apps] andydidacus:
pls update link to download...
[Galaxy Ace S5830 Themes and Apps] Abdullah.21:
plz can u mod my mms.apk i will be thankful to u

i m using galaxy ace 5830i with custom rom simplicity v5 with stock kernal and i want a my mms.apk with mod just i want some change like seding contacts limits increase and auto converting mms i dont want just these two things because conversation limit is 5000 is enough for me if u can plz tell me then i will upload that apk.:):)
[Sprint HTC One (M7)] magnumtripod:
all my Rom zips and backups are gone. How can I access my internal SD card to copy a ROM over to it then flash?

I have no OS installed so it wont boot into anything except TWRP recovery

step by step instructions greatly appreciated

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

EDIT: This is how I fixed my phone

I used the AIO toolkit to "Flash My Own Recovery" after I downloaded CWM Touch

http://goo.im/devs/Flyhalf205/M7WLS/Recovery/recovery-clockwork-touch-6.0.3.1-m7wls.img

I flashed CWM then booted into recovery and selected sideload

I used the AIO tool kit to select my ROM of choice and it installed perfectly

I am now in my phone and able to access my internal storage
[Sprint HTC One (M7)] Chris9971:
Connect to PC, the copy over to storage on phone. Boot into recovery and install.
[Sprint HTC One (M7)] magnumtripod:
PC doesn't connect to internal storage unless completely booted into a ROM. I have no ROM installed. Just plugging my phone in to my PC doesn't open up my storage
[Sprint HTC One (M7)] Barman49:
Did you plug the phone in and let it install drivers? i'm assuming you're running Windows 7/8.

EDIT: Did you try ADB to see if computer recognizes phone? You could flash rom this way if it does.
[Sprint HTC One (M7)] magnumtripod:
Ive had the phone plugged in many times and all drivers installed. When I plug it in now, my PC makes that noise that something is connected, but I don't get any prompts to install drivers or notifications that a device is connected.

If I try to boot, it just stays on the "HTC quietly brilliant" screen and goes no further

no I haven't. What is ADB?
[Sprint HTC One (M7)] Barman49:
Are you trying to get into recovery (Power/vol down)?? If you can't get into that you need to use fastboot (ADB) to reflash recovery so you can access your internal. I'm guessing you know how to do this since you already had it. If not, lemme know. I can try and give step by step to get it back.
[Sprint HTC One (M7)] magnumtripod:
I can get into recovery no problem. I can even view whats currently on my internal storage (which is nothing lol) but I just need to connect to it to copy a ROM over
[Sprint HTC One (M7)] Barman49:
Ok, I gotcha now. Sounds like the drivers aren't working between the phone & PC.

Goto HTC and download HTC Sync, sorry can't cause I don't have enough posts to show link.

Leave phone disconnected and let it install. Then try again. Report back.
[Sprint HTC One (M7)] budroux:
Kinda a novice here but you did say you formatted the SD so I would ask how? But more importantly to what file format? fat32?

Not even sure what it is supposed to be but in trouble shooting this I would make sure the SD is formatted correctly. Just saying...and sorry for butting in here.
[Sprint HTC One (M7)] magnumtripod:
sweet will do

brb
[Sprint HTC One (M7)] magnumtripod:
HTC Sync doesn't recognize the phone
[Sprint HTC One (M7)] youkosnake:
Everyone replying to this post has no clue what they are talking about. Head on over to the RUU thread by O.M.J. and follow my step by step to RUU back to stock and start from scratch bub.
[Sprint HTC One (M7)] magnumtripod:
There is a format option through TWRP (wipe/format data) that formats EVERYTHING. So whatever TWRP formats it as is what it is.
[Sprint HTC One (M7)] youkosnake:
Didn't mean to quote. My bad. Stupid app
[Sprint HTC One (M7)] magnumtripod:
will check it out
[Sprint HTC One (M7)] youkosnake:
Everyone responding seems to think you can get into your Rom. Just follow my step by step and start from scratch.
[Sprint HTC One (M7)] magnumtripod:
Downloading the required files now

will this uninstall my recovery and unroot me? Is this a complete stock flash?
[Sprint HTC One (M7)] magnumtripod:
so I got these commands to work

fastboot oem lock

fastboot oem rebootRUU

but when i try to run the last command

fastboot flash zip c:/lol.zip

it just says

cannot load c:/lol.zip

and it has been renamed to lol.zip and is at the root of my C drive

my phone is currently on the black HTC screen
[Sprint HTC One (M7)] Barman49:
Try it without the c:/
[Sprint HTC One (M7)] magnumtripod:
I tried every combination
[Sprint HTC One (M7)] pmacevad:
Why don't you just download a Rom to a pc, copy the Rom to your sdcard, flash the Rom, move needed files from internal storage and flash from there? Did I miss why this couldn't be done?

Sent from my soon to be rooted HTC One.

Edit: you can mount external sd in recovery right?