• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root [Virgin Mobile] [VMOBI][ROM][KERNEL] Victorious ROM + VaeVictus OC kernel (Updated 7-30-13)

While searching for a way to manually install the Superuser binary, I came across a Superuser website and found the binary file as well as the zip file for install. So I figured I would just try installing the latest version and hopefully that will take care of the problem. The only thing I didn't notice was it was the SU by DDChains. Phone started fine and went through the same Superuser's binary is out of date so I clicked on install, and then a window popped up asking for me to grant permission to Superuser. I clicked yes and low and behold, the original Superuser binary updated.

I snooped around to try to find a way to uninstall the SU by DDChains and found the Disable button and clicked disable. Now Superuser seems to be working just fine. My questions are, could TWPR be messing with the phones root when is tells you that root has been lost, after flashing a kernal, would you like to fix and I select yes? And 2, is it OK to leave the SU by DDChains installed but disabled?

Yes it is possible TWRP was messing with your su binary, but it usually doesn't cause issues.

The easiest way to uninstall all other versions of Superuser and install Koush's version is to run his zip file, which can be downloaded from the bottom of the description section of his app in the Play Store. Just open the store, search for Koush, choose the app with the # icon, expand the description section and scroll down to the bottom, then click the link for the flashable zip file. This zip file will uninstall pretty much every version of superuser before installing it's own binaries and apk file.
 
....
Edit 2: I never did get a successful update message, so I started installing one at a time. All installed successfully. It now boots and says the correct vaevictus kernel and victorious rom numbers.

However. The internal2external script is not working. The internal storage is reporting as 1.73GB and my external as 25.99. So I am not sure the tweaks portion took. I will back up where I am now and try from that step on.

Edit 3: The scripts and tweaks zip fails to install with the message set_perm_recursive() expects 4 args got 286352
Derpage, only set the permissions for the folder, forgot to set it for the folder's contents, try this:
http://jerryscript.vmobi.us/Victorious/components/Victorious-Scripts-Tweaks%28fixed%29.zip

pcmxa said:
Media Fonts& Extra apps failed to install. Can't read the error as it is off the screen. something system(0)? Went ahead and installed the rest, but Tweaks also failed to install. So I am running 0.3.1, but without whatever is in those components (the media and tweaks sections
Kitchen failure, the wrong updater-binary got cooked into that zip file, try this:
http://jerryscript.vmobi.us/Victorious/components/Victorious-Media-Fonts-Extra-Apps(fixed).zip

Thanks for testing and troubleshooting!
 
Can someone please post the mount script to install a custom recovery, i just flashed stock mg5 recovery and now i need the mount script to flash twrp, i dont have a pc or id use odin like i did the first time, im going to use terminal emulator
Download this file and place it on your sdcard:
http://jerryscript.vmobi.us/twrp-recovery.img
Note- The image is 10.5mb because the dd function copies even empty space.

Once the file is on your sdcard, open terminal emulator and type the following:

EDIT: You have to use the verbose file path, I've updated the code below:
Code:
su
dd if=/sdcard/twrp-recovery.img of=/dev/block/platform/msm_sdcc.1/by-name/recovery
reboot recovery
Note- if your sdcards are not currently swapped, use this code:
Code:
su
dd if=/mnt/extSdCard/twrp-recovery.img of=/dev/block/platform/msm_sdcc.1/by-name/recovery
reboot recovery
That should write the twrp 2.4 recovery image and then boot you into it to see if it worked.
 
As another data point for you, it took me a couple tries, but I did get 0.3.1 working last night. Everything seems to be functional, although I'm getting the rare hang->reboot and I'm not sure if it's a problem with link2SD, victorious, or something else.

Things I learned along the way:
Install a replacement keyboard and set as default while stock (pre-Victorious)... Jerry, correct me if I'm wrong, but Victorious strips out the Samsung keyboard? The first two times I tried installing, I was getting a hang->reboot as described above, but after a couple reboots trying to figure out the problem it appeared to me to be caused by bringing up text edit boxes (i.e. keyboard calls with no keyboard installed). I could be wrong though, I didn't do exhaustive testing or pull logcats.

Also, read the directions, and follow them very closely. Nuking everything, restoring to stock and starting from scratch helped prevent/isolate any issues.

Setting up Link2SD is a PITA and Android can get really flakey about system apps. Had to go back to my TWRP backup and re-install a couple times because I:
  • forgot to install Link2SD and set up mount scripts beforehand
  • forgot to delete scripts from /system/etc/
  • tried moving google keyboard to /system/apps/ and got stuck in a boot loop (wtf?)
I think that's it, but it definitely felt like I was restoring -> re-installing over and over. :o Those were all (AFAIK) user error though. I read and re-read the directions, but it's not my Nook Color or Optimus V. Knew those like the back of my hand and could flash them in my sleep.
 
The apk and most of it's files are still stored in the data partition, swapping the sdcards only allows the large secondary files some apps use to be stored on the larger sdcard. Links2Sd will actually move the apk and it's associated files to the 2nd partition instead of leaving them in the data partition. It's not perfect, but it does allow for a lot more storage for app junkies!

I've got Link2SD working now, which makes me less opposed to using it in the future and I like not having anything on the internalSD. Is there a reason that we can't just remap /data to the externalSD? I'd be happy to not use internalSD at all, or maybe have it mounted as extra storage.

<-- needs to learn more about Android-specific file systems
 
Download this file and place it on your sdcard:
http://jerryscript.vmobi.us/twrp-recovery.img
Note- The image is 10.5mb because the dd function copies even empty space.

Once the file is on your sdcard, open terminal emulator and type the following:
Code:
su
dd if=/sdcard/twrp-recovery.img of=/dev/mmcblk0p18
reboot recovery
Note- if your sdcards are not currently swapped, use this code:
Code:
su
dd if=/mnt/extSdCard/twrp-recovery.img of=/dev/mmcblk0p18
reboot recovery
That should write the twrp 2.4 recovery image and then boot you into it to see if it worked.

So I downloaded your recovery file, it came as a .txt file i just renamed it to .img file, I used the scripts on both after putting it on the root of my sd card, when i put it into the emulator it showed it was writing it such as bits in and bits out and bits per second, i hit enter went to recovery and its the same recovery mg5 stock i tried that 5 or times, even tried different recovery imgs and put it on my internal and used the other script without any luck. I need some expert advice man(:
 
Alright. With the fixed files, started over again. All 5 installed fine and device booted normally. I did run into a couple of issues though everything seems to be working.

First, during boot, after the Victorious screen the virgin mobile video plays. The top half of that is cut off and two identical side by side purple versions of the android bubble play. Not sure if that is normal?

Second. I was getting a crashing issue. I tracked it down to Google Play Music. I had forgotten I had used links to move the caches and files to the external SD. with the int2ext script these links pointed nowhere and that was causing the whole system to lock up. Deleted the links and everything worked fine.

Third. link2sd asked what my partition format was with the options reboot or cancel. Selecting ext4 and hitting reboot allows link2SD to rewrite its mount scripts, which in my case, disabled the int2ext swap script. I reinstalled the five separate components (in order bu all at once) and rebooted. This time link2sd popped up a dialogue box that had three options: cancel, quick mount, and reboot. I hit cancel. rebooted and everything is fine now.

So, like ewichern says, make sure you are following the directions closely, particularly with Link2SD and if you are using links.

I will try and make a backup of where I am now and flash Victorius 0.3.1 to see if the hang during boot still happens later today.
 
Alright. With the fixed files, started over again. All 5 installed fine and device booted normally. I did run into a couple of issues though everything seems to be working.

First, during boot, after the Victorious screen the virgin mobile video plays. The top half of that is cut off and two identical side by side purple versions of the android bubble play. Not sure if that is normal?

Second. I was getting a crashing issue. I tracked it down to Google Play Music. I had forgotten I had used links to move the caches and files to the external SD. with the int2ext script these links pointed nowhere and that was causing the whole system to lock up. Deleted the links and everything worked fine.

Third. link2sd asked what my partition format was with the options reboot or cancel. Selecting ext4 and hitting reboot allows link2SD to rewrite its mount scripts, which in my case, disabled the int2ext swap script. I reinstalled the five separate components (in order bu all at once) and rebooted. This time link2sd popped up a dialogue box that had three options: cancel, quick mount, and reboot. I hit cancel. rebooted and everything is fine now.

So, like ewichern says, make sure you are following the directions closely, particularly with Link2SD and if you are using links.

I will try and make a backup of where I am now and flash Victorius 0.3.1 to see if the hang during boot still happens later today.

Thanks for the thorough testing! I think it would be best for me to package the next release as components, and have people flash what they want. ;)
 
So I downloaded your recovery file, it came as a .txt file i just renamed it to .img file, I used the scripts on both after putting it on the root of my sd card, when i put it into the emulator it showed it was writing it such as bits in and bits out and bits per second, i hit enter went to recovery and its the same recovery mg5 stock i tried that 5 or times, even tried different recovery imgs and put it on my internal and used the other script without any luck. I need some expert advice man(:

OK, looks like we have to do it the verbose way:
Code:
su
dd if=/sdcard/twrp-recovery.img of=/dev/block/platform/msm_sdcc.1/by-name/recovery
reboot recovery
I just tested this method, first I was on TWRP and I used this code to flash stock recovery, booted into recovery and it was stock. Rebooted into system, and used the above code to flash twrp-recovery, booted into recovery and it is TWRP.

Note to self: Build flash_image binary for the Victory, soooo much easier. ;)
 
I tried to install but im softbricked at the samsung logo and followed the steps to update to the tee i check my settings and im on new firmware mg5, i dont know what i did wrong, i guess i need to redownload everything and start from scrach. but ffrom g60madmans backup it works with mg5 update, thank god i made a backup, jerryscript any help or bug noting is appreciated thankyou
 
I tried to install but im softbricked at the samsung logo and followed the steps to update to the tee i check my settings and im on new firmware mg5, i dont know what i did wrong, i guess i need to redownload everything and start from scrach. but ffrom g60madmans backup it works with mg5 update, thank god i made a backup, jerryscript any help or bug noting is appreciated thankyou
Read the last two pages of this thread, look for the components ;)
 
Thats why I haven't tried this yet, I haven't seen one person thats got this right (besides the devs), I can't afford to lose my phone, the last victorious is good, and everything works, no need to ruin a good thingg hah, I shall wait..
 
Thats why I haven't tried this yet, I haven't seen one person thats got this right (besides the devs), I can't afford to lose my phone, the last victorious is good, and everything works, no need to ruin a good thingg hah, I shall wait..

Yeah, I don't blame you. Once my boss gets back from Cyprus, I'll be able to give more attention to the forums. Sorry, just not enough hours in the day right now.
 
Thats why I haven't tried this yet, I haven't seen one person thats got this right (besides the devs), I can't afford to lose my phone, the last victorious is good, and everything works, no need to ruin a good thingg hah, I shall wait..
Same here, although I'm getting tired of the update offer I prefer a working phone.
 
If you are having trouble with Victorious-0.3.1, and if you have the time, please restore your stock backup and flash the update-no-props zip, then install Victorious by it's components. Please take the time to flash them in order, and attempt to boot up each time. Hopefully we can narrow down your issue.

  1. Deodexed System Apps and Framework
  2. Media, Fonts, & Extra Apps (fixed) (gallery4.3, wifi tether, and Playstation)
  3. Superuser, Busybox, & Libs (video player libs)
  4. Scripts & Tweaks (fixed) (sdcard swap, links2sd, and build.prop tweaks)
  5. VaeVictus-MG5-OC-Rv3 Kernel
If you have errors flashing any of these, please let me know, it will most likely just be an updater-script issue I can fix quickly.

Flash the first one, then try to boot into the system. If everything works, flash the second one and repeat, continuing flashing and rebooting into the system to check if everything is working. Let us know if any of these components replicates the issues you are having.

Thanks for helping to narrow this issue down!

Which one gets rid of the bloat? I don't need to debloat or deodex. Basically I want the SD swap and tweaks, the extra apps and vaevictus. Can I do just a couple components?
 
Actually, that raises a good question. How does flashing without wiping system remove bloat? Does the 'update' flash of Victorious actually remove apps, or unlink them or what?

I went nuts with TiBackup after I rooted, before Victorious was an option. Still works great, but a lot of stuff is missing. *cough* half the system apps.

Do I need to go back to stock before flashing a full Victorious build?

Thanks for breaking the components down Jerry, now I can get the build.prop tweaks without Victorious. Maybe I can finally break 13000 :).

Edit: do I need to do anything to prep for flashing the scripts over a stripped stock with vae kernel?

I have an ext4 partition already from when I tried to get link2sd working on my Optimus, so just flash and presto swapped?

Edit edit: with scripts and kernel flashed over stock, seems somebody could then take a couple hours carefully deleting apps with Ti to make their own optimized and 100% personally tailored build. Nifty!
 
Actually, that raises a good question. How does flashing without wiping system remove bloat? Does the 'update' flash of Victorious actually remove apps, or unlink them or what?

I went nuts with TiBackup after I rooted, before Victorious was an option. Still works great, but a lot of stuff is missing. Do I need to go back to stock before flashing a full Victorious build?

Thanks for breaking the components down Jerry, now I can get the build.prop tweaks without Victorious. Maybe I can finally break 13000 :).

Edit: do I need to do anything to prep for flashing the scripts over a stripped stock with vae kernel?

I have an ext4 partition already from when I tried to get link2sd working on my Optimus, so just flash and presto swapped?

Edit edit: with scripts and kernel flashed over stock, seems somebody could then take a couple hours carefully deleting apps with Ti to make their own optimized and 100% personally tailored build. Nifty!

Yep yep! You can just flash a Kernel right over without wiping anything.
For your ext4 partition you will need link2sd, best just to install it and then flash the zip to enable the swap.

And yes Victorious does prune out and remove system apps that arent necessary. If you need any of them you can save the apks from stock, or better yet, use Jerry's deodexed versions.
 
I would have to install link2sd, and then use the script to build the links? Does ccomponent 1 then include the link2sd app? Or is it in component 2, extra apps? Jerrys instructions start with stock but he doesnt mention installing it.
 
I would have to install link2sd, and then use the script to build the links? Does ccomponent 1 then include the link2sd app? Or is it in component 2, extra apps? Jerrys instructions start with stock but he doesnt mention installing it.
Links2Sd is optional, you can install it if you have partitioned your sdcard and take advantage of linking your apps to your that partition. I do not include it because I have not seen it mentioned by the developer that is it ok to include it in custom ROMs. The Scripts & Tweaks file contains my modified links2sd script. You can flash it, or just create an /system/etc/init.d folder if you don't have one, then copy the two files to:
/system/etc/install-recovery.sh
/system/etc/init.d/11extsd2internalsd
Set permissions on the files to the same as the rest in your /system/etc folder, and reboot.
 
Which one gets rid of the bloat? I don't need to debloat or deodex. Basically I want the SD swap and tweaks, the extra apps and vaevictus. Can I do just a couple components?
Yes, each of those components should be able to be flashed alone. The sdcard swap is in the Scripts & Tweaks file. The extra apps are obviously in the Media Fonts & Extra Apps file. ;)
 
So, just to be super clear, link2sd is not included or considered an extra app, but if you choose to install it before flashing the scripts will make it work, and if not they're benign and you'll just get the build.prop with the scripts or victorious without swap if you flash the whole build?
 
So, just to be super clear, link2sd is not included or considered an extra app, but if you choose to install it before flashing the scripts will make it work, and if not they're benign and you'll just get the build.prop with the scripts or victorious without swap if you flash the whole build?
If you flash the scripts & tweaks zip, it will simply copy those scripts, tweaks, and the build prop over, it doesn't include any apps. It has the two files for swapping sdcards and mounting the 2nd partition for links2sd, the build.prop and features.xml with their tweaks, and the playstation permissions file.

If you don't use links2sd, it doesn't matter. If you do, install it before you flash the zip file, and let it create mount scripts. Then either manually copy my scripts, overwriting theirs, or flash the scripts & tweaks file in recovery.
 
Sorry, I wasnt very specific, I meant included in the extra apps component . As in, would you have to install link2sd before flashing victorious from stock or before flashing the components in order. (Which you just answered).

Thanks for your patience.
 
Back
Top Bottom