[dev] doubleshot de-odexed system images (dev base) - T-Mobile myTouch 4G Slide

Return to Contents Page - doubleshot Developers Reference
THESE ARE NOT ROMs. ...and this thread is not aimed at users.
These are the base of what could be a ROM some day if someone wants to make them into such.
Provided as-is with no promise of support or usability ( but you know we're here for that if you need it, and they worked fine on my device )
HTC Software Versions: (March 2012)
1.28.531.9 - Retail Launch
1.55.531.3 - OTA
1.63.531.2 - OTA
--------
Okay, yesterday I tore open the 1.63.531.2 software package and started seeing what I could see.
While I was playing with it I made another round of insecure boot images ( find here )
...one thing led to another and then here I sat with 3 de-odexed system images and corresponding insecure boot.img files I had made, and a sunrise that was surprising because I hadn't realized it had set yet from the day before...
Anyways, I had fun with this project and hopefully having these here will encourage people to start tinkering with their own ROM creations.
These base system.img files are the same system.img files generated when you make a clockworkmod backup - so no goofy headers or signed stuff to worry about, just the image file.
You can unyaffs it like normal to get at the contents of the image.
If you are on windows, avabox is a fantastic set of tools with a full yaffs setup in it, as well as the easiest smali/backsmali process i've found. Top notch tool and one I use frequently when on windows.
I actually did the de-odexing itself with xUltimate - it went ahead and did it all in one automatic batch process for each software version when I got to that part, instead of me manually doing it with avabox or other backsmali tools. (Nice!!)
Even so, it still took most of the night to set up and then process each software version and de-odex it, so i'm providing them here for people to just grab and start working on.
So, to answer that question of "where do I start?" for getting into developing, here is a pretty good place:
HTC 1.63.531.2 Software Version​
The new OTA software version that started on the 19th and was paused (again...) on the 20th of march is the 1.63.531.2 software version, our newest.
De-odex system.img 1.63.531.2
doubleshot_1-63-531-2_de-odexed_system.img
Download Link
MD5: 40f11628907899aebe5809808f56f2ae
Size: 697.75 MB
Insecure boot.img 1.63.531.2
doubleshot_1-63-531-2_insecure_boot.img
Download Link
MD5: 1939ec22b1414cb7b4e42f07f1d6b025
Size: 3.36 MB
----
HTC 1.55.531.3 Software Version​
De-odex system.img 1.55.531.3
doubleshot_1-55-531-3_de-odexed_system.img
Download Link
MD5: 154a793b92d69970554170832f6efca6
Size: 691.8 MB
Insecure boot.img 1.55.531.3
doubleshot_1-55-531-3_insecure_boot.img
Download Link
MD5: 3e07acc5debd7f9f469d31486aa7c87d
Size: 3.36 MB
----
HTC 1.28.531.9 / .10 Software Version​
HTC 1.28.531.10 kernel source
De-odex system.img 1.28.531.9
doubleshot_1-28-531-9_deodexed_system.img
Download Link
MD5: 7a250cc5d6783c9392c826a01beb7b03
Size: 682.62 MB
Insecure boot.img 1.28.531.9
doubleshot_1-28-531-9_insecure_boot.img
Download Link
MD5: b83a232372f6d8e440446f255aaea617
Size: 3.28 MB
----
Other versions of the boot.img found here. Also shows what code was changed to make it insecure.
If you lose the modules needed to make wifi work with the boot image, these are stock boot images and can get those modules from here if they are lost from system:
Stock WiFi Modules
--------
Mirrors welcome, just please make sure to include a link in this thread if you do ( I will copy it to first posting for others reference) and just make sure to link to the thread and not the mirrors direct elsewhere please?
Good places to go next from here would be:
- Edify Script Tutorial - Replacing the Google Market
- Edify Scripting Notes
- Flashable zip template
- doubleshot Developers Reference
...and start to learn how to set up the stuff you make so you can deploy it to a device.
Happy devving!

Blue6IX said:
I actually did the de-odexing itself with xUltimate - it went ahead and did it all in one automatic batch process for each software version when I got to that part, instead of me manually doing it with avabox or other backsmali tools. (Nice!!)
Click to expand...
Click to collapse
This angers me that you got this to work when it didn't work for me at all. Great rage.

Related

[TOOL][All devices & OS] Fastboot Commander [v.1.51][UPD 15 AUG 2011]

Don't forget to hit that "thanks"/Donate button or check out my APK(s) installer tool found in my signature :0)
Updated to version 1.51.
Added: Conversion of BMP images to ready-to-flash splash files on all 3 systems.
Modified: Graphical layout is now more in sync in all 3 systems.
Modified: All tooltips are now corrected and fully helpful :0)
Hi everyone.
This is a tool written in JAVA for easier flashing of the following partitions:
Radio, hboot/spl, recovery, system, boot, userdata, kernel and splash.
It can do much more, like:
Conversion of 24bit BMP images to ready-to-flash splash files.
Erase/wipe multiple or single partitions.
Reboot device either to system or fastboot.
Print of device info.
Flash of kernel.
Possible to run custom fastboot commands instead of using cmd/shell.
Flash of signed zip files (E.g. fastboot flash zip myzip.zip)
The above(Flash of signed zip) should not to be confused with flashing of custom rom files!
It's only meant for signed HTC roms with complete system layout.
Flash multiple files in one click by using custom folders and tags.
It's basically a GUI over most fastboot commands.
It works for Windows, Linux and Mac.
No need for Android SDK, the jar-file has all needed files bundled!
It's well tested and have more than +10000 users.
It works for all devices which has fastboot :0)
Any feedback is appreciated.
Requirements:
Min 30 % battery!
Engineering hboot/spl OR S-OFF!
Do not reboot or shutdown, if you ever get an error flashing the radio or the hboot/spl!
Ask here for help if it happens!
Source jcarrz1 : Using the new 1.33.0013d spl will not allow you to flash recovery. It's a bug in the spl and have not been fixed.
Instead of having to maintain multiple OPs, i have decided to redirect the OP to the desire forum. It's only the facade and nothing else. All questions and ect regarding the G1 will still be on this thread :0)
The tool is the same and will work on any device which have fastboot mode.
LINK:
http://forum.xda-developers.com/showthread.php?t=1193915
Updated to ver. 1.51.
Enjoy :0)
Just reached 3500+ downloads for version 1.51 :0)
Keep the thanks/donations and REPLIES coming or this thread will die :0(
Fastboot Commander v.1.51 just reached 6300 + downloads
Remember to leave a REPLY or the this threads will die...
Hitting the "THANKS" and/or Donate button won't hurt either

[ROM][DEV][Jan-24-2012]Rooted Telus 3.13.661.4 Sense3.0 100% Inspire compatible.

Hackers/kangers only!
I managed to get the OTA that HTC is currently sending down to Telus customers using the Canadian DHD. I patched it to the current Telus ROM an packaged it up for Inspire. This DHD is 100% compatible with the Inspire so this ROM works without any modifications to audio or graphics.
This is for experienced ROM users/developers and not intended for general use yet due to the new lib.img partitioning scheme. It will NOT work completely with ClockWorkMod recoveries. I don't know if there are any recovery images that mount and backup the new lib partition. We're working on a new recovery for this, but you'll need to manually backup/restore the lib partition after a CWM backup for now
This ROM installs a new HBOOT that WILL rearrange your partition table! If you istall this, you'll have to downgrade your hboot to install any older ROMs.
This is a PD98IMG installation zip and is only installable through your current bootloader. It WILL wipe out everything currently on your device by repartitioning the NAND memory to include the new lib.img partition. Backup!
This is the direction HTC is moving and it is already how the DHD WWE ROMs do things and if we see any Sense3 update to Inspire from AT&T, it will most likely have this partitioning scheme so it's a good idea to get used to it now.
If you've made it this far and still want to play with this, then be my guest, but I'm not going to assume any responsibility for anything that happens. As I've explained, it repartitions your device, deletes all existing data, and has an incomplete recovery (won't backup /system/lib).
I'm currently working on a more user oriented ROM that will incorporate a proper CWM recovery with bloat removed, etc. but it's a few days off.
This ROM is essentially the Telus ROM with a properly rooted system partition and a ro.secure=0 boot.img. It includes the radio and rcdata from the current Telus OTA (which works fine with Inspire). I've replaced the recovery image with a CWM recovery from the latest cyanogenmode kang source and it will do everything you need in a recovery EXCEPT backup the lib partition (I'm working with ATTN1 to modify CWM recovery to do this).
It is a PD98IMG style install and will not install from your current recovery. Download the file below, rename it to exactly PD98IMG.zip on your SDCard and reboot to hboot and follow the prompts. If you don't know how to do this, then you probably shouldn't be installing this ROM. It will install the new bootloader first, then reboot to the new bootloader to install the rest.
http://hoxnet.com/droid/RUU_Ace_Sen...61.4-2.43.661.1_R_release_rooted_unsigned.zip
MD5: 47d532199ec3e4f638622fd7d3cfcb5a
File List:
Code:
unzip -v RUU_Ace_Sense30_S_TELUS_WWE_3.13.661.4-2.43.661.1_R_release_rooted_unsigned.zip
Archive: RUU_Ace_Sense30_S_TELUS_WWE_3.13.661.4-2.43.661.1_R_release_rooted_unsigned.zip
Length Method Size Cmpr Date Time CRC-32 Name
-------- ------ ------- ---- ---------- ----- -------- ----
74 Stored 74 0% 12-15-2011 04:04 242b7893 android-info.txt
2902016 Defl:N 2883345 1% 01-23-2012 22:29 c656e133 boot.img
1048576 Defl:N 233535 78% 12-15-2011 03:51 e7bf8e92 hboot_7230_Ace_2.00.0027_110907.nb0
159383552 Defl:N 51646690 68% 01-23-2012 15:07 7c23a0ba lib.img
585101312 Defl:N 283384857 52% 01-23-2012 23:01 f5ede6ba system.img
3741696 Defl:N 3734895 0% 01-23-2012 22:30 141db616 recovery.img
25559040 Defl:N 11697885 54% 12-15-2011 02:43 cc964593 radio.img
124 Defl:N 104 16% 12-15-2011 03:51 6fb0a433 rcdata.img
1420752 Defl:N 933921 34% 08-31-2011 08:50 8ae782ee dzdata.img
-------- ------- --- -------
779157142 354515306 55% 9 files
Very interesting.
I should have a normal ROM later today. I've managed to strip out enough bloat to fit the new bigger system and lib on the same partition.
Awesome Gene
Keeping updated upon rom release.
Thanks
mateusm said:
Awesome Gene
Keeping updated upon rom release.
Thanks
Click to expand...
Click to collapse
I recycled my earlier 3.06 based ROM and posted it there. Download here:
http://forum.xda-developers.com/showthread.php?t=1269864
This one WILL wipe data. I couldn't find any way around that. The good news is that Titanium Backup restored all my previous settings just fine (except the wallpaper).

[How To]Patch up HTC ROM with OTA zip

This is something I think several will find handy so they can rebase ROM's easier.
I posted this just before here: http://forum.xda-developers.com/showpost.php?p=41056874&postcount=1162
This method is entirely based on work done by gee one which was posted in this thread: http://forum.xda-developers.com/showthread.php?t=1286731
You can use my existing thread that tracks OTA updates from HTC
http://forum.xda-developers.com/showthread.php?t=2119610
Which more recently I have been keeping up to date based on Fota Fetcher originally written by dagobertduck based on method by Dr_Death.
http://forum.xda-developers.com/showthread.php?p=39278313
This describes the process of patching Telstra 3.17.841.2 base with 3.17.841.9 update.
The first release for each carriers Jellybean has been a full base so far, so are a great point to work from.
Handy since RUU's have been less than available since Football exiting stage left just before Jellybean came out.
This process could be adapted in many ways including using an arm apply_patch on an arm machine etc.
Hopefully I do not skim over some of the finer details and have left it in a way that is easy enough to follow.
1)install Linux(eg Ubuntu) on a x86/x64 machine I personally tested Ubuntu 32bit.
2)get base rom http://fotadl.htc.com/OTA_EVITA_UL_...128.32.34a_release_2997538hizl4svcm80o4g1.zip
3)extract to /HTC/3.17.841.2
4)get ota update rom http://fotadl.htc.com/OTA_EVITA_UL_...3.17.841.2_release_313599g3ollis4ml1cuukv.zip
5)extract to /HTC/3.17.841.9
6)create folder /HTC/patched
7)Compile or download an apply_patch for x86 (gee one posted here: http://forum.xda-developers.com/showpost.php?p=32552329&postcount=10 )
8)rename applypatch_static to apply_patch
9)make sure its executable; chmod 755 apply_patch
10)move to somewhere convenient like /usr/bin; sudo cp apply_patch /usr/bin/
11)Use gee one's script to convert an Android updater-script ( http://forum.xda-developers.com/showpost.php?p=32572607&postcount=12 )
12)Paste that in to a text file and name it something eg createscript
13)make it executable; chmod 755 createscript
14)place in /HTC
15)copy /HTC/3.17.841.9/META-INF/com/google/android/updater-script to /HTC
16)./createscript
17)./extract_source ./3.17.841.2/system ./patched **optional
18)./delete_source ./3.17.841.2/system **not required for Telstra 3.17.841.9 (Note: this step does not work and needs attention)
19)./tf_file ./patched/3.17.841.2 ./3.17.841.9 **could be pointed at ./3.17.841.2 if you did not want step 17
20)overwrite /HTC/3.17.841.2/system with /HTC/patched/3.17.841.2/system; cp -R ./patched/3.17.841.2/system ./3.17.841.2 **if step 17 done
21)overwrite /HTC/3.17.841.2/system with /HTC/3.17.841.9/system; cp -R ./3.17.841.9/system ./3.17.841.2
22)repackage your rom in /HTC/3.17.841.2/system
Or something like that. Good luck!
createscript uses working dir to find a updater-script - converts script
extract_source input_system_dir output_system_dir - extract files that need updating, perhaps safer than working on the main file set
delete_source input_system_dir - removes files that updater-script was going to remove
tf_file input_rom_dir patch_file_dir - patch files
As a side note users might also like to flash the firmware.zip that ships in OTA zips etc.
I posted instructions for that here:
http://forum.xda-developers.com/showpost.php?p=40429454&postcount=1400
Please read that some firmware.zip are very partial updates and may only update portions of the bootloader which could leave your device in a broken state.

[ROM] I337UCUAMF3 Unadulterated [8-19-13]

Notice (4/16/14): I'm no longer here. I've said "goodbye" to AT&T and their locked bootloader schemes. I'm voting with my wallet - I've sold my I337 and switched to T-Mobile. My apologies to the community, but you're now on your own here.
"I337UCUAMF3 Unadulterated"
This rom is a 100% pure, untouched copy of the System and Kernel that came with the MF3 OTA update. The first question that many will have is, "Why did you release this - why wouldn't I just use <insert name here>'s stock rom?" It's simple: every other rom in this forum (at this time) has been modified from the original stock rom - whether they've added root, de-odexed it, debloated it, or otherwise. Because the Unadulterated rom is 100% stock (with stock kernel), it is possible for other developers to flash this rom and use it as a platform for attempting to find a root method for the MF3 users out there already. Plus, I like to make my own modifications from a stock base.
UPDATE (8-1-13): a root method has been found for MF3. See thread here. This ROM's purpose has been fulfilled, but your are still welcome to use it, of course!
UPDATE: The MF3 Odin files have been uploaded by @Shockndrop over in his thread here. Remember that the Odin files will flash your bootloader to MF3 (if you allow them), so be careful out there.
Rest assured, this rom will not update your bootloaders, it will not break your custom recovery, and it won't flash your modems. Like most roms, it will simply replace your /system and flash a Kernel. It's also scripted to wipe cache and dalvik for you. It will not wipe your /data partition - you might want to do so if you run into problems, especially when coming from other roms.
Next, you might ask, "How can you say this is 100% stock? How did you construct it?" I'll hide nothing from you - you can build it yourself if you'd like. Here's how I did it:
Rooted with motochopper
Installed TWRP 2.6.0.0
Wiped data & cache
Odin to MDL stock
Allow one full reboot:
Boot script runs (installs CSC - this is REQUIRED for the MF3 update to patch correctly)
Clears up any SysScope flags, etc. that may have persisted from previous rom or root.
"Temporary Root" using motochopper:
Code:
adb shell chmod 755 /data/local/tmp/pwn
adb shell /data/local/tmp/pwn
adb shell rm /data/local/tmp/pwn
NOTE: Possible outcomes of temporary root:
Failure
Success, motochopper exploit hangs, device spontaneously reboots
Success, immediate return to prompt, but adb shell is still not root (indicated by $ prompt)
Success, immediate return to prompt, adb shell is root (indicated by # prompt)
Repeat as needed (usually only twice or so?)
NOTE: Don't both trying to run su. It isn't installed. We're just relying on motochopper to give us a temporary adb root shell.
From adb root shell, installed TWRP recovery:
Code:
dd if=/sdcard/openrecovery-twrp-2.6.0.0-jflteatt.img of=/dev/block/mmcblk0p21
Rebooted, checked to be sure system status is still Official. Note that at this point, we've got a 100% stock MDL rom, without root, but with a custom recovery. Woot.
Rebooted into TWRP, installed custom-neutered OTA update (mf3-sys-only.zip), which only does the following:
Verifies all system files
Removes "unneeded" files (as determined by AT&T, not me)
Patches files
Copies new files
Sets permissions
Patches build.prop
Wiped data & cache for good measure
Booted phone, verified ROM works okay, system status = official. Rebooted, checked Odin Mode:
Code:
CURRENT BINARY: Samsung Official
SYSTEM STATUS: Official
Booted back to TWRP to begin pulling dumps
... Now, on to the good stuff!
ROM Install Instructions:
Download mf3-stock-rom.zip and place it on your internal sdcard.
Make a nandroid backup of your existing system, data, cache, and anything else you deem important (everything!).
Flash/install the zip using your favorite custom recovery. This part should take several minutes - the file is huge!
Optionally, flash any additional Add-ons that you want (e.g. SuperSU for root)
Optionally, flash a custom kernel (use instructions from the kernel's author!). Note that some custom kernels will need you to flash Loki-Doki. The included kernel does not require Loki patching! It is 100% stock, and your system will accept it as-is.
Optionally, wipe /data. You can skip this, but if you get a ton of force-closes or extreme problems, this would be one of the first troubleshooting steps.
Reboot, and enjoy!
Click to expand...
Click to collapse
Important Recommendation:
You are advised to disable the OTA update applications! If AT&T/Samsung release a new OTA update (beyond MF3), it is theoretically possible to download and install it while using this rom! Accepting such an update could do just as much damage as the original MF3 update did. You can easily disable OTA updates from a root ADB shell using the following commands:
Code:
pm disable com.wssyncmldm
pm disable com.LocalFota
pm disable com.sec.android.fwupgrade
You could also use Titanium Backup Pro to accomplish the same thing. I will later look into the possibility of disabling these using a flashable Add-on zip that otherwise keeps your system as stock as possible.
Known Bugs:
If you do not flash a custom kernel, you will lose WiFi. The WiFi in the MF3 Kernel is expecting the MF3 bootloaders, which we aren't flashing. Therefore it breaks.
If you happen to have the MF3 modem/baseband installed, your WiFi might work, but your sound may stop working completely. This is also a result of not having MF3 bootloaders. A custom Kernel should fix this too.
If you use the "remove-SysScope" Add-on, be careful of any other mods that may poke around with SecSettings.apk - these are rare, but there's some risk of conflict here.
With the custom kernel I installed, I frequently received the "The device has detected an application attempting..." message. This can be pinpointed to the KNOX agent, and can be fixed a different ways (your choice!):
I found this post to be very helpful.
You can also try using the command pm disable com.sec.knox.seandroid from a root ADB shell. This just freezes the app. Personally, I used this method.
@jeboo also mentioned that the KNOXAgent.apk can be patched using smali/baksmali. Check out his post about it.
Also with the kernel I installed, there was a bug regarding updating the camera firmware. I was forced to restore the stock kernel temporarily, open the camera app to update the camera firmware, and then re-flash the custom kernel. The original MF3 kernel is included in the Add-ons.
Any other bugs are likely straight from AT&T/Samsung, otherwise they could be from your custom kernel, if you flashed one.
Be sure to make good backups of everything, and be prepared to use Odin back to stock. One member has reported that after flashing away from this rom to any other rom/kernel, their SIM card would not work until they used Odin to return to stock. After Odin, it worked fine.
It seems most custom kernels are expecting you to have an MDL baseband. Some people are reporting strange issues (such as problems with video streaming) when using MF3 modems and their choice of custom kernels. Check out File #11 for various modems, NON-HLOS modems, and kernels.
Custom Kernels:
Here's a list of custom kernels that are known-working with this rom. Please feel free to test and report other working kernels, and I will gladly add them to the list!
@jeboo's Kernel - built for @shoman94's SHOstock rom. Available in post #3 of their thread.
@Jamison904's Bioshock Kernel - available on the Infamous Development Website. This kernel is working great for me - no issues to report at this time. It also includes BusyBox v1.19.3, which was particularly useful for me. It appears that the kernels in their thread require Loki-Doki to be flashed after flashing the kernels. However, the one that I downloaded came from here: http://d-h.st/WVs and it was pre-patched for the I337.
@Jamison904's Infamous Kernel works really well, it seems. It also has BusyBox v1.19.3. I'm currently using v4.0, but there are newer versions available on his Dev-Host folder. These are for the M919, so flash Loki-Doki afterwards if you're on I337!
Downloads:
I've provided the rom in several different formats. When I last tested the odin-flashable tarballs, they did not work for me (due to signatures, etc). However, I'm still providing these for a few XDA members who will be testing them out on their semi-bricked devices. Additionally, someone might be able to get these signed somehow, and I'll leave this hanging out there as an invitation.
File #1 - mf3-stock-rom.zip - CWM/TWRP-Flashable ROM .zip file - created by hand (you are welcome to dissect it if you'd like - take a look inside the updater-script)
Files #2-#7 (individual image files and odin-flashables):
File #2 - system.img.ext4 - EXT4 format copy of the System partition - pulled using make_ext4fs in TWRP:
Used fdisk to obtain partition size:
Code:
# fdisk -l /dev/block/mmcblk0p16
Disk /dev/block/mmcblk0p16: 2894 MB, 2894069760 bytes
4 heads, 16 sectors/track, 88320 cylinders
Units = cylinders of 64 * 512 = 32768 bytes
Disk /dev/block/mmcblk0p16 doesn't contain a valid partition table
Dumped the partition:
Code:
# make_ext4fs -s -l 2894069760 -a system /sdcard/system.img.ext4 /system
Creating filesystem with parameters:
Size: 2894069760
Block size: 4096
Blocks per group: 32768
Inodes per group: 8032
Inode size: 256
Journal blocks: 11040
Label:
Blocks: 706560
Block groups: 22
Reserved block group size: 175
Created filesystem with 3192/176704 inodes and 584765/706560 blocks
File #3 - system.img - Binary copy of the System Partition - pulled using dd:
This was much easier to create:
Code:
# dd if=/dev/block/mmcblk0p16 of=/sdcard/system.img bs=4096
File #4 - boot.img - Kernel - pulled from the OTA update file
File #5 - mf3-sys-boot.tar.md5 - "Odin-flashable" tarball - created without any modification:
Using a Linux PC or Cygwin, executed the following:
Code:
$ tar -H ustar -c system.img.ext4 boot.img > mf3-sys-boot.tar
$ md5sum -t mf3-sys-boot.tar >> mf3-sys-boot.tar
$ mv mf3-sys-boot.tar mf3-sys-boot.tar.md5
File #6 - mf3-sys-boot-sgs4ext4fs.tar.md5 - "Odin-flashable" tarball - "bloated" with Chainfire's sgs4ext4fs
Using a Linux PC (I used Ubuntu 13.04 64bit - couldn't get the win32 version to process the file entirely):
Code:
$ mv ./sgs4ext4fs.linux.amd64 ./sgs4ext4fs
$ sudo chmod 755 ./sgs4ext4fs
$ mv system.img.ext4 system.img.ext4.orig
$ ./sgs4ext4fs --bloat system.img.ext4.orig system.img.ext4
Optionally, you can use the "--list" option to view the file before and after the bloating. Once complete, pack it up in a tarball again.
File #7 - mf3-factoryfs.tar.md5 - "Odin-flashable" tarball - created using the system.img instead:
Using a Linux PC or Cygwin, executed the following:
Code:
$ mv system.img factoryfs.img
$ tar -H ustar -c factoryfs.img boot.img > mf3-factoryfs.tar
$ md5sum -t mf3-factoryfs.tar >> mf3-factoryfs.tar
$ mv mf3-factoryfs.tar mf3-factoryfs.tar.md5
Files #8-#11 (Add-ons!):
File #8 - UPDATE-SuperSU-v1.41.zip - ROOT! Flash this to root your new MF3 rom!
Original is found on Chainfire's website.
File #9 - remove-SysScope.zip - Want to stay "Official", even though you rooted? Flash this! It will remove SysScope and customize your SecSettings.apk to not check for SysScope anymore. Must be flashed before first boot, otherwise you'll just be stuck with a "custom" status until you remove it by some other means.
File #10 - mf3-kernel-only.zip - Want to quickly flash back to the MF3 stock Kernel again? Flash this. No need to use Loki-Doki after flashing this - the I337 will accept this just fine and boot.
File #11 - all-kernel-modem-apnhlos.zip - My personal collection of flashable .zip's of all available versions of the stock kernel, stock modem, and stock NON-HLOS modem for the I337 - including MDB, MDL, MF3. Unzip this file first, and flash individual partitions/versions in whatever combination you want.
Disclaimers, etc.:
I have only tested this with my AT&T Galaxy S4 (I337). While you are welcome to try this with other devices, I can't guarantee anything!
You are free to use this ROM, whole or in part, as a base for any other rom, mod, or otherwise. I do not gain profit from this, and the original rom was of course made by AT&T and Samsung. All I'm providing is a way to install it safely and easily. If you do use this rom as a base, please mention my name in your credits/thanks (thank you!).
I cannot be held liable for any damage you do to your own devices due to not following instructions or cataclysmic events beyond my control. Like any other rom, you assume all risks by flashing it to your device.
If you appreciate my work, please use the THANKS button below to let me know!
reserved...
First .. ..... Hey guess u got ur phone up and running huh ?
Nice post man! I still have hope for your recovery process
Here's another way to remove that annoying message without killing the entire APK:
http://forum.xda-developers.com/showthread.php?p=41794748#post41794748
as expected...
Aou said:
"I337UCUAMF3 Unadulterated"
This rom is a 100% pure, untouched copy of the System and Kernel that came with the MF3 OTA update. The first question that many will have
.......
[*]I have only tested this with my AT&T Galaxy S4 (I337). While you are welcome to try this with other device, I can't guarantee anything!
[*]You are free to use this ROM, whole or in part, as a base for any other rom, mod, or otherwise. I do not gain profit from this, and the original rom was of course made by AT&T and Samsung. All I'm providing is a way to install it safely and easily. If you do use this rom as a base, please mention my name in your credits/thanks (thank you!).
[*]I cannot be held liable for any damage you do to your own devices due to not following instructions or cataclysmic events beyond my control. Like any other rom, you assume all risks by flashing it to your device.[/list]
If you appreciate my work, please use the THANKS button below to let me know!
Click to expand...
Click to collapse
The result was what was expected.
Keeping my fingers crossed for other solutions...
iB4STiD said:
First .. ..... Hey guess u got ur phone up and running huh ?
Click to expand...
Click to collapse
Nope! Ended up needing to replace it, unfortunately. The original is a 100% hard brick. It won't even take the MF3 firmware via JTAG.
jeboo said:
Nice post man! I still have hope for your recovery process
Here's another way to remove that annoying message without killing the entire APK:
http://forum.xda-developers.com/showthread.php?p=41794748#post41794748
Click to expand...
Click to collapse
Awesome - thanks! I'll add that to the list of options. Also, thanks again for your awesome Kernel. v1.4 is exactly what I need for my phone.
SaltyFoam said:
The result was what was expected.
Keeping my fingers crossed for other solutions...
Click to expand...
Click to collapse
This is really unfortunate, but somewhat expected (as you've said). Have you tried the Odin-flooding again (even with the MDL or MF3 Recovery) yet? That was a very interesting accidental discovery you made. I'm going to have to try that myself too! It might have been a fluke, but still worth investigating.
As an update: The last file (mf3-factoryfs.tar.md5) has finished uploading, so I'm adding the link to the OP now.
FINALLY, someone else that respects untouched firmware. Glad to see this.
The odin flooding is not working at this point.
apparently one of the features of the new odin mode (aboot?) is that once it gets the 'failed auth' it stops responding to further pushes. It does not even allow the connection to be setup until a power down and restart.
As you can see in the other thread I submitted a warranty claim and they are replacing the device: as I have no backup device and a family that needs to get in touch with me (i.e. my wife and mother scolding me for not having a phone) I ran out of time...
I still have a few days with the old device before the replacement arrives...
I any case I am off to work.
If anyone wants to help create a flashable-zip that would disable the OTA updates without touching /system, I'm working on it here:
http://forum.xda-developers.com/showthread.php?t=2379517
I just need someone to write something up in a bash script that will make modifications to a file in /data. Should work without rooting the system.
Jah0n said:
FINALLY, someone else that respects untouched firmware. Glad to see this.
Click to expand...
Click to collapse
One thing I've seen in many "stock" roms is: "Completely stock, except for this.... and this.... and this mod I made here.... and this...."
-_-
I was curious - wanted to see what a true stock would feel like after all this time I have been rooted and using custom roms - anyway -I flashed this - everything seemed to work ok - but after restoring a nandroid - I lost data completely - I tried flashing a new rom and I got an error when trying to set it up saying that I needed to install my SIM - I tried to go into settings to add my APN and that error about the SIM came up again and would not let me add APN.
I could not get data to work on any nandroid or new flash and I ended up using odin to flash back to stock and then re-rooted.
I don't know if it was related to this rom -but it seems to be the only thing that could have caused it - unless you have an idea?
We should really team up on something sometime. I just created a hybrid stock UCUAMF3 kernel with the international (i9505) newest XXUBMGA image ROM. I removed the bloat but kept everything that is needed for all the settings to function. It runs so smooth, I'm not sure I want to go back to Google Edition... To release, or not to release. Okay, I'm done rambling. Great work so far from what I see here. Keep em clean!
mocsab said:
I was curious - wanted to see what a true stock would feel like after all this time I have been rooted and using custom roms - anyway -I flashed this - everything seemed to work ok - but after restoring a nandroid - I lost data completely - I tried flashing a new rom and I got an error when trying to set it up saying that I needed to install my SIM - I tried to go into settings to add my APN and that error about the SIM came up again and would not let me add APN.
I could not get data to work on any nandroid or new flash and I ended up using odin to flash back to stock and then re-rooted.
I don't know if it was related to this rom -but it seems to be the only thing that could have caused it - unless you have an idea?
Click to expand...
Click to collapse
It sounds like the other rom you flashed did not have a kernel. Easiest way to check is to open the zip file and check for a "boot.img" - that's the kernel (not the bootloader).
That's strange that your nandroid would not backup Data - did you check that option when you made the backup?
Jah0n said:
We should really team up on something sometime. I just created a hybrid stock UCUAMF3 kernel with the international (i9505) newest XXUBMGA image ROM. I removed the bloat but kept everything that is needed for all the settings to function. It runs so smooth, I'm not sure I want to go back to Google Edition... To release, or not to release. Okay, I'm done rambling. Great work so far from what I see here. Keep em clean!
Click to expand...
Click to collapse
Awesome! If the kernel turns out alright, we could add it to the list in the OP.
Aou said:
It sounds like the other rom you flashed did not have a kernel. Easiest way to check is to open the zip file and check for a "boot.img" - that's the kernel (not the bootloader).
That's strange that your nandroid would not backup Data - did you check that option when you made the backup?
Click to expand...
Click to collapse
The other rom had a kernel, but it doesn't matter because I flashed a different kernel with the other rom - the kernel was not the problem. If it didn't have a kernel, the rom never would have booted in the first place.
The problem is that mobile data did not work - at all. PLUS When I tried to add manually add an APN - it told me that I needed to add my SIM CARD. My SIm Card was fine - I never uninstalled it -
I have flashed and restored hundreds of roms and never had this happen before.
Something happened when I flashed your rom - that wiped out something related to my sim card.
I don't know what that would be - but as a result of flashing this rom - it happened. Just to verify, I redownloaded the rom - flashed it - and the same thing happened the 2nd time.
The phone booted fine and started the setup process - wifi worked fine - but the data bars showed NO DATA. I tried to manually add an APN and I got the same SIM CARD ERROR -so - when I tried to restore a nandroid - I got the same SIM CARD ERROR- I tried flashing a new rom - and got the same error - - the ONLY way I could fix it was to use ODIN and return to stock.
SO - Not sure why I seem to be the only one this has happened to - luck of the draw or something -
mocsab said:
The other rom had a kernel, but it doesn't matter because I flashed a different kernel with the other rom - the kernel was not the problem. If it didn't have a kernel, the rom never would have booted in the first place.
The problem is that mobile data did not work - at all. PLUS When I tried to add manually add an APN - it told me that I needed to add my SIM CARD. My SIm Card was fine - I never uninstalled it -
I have flashed and restored hundreds of roms and never had this happen before.
Something happened when I flashed your rom - that wiped out something related to my sim card.
I don't know what that would be - but as a result of flashing this rom - it happened. Just to verify, I redownloaded the rom - flashed it - and the same thing happened the 2nd time.
The phone booted fine and started the setup process - wifi worked fine - but the data bars showed NO DATA. I tried to manually add an APN and I got the same SIM CARD ERROR -so - when I tried to restore a nandroid - I got the same SIM CARD ERROR- I tried flashing a new rom - and got the same error - - the ONLY way I could fix it was to use ODIN and return to stock.
SO - Not sure why I seem to be the only one this has happened to - luck of the draw or something -
Click to expand...
Click to collapse
Makes a lot more sense now - thought you meant your data partition. >_<
And by another rom not having a kernel, it's still possible for roms to not include a kernel and work - the kernel lies in a separate partition and would remain untouched if the new rom didn't flash this.
I'll add this situation to the bugs list - thank you for the report!
Aou said:
Makes a lot more sense now - thought you meant your data partition. >_<
And by another rom not having a kernel, it's still possible for roms to not include a kernel and work - the kernel lies in a separate partition and would remain untouched if the new rom didn't flash this.
I'll add this situation to the bugs list - thank you for the report!
Click to expand...
Click to collapse
The kernel lies in a separate partition but twrp wipes it away by default so you'd have to unmount the boot partition
Sent from my SAMSUNG-SGH-I337 using Tapatalk 2
Is boot.img a compressed file?
jortex said:
Is boot.img a compressed file?
Click to expand...
Click to collapse
I did not compress it at all. However it is not a full 10MB either. It's the exact file that came from the MF3 update package. The way that the OTA update .zip installs it is by doing this:
Code:
package_extract_file("boot.img", "/dev/block/platform/msm_sdcc.1/by-name/boot");
If you need a full 10MB partition dump (i.e. using dd or a nandroid), I can upload those if you need them for any reason.
UPDATE: I just did a binary comparison of the boot.img that came from the OTA .zip (the one I uploaded), and a nandroid backup I made. It was 100% identical, except the nandroid was padded with zeros at the end (a couple megabytes of zeros...)
Added another kernel to the list:
@Jamison904's Bioshock Kernel - available on the Infamous Development Website. This kernel is working great for me - no issues to report at this time. It also includes BusyBox v1.19.3, which was particularly useful for me.

Looking for June-updated boot image

I want to avoid configuring the system from scratch and thus need to recover the official boot image for PPIS29.65-51-5 for the European version (reteu), which has been available since few days ago.
Does anyone know where to find it?
Stockrom[1] only has the Brazilian version (retbr) and lolinet[2] only has versions up to PPIS29.65-51-3. The Telegram Moto Updates Tracker[3] shows the update, but the download does not work and the older MotoOTA script[4] does not work neither (or I am entering incorrect information) and the newer MotoOTA script[5] needs the build guid, which I do not seem to be able to get from fastboot or TWRP.
If you have a matching model and version, could you please get the boot image[6] and put it somewhere?
[1]: stockrom.net/2020/06/xt2019-2-retbr-9pie-ppis29-65-51-5.html
[2]: mirrors.lolinet.com/firmware/moto/doha/official/RETEU/
[3]: t.me/s/motoupdatestracker?q=%23doha+Retail+Euro+PPIS29.65-51-5
[4]: motoota.lolinet.com
[5]: motoota.lolinet.com/guid.php
[6]: android.stackexchange.com/a/190102
Update
I learned that the former most recent version [7] can be used to find out the guid inside of oem.img inside of that zip file:
ro.mot.build.guid=7d7b4268f01b080
Using that information [5] can be used to download Motorola's OTA zip file. However, that zip file seems to be some kind of patch format (only 72 MB instead of the typical 1.9 GB) not including a (complete) boot.img. As I do not know the file format, I can't patch the new boot.img myself.
[7]: mirrors.lolinet.com/firmware/moto/doha/official/RETEU/XT2019-1_DOHA_RETEU_9.0_PPIS29.65-51-3_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip

Categories

Resources