[2nd-init] Let the ROMs pour in! - Motorola Photon 4G

I ported over 2nd-init for Gingerbread from the Atrix to the Photon. The only thing I changed was init.rc, by replacing it with the Photon's init.rc. The real credit for this goes to eval. He is the one that got it working on Gingerbread for the Atrix.
Requirements:
Rooted Photon
Instructions:
1. Use your favorite method to get http://higgs.cygnusx-1.org/~edgan/2nd-init-Photon-0.9.tar.gz onto the phone in /mnt/sdcard/download
2. Start adb/ssh/terminal
3. Run su to become root
4. export PATH=/usr/bin:/usr/sbin:/bin:/sbin:/system/bin
5. Run mount -o remount,rw /system
6. mv /system/bin/remountpds /system/bin/remountpds.orig
7. Run tar -C / -zxf /mnt/sdcard/download/2nd-init-Photon-0.9.tar.gz
8. Run ls -a -l /system/bin/2nd-init to verify it is there. If it is not there, and you don't know how to fix it, then go to the revert instructions.
9. Reboot phone while holding volume down
10. Wait till you see Fastboot at the top of the screen
11. Press volume down repeatedly till it says USB Early Enumeration
12. Press volume up, and wait for it to boot
13. Start adb/ssh/terminal
14. export PATH=/usr/bin:/usr/sbin:/bin:/sbin:/system/bin
15. mount | grep debugfs
16. Look for good output, but if you get no output, it didn't work.
Good output:
/sys/kernel/debug on /sys/kernel/debug type debugfs (rw,relatime)
Revert instructions:
1. mv /system/bin/remountpds.orig /system/bin/remountpds
Thank you eval!
Thank you bane449!
Thank you Yay!

Happy my work could be of use =) Real credit goes to Skrilax_CZ for writing it!
Anyone curious to know what had to be changed to make it work on Gingerbread should read my posts here:
http://forum.xda-developers.com/showthread.php?t=1139768
http://forum.xda-developers.com/showpost.php?p=15067042&postcount=10
cheers!

edgan said:
I ported over 2nd-init for Gingerbread from the Atrix to the Photon. The only thing I changed was init.rc, by replacing it with the Photon's init.rc. The real credit for this goes to eval. He is the one that got it working on Gingerbread for the Atrix.
Requirements:
Rooted Photon
Instructions:
1. Use your favorite method to get http://higgs.cygnusx-1.org/~edgan/2nd-init-Photon-0.9.tar.gz onto the phone in /mnt/sdcard/download
2. Start adb/ssh/terminal
3. Run su to become root
4. export PATH=/usr/bin:/usr/sbin:/bin:/sbin:/system/bin
5. Run mount -o remount,rw /system
6. mv /system/bin/remountpds /system/bin/remountpds.orig
7. Run tar -C / -zxf /mnt/sdcard/download/2nd-init-Photon-0.9.tar.gz
8. Run ls -a -l /system/bin/2nd-init to verify it is there. If it is not there, and you don't know how to fix it, then go to the revert steps.
9. Reboot phone while holding volume down
10. Wait till you see Fastboot at the top of the screen
11. Press volume down till it says USB Early Enumeration
12. Press volume up, and wait for it to boot
13. Start adb/ssh/terminal
14. export PATH=/usr/bin:/usr/sbin:/bin:/sbin:/system/bin
15. mount | grep debugfs
16. Look for good output, but if you get no output, it didn't work.
Good output:
/sys/kernel/debug on /sys/kernel/debug type debugfs (rw,relatime)
Revert instructions:
1. mv /system/bin/remountpds.orig /system/bin/remountpds
Thank you eval!
Thank you bane449!
Thank you Yay!
Click to expand...
Click to collapse
Thank you very much for all the hardwork and job well done! Do we need to do this thru Terminal Emmulator, or just adb thru command prompt? Please advise.

Wondering what is second init? Me too... Here is the text from and-developers.com's wiki page.
The following binary will basically inject code to /init to “restart itself” allowing you to use custom init binary and init.rc scripts without side effects developed by Skrilax_CZ. Technically using code injection the code to call “execve(”/init”, {”/init”, NULL**, environ);” is injected and the environ variables are read from /proc/1/environ by the binary. Note that this is recomended only to be used with the “sh hijack” or inside recovery. You only need to replace the files in the filesystem.
Click to expand...
Click to collapse

Second init will allow aosp roms to be ran over the stock kernel with the locked bootloader. This is awesome news and i cant wait to see people working on CM7 and just aosp in general. Awesome work again guys
brianez21 said:
Wondering what is second init? Me too... Here is the text from and-developers.com's wiki page.
Click to expand...
Click to collapse
Sent from my MB855 using XDA App

yyess!!!! you guys are the best. Cant wait to see AOSP

What is the difference between this and the cwm bootstrap recovery posted by kennethpenn? Which is better to have?
Sent from my MB855 using XDA Premium App

Two totally different things. This is not a recovery.
sub2k1 said:
What is the difference between this and the cwm bootstrap recovery posted by kennethpenn? Which is better to have?
Sent from my MB855 using XDA Premium App
Click to expand...
Click to collapse
Sent from my MB855 using XDA App

mikeyinid said:
Two totally different things. This is not a recovery.
Sent from my MB855 using XDA App
Click to expand...
Click to collapse
My experience is that they (2nd-init and CWM) are best used together.
I haven't had the chance to use the photon yet but I have worked a Defy and the 2nd-init gives a way to boot directly into the custom recovery which is super handy when you have flashed something that didn't work perfectly.

Maybe i dont fully understand 2nd init then. I know on the Droid X if your running CM7(2nd init) and you try to bootstrap into recovery you have to sbf. Guess I better do some more research...
* I think you misread the question that I was answering or something. He asked what the difference between 2nd init and bootstrap were.
mr_wrong_0 said:
My experience is that they (2nd-init and CWM) are best used together.
I haven't had the chance to use the photon yet but I have worked a Defy and the 2nd-init gives a way to boot directly into the custom recovery which is super handy when you have flashed something that didn't work perfectly.
Click to expand...
Click to collapse
Sent from my MB855 using XDA App

mikeyinid said:
Maybe i dont fully understand 2nd init then. I know on the Droid X if your running CM7(2nd init) and you try to bootstrap into recovery you have to sbf. Guess I better do some more research...
* I think you misread the question that I was answering or something. He asked what the difference between 2nd init and bootstrap were.
Sent from my MB855 using XDA App
Click to expand...
Click to collapse
Sir I yield to your knowledge.
I am admittedly new to Moto phones and I haven't put any custom roms on one except the Defy and I think that one might be a pretty odd duck.
The process on the Defy is: Root first of course (SuperOneClick was what I used) install both 2nd-init and CWM each via an APK.
Then you could restart the phone and when the blue light came on you had to push vol down and choose custom recovery.
I say they are best used together because if you don't have 2nd-init the only way to boot into the custom recovery was to boot into android and open the system recovery app and choose reboot into recovery, but there are times when something goes wrong and it doesn't boot. In that case it's nice to be able to hardware boot into the recovery using 2nd-init.
I understand that he was asking the difference between the two, but I wanted to point out that there are times when they are used together.
After thinking it over it's possible that it wasn't as helpful as I had hoped it would be.
EDIT ** I see you are from Idaho... What part? I'm in northern Utah just across the boarder.

If the photon gets cm7 or asop before ATRIX im going to throw my ATRIX in the ocean and buy an iphone. And never look at android again. Ever. Period.
Sent from my MB860 using XDA Premium App

In step 4 do I actually type export PATH= in adb or does it start with PATH=? Sorry for the noob question im new to this Motorola thing HTC rooting seemed so much easier! Trying to learn all over again. Lol. Actually I love learning all this. I thought I was an expert until getting this Photon.
Sent from my MB855 using XDA Premium App

And now I know what I'm replacing my locked EVO with next month! Strong work!

So, if I have the Bootstrap Recovery installed, how exactly would I go about getting to it from 2nd-init once I have made the necessary changes?
Thanks!

Im wondering the same thing!
Sent from my MB855 using xda premium

I was glad to see there was another option for custom ROMS via 2nd-init. By the looks of the dates on this thread, 2nd-init became a dead issue? That's too bad, reading thru the posts, it sounded promising for a user with a locked bootloader and possibly using Bootstrap Recovery. Guess imma have to do some more research regarding this because the OP, with the Title "Let the ROMS poor in!!" made it seem like everyone develops using 2nd-init or something to that effect!
Maybe with the locked down bootloader on 2.3.5, some one will come back to this and give it another run thru!!?
I'm currently on 2.3.5 and use BSR and am thinking imma run the 2nd-init script to see what happens. I'm just personally not sure where to go or what to do afterwards...
Typed on my Mo-Pho 4G (using SprintRocko235 ROM *locked* over 2.3.5 thru BSR) using xda-premium

Of course, Motorola Defy has CM9 running with less issues, than we have and that all with locked bootloader, because of this tool and Epsylon, Quarx, Maniac and others.
And probably thanks TI, for better development support, then Nvidia.

Here is a good description how 2nd-init works.
http://cvpcs.org/blog/2011-06-14/2nd-init._what_it_is_and_how_it_works
Sent from my MB855 using Tapatalk 2

That was a great read. Its a shame nobody ever developed a cm9 rom for 2nd init but Im not sure cm9 would run so smoothly with the stock Motorola gb kernel. If I remember correctly we ended up unlocking the boot loader about two weeks after this was announced and 2nd init is used for bootstrap recovery so it wasn't an entire waste.
Sent from my MB855 using xda premium

Related

Need help( general ) lg optimus v /vm670

Need help please... fellow vm670 users. (Clockworkmod) not working (rom manager)
Sent from my VM670 using XDA Premium App
Don't use rom manager manually flash recoveries
Sent from my Optimus V
belive me i wont.. I have locked up 2 other optimus v's... I dont under stand i have used rom manager on 2 different. phone models in the past and put custom
roms with no problems... obviously that is not the case with the vm670!!! Well than
Do you have the optimus vm670.... if so
I need some advise .. How do you manualy flash a recovery .... And witch version to use for the Optimus VM670
If you have terminal emulator type
Su
Flash_image recovery /sdcard/recovery.img (your recovery file might be called something else, mine is called vrecovery.img, so I typed that in) then turn off phone, hold the home button, volume down and power until your phone gets past the first LG screen. And I hope you have a backup to load. And don't forget to type su first.
Or you can hook it up to your computer and use adb to type in commands. I haven't tried that yet, so I don't know if the commands are the same.
Sent from my LG-VM670 using XDA App
ok thanks.. so that is what the terminal emulator is for... Well have you ever tried to do something in the past and ended up with a blue screen (fastboot)?
this had happened to me twice already, and had to replace. both devices almost afraid to try anything ... are you currently using
a custom rom? Also what would be the best way to backup with out. using Rom Manager ? or would it be ok to use RM
just for a backup
jessemc said:
ok thanks.. so that is what the terminal emulator is for... Well have you ever tried to do something in the past and ended up with a blue screen (fastboot)?
this had happened to me twice already, and had to replace. both devices almost afraid to try anything ... are you currently using
a custom rom? Also what would be the best way to backup with out. using Rom Manager ? or would it be ok to use RM
just for a backup
Click to expand...
Click to collapse
http://romrepo.info/wiki/index.php?title=Main_Page
Go to the link above and follow step by step, you could have saved your last two phones with this. Once you do this, you should be safe using rom manager on future flashes. I use it all the time... don't skip any steps
And the blue screen is the boot screen, that's about as much as I know a out it, I'm pretty new to all of this, I think it comes up if no recovery is installed
And I am using the most recent aosp cm7 if you follow the link uptop it will walk you through everything, even backing up. Its almost impossible to fully brick these things, and one more thing, leave all files zipped, ce recovery unzips them, they aren't normal .Zip files
Sent from my LG-VM670 using XDA App
Ok thanks...well the only problem is that I really don't have pc access to flash a custom recovery ...sucks..
Also tried to use terminal emulator
No luck.." flash.img not found"
Tons of people blogging same results .. well I guess I will have to wait, for computer access Or an easier way ...What really sucks is that I have a older 2.1 disconnected android with CyanogenMod 7 running android
2.3 Awesome ....
Wish could I could get on my optimus v ! Or something like it
Sent from my VM670 using Tapatalk

New Atrix User needs help

Ok guys so heres the story, I recently smashed my nexus one in the door of my car. It was a very sad affair! Needless to say it was fully rooted, bootloader unlocked, etc. So when I went to the att store I pick up the atrix really like the hardware HATE the motoblur. So I finally got it rooted after a little trouble. Superuser works and I used rommanager to flash the atrix 4g recovery. And now I want to flash the CM7 beta to it but when i try to go into the recovery it goes to this
"failed boot 2"
"Starting RSD Mode"
and it will just sit there forever. What am I missing? I just want vanilla android on this sexy hardware!
thanks in advance gotwake
Need to unlock your bootloader first.
All the info is here:
http://forum.xda-developers.com/showthread.php?t=1154600
Yep, unlock bootloader, no more no less. Also, if you performed an OTA update to 2.3.4 or it came with 2.3.4 (or whatever gingerbread is, i'm new too) then please don't flash anything lower than that or else you'll get a hard brick!
Male sure you "freeze" and not uninstall the Motoblur stuff, since 9 times out of 10 people are scrambling back for stuff they deleted that was stock for whatever reason a lot around here...
Sent from my MB860 using xda premium
Comming from the N1 I know what vanilla android is and I love it.
When I run the auto scrpit it gets to the generating ID: and then says fastboot is not a recongise command
and quits?
what could be the problem. And yes i do have root
gotwake424 said:
Comming from the N1 I know what vanilla android is and I love it.
When I run the auto scrpit it gets to the generating ID: and then says fastboot is not a recongise command
and quits?
what could be the problem. And yes i do have root
Click to expand...
Click to collapse
May have to download the fastboot tools?
Sent from my MB860 using xda premium

(Q) Modifying stock framework

Ok my question is this. I have rooted an unlocked the bootloader on my atrix. Not really impressed with themes that are out there. Most of which have to be applied to custom roms anyway.
I have pulled my blur-res.apk and my frameowrk-res.apk. i have modified both the way i want and whem i try to adb push them. I keep getting permission denied. As well i habe also tried to install them usimg root explorer. After reboot i still have stock framework. What can i do to make my modifications stick?
Also.... how if possible can i change my kernel so that i may overclock, if its even possible on stock firmware. Thanks for your help in advance.
SErooted
Sent from my X10i using XDA App
Make sure your rom is deodexed. Run adb as root permission and faux has a stock kernal that is oc'd
sent from my Atrix via XDA premium
adb remount
marko! said:
Make sure your rom is deodexed. Run adb as root permission and faux has a stock kernal that is oc'd
sent from my Atrix via XDA premium
Click to expand...
Click to collapse
? how to deodex my rom? saw a tutorial but wont work as i run ubuntu and from what i saw you need windows. but correct if wrong
update..... ok i found a deodex .zip for 1.8.3... im hoping that is what i have on my atrix system version is 4.1.26 android version 2.2.1 bb version n_01.77.05p webtop version is 4.257.14
matthew5025 said:
adb remount
Click to expand...
Click to collapse
adb remount not working....
[email protected]:~$ adb remount
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
remount failed: Operation not permitted
[email protected]:~$
SErooted said:
adb remount not working....
[email protected]:~$ adb remount
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
remount failed: Operation not permitted
[email protected]:~$
Click to expand...
Click to collapse
Do you have root access?
You should just flash a stock deodexed rom and start from there
sent from my Atrix via XDA premium
I have root access yes. But still get errors when pushing files...as to a stock deodexed rom..... where can I find one that is not on 4.5.91?
Sent from my MB860 using XDA App
What one are you looking for? There is also a post somewhere (ill try and find it) on how to manually deodex any rom. You needvto be deodexed for that to work
sent from my Atrix via XDA premium
Edit
http://forum.xda-developers.com/showthread.php?t=1162764
marko! said:
What one are you looking for? There is also a post somewhere (ill try and find it) on how to manually deodex any rom. You needvto be deodexed for that to work
sent from my Atrix via XDA premium
Edit
http://forum.xda-developers.com/showthread.php?t=1162764
Click to expand...
Click to collapse
This I understand. however when i have searched for the manual deodex options... search query returns same results of some program that i have to use. unfortunately this program only works on a Windows based machine. I am on Ubuntu 10.04.
All other searches take me to other device forums/threads and still offer no help with doing this on the atrix with/without said Windows program..
i understand i can run it in vbox or an emulator, however my windows xp/7 disks are corrupt and wont let me reinstall. win7 stops install @72% while xp tosses a blue screen.
hence the reason i have ubuntu as my os as it is the only none corrupted disc that i have for an os at this time.:-(
Ok.... here is something that i find interesting.... I am able to change my boot animation using root explorer. set permissions. reboot new animation is there. i have taken the deodex.zip for 1.8.3 and when it rom manager after trying to flash i get the amend script error. It says it was tossed out when they created the GB ready cwm. So how can i get a stock deodexed rom to work with? I am not finding links anywhere that will get me to a download that is a stock deodexed rom.
(Rephrase) I have found a stock deodexed rom based on 4.5.91 however am curious if flashing this( i know this is a stupid question but need to ask) should i worry about not being able to get back to my original stock backup file ( being installed in cwm) and what if any concerns should i have?
You should be fine with that. Flash away. There's always the fruitcakes if something goes wrong
sent from my Atrix via XDA premium
i tried flashing and it doesnt work. also i looked and found that i am running 4.1.26 and believe if i was able to flash the 1.8.3 deodex zip i might be hurting my phone as i am running ubuntu i have now way to recover the device as i cant get the sbf_flash to work on my system
rephrase again..... i tried following the link to the 4.5.91 and the link is no longer valid... someone out there has to have a deodexed 4.1.26 backup or zip. and i am really needing to find one... AARRRGH!!!!!
BUMP Bump ....
I'll look and see what I can pull up
sent from my Atrix via XDA premium
marko! said:
I'll look and see what I can pull up
sent from my Atrix via XDA premium
Click to expand...
Click to collapse
That would be greatly appreciated as i have tried following everylink that i could locate in the forum and to no luck found anything that would help with the 4.1.26. i have eve ninstalled Wine on my ubuntu system in hopes that i could get the Xultimate tool or what ever you want to call it working. Still new to linux so it has been a little hassle making everything work properly.
Thanks again for your help.
I've only ever run linux from usb so I can't help in that respect. What version. The of android was 4.1.26? I can't find any evidence of it ever existing
sent from my Atrix via XDA premium
marko! said:
I've only ever run linux from usb so I can't help in that respect. What version. The of android was 4.1.26? I can't find any evidence of it ever existing
sent from my Atrix via XDA premium
Click to expand...
Click to collapse
4.1.26 is 2.2.1 on my Atrix. i'm guessing it was before 4.2.57 and long before the 4.5.91 that is out now. however i think i am just going to give up on this as none of the threads or forums have anything insightful for me. i was able to install the xutility and run it on my linux machine however i have to run terminal at the same time and switch back and forth between them to even get it to run. Even then I am still only able to get Steps 1 & 2 working. so it looks if i want a deodexed system, i have no choice but to run one of the custom roms. which honestly i dont even want to do.
You don't need a custom rom. I would reccomend just updating to gingerbread at least. There's really not much point of still being on froyo
sent from my Atrix via XDA premium
marko! said:
You don't need a custom rom. I would reccomend just updating to gingerbread at least. There's really not much point of still being on froyo
sent from my Atrix via XDA premium
Click to expand...
Click to collapse
if i do the update, what is the easiest way to get root? will gingerbreak still work or will i have to adb it or have some windows based program? and also, i am curious, with afore mentioned update, will the unlocked in the corner of my screen go way as well?.

[Q] Help attempting to root

Hey guys, I've only rooted a droid razr before and am trying to root my incredible 4g right now but whenever it get to the step below I get the following response: 'adb' is not a valid internal or external command, operable program or batch file. Any ideas? Any help would be appreciated as I am not very experienced at this kind of stuff but love the benefits of being rooted. Also, i did try and search the thread but couldn't find a solution. Thanks in advance. This is the step I'm stuck on:
Close cmd and start a new one then type
Code:
adb pull /sdcard/mmcblk0p4
rrupp said:
Hey guys, I've only rooted a droid razr before and am trying to root my incredible 4g right now but whenever it get to the step below I get the following response: 'adb' is not a valid internal or external command, operable program or batch file. Any ideas? Any help would be appreciated as I am not very experienced at this kind of stuff but love the benefits of being rooted. Thanks in advance. This is the step I'm stuck on:
Close cmd and start a new one then type
Code:
adb pull /sdcard/mmcblk0p4
Click to expand...
Click to collapse
Make sure adb is in your path, or make sure you are in the adb directory when you execute the command.
Jafmf95 said:
Make sure adb is in your path, or make sure you are in the adb directory when you execute the command.
Click to expand...
Click to collapse
How would I do that?
this webpage will help you get setup:
http://wiki.cyanogenmod.org/wiki/Howto:_Install_the_Android_SDK#Windows
it's the instructions I used to install the android SDK and get adb and fastboot working
down towards the bottom there are instructions for installing on Windows (im assuming that's what you have anyway, other directions are on there as well)
Much thanks to both of you! I followed the wikipedia page and am now successfully rooted.
rrupp,
What root method are you using? Just curious...
Fireballas root method
Sent from my ADR6410LVW using xda app-developers app
rrupp said:
Fireballas root method
Sent from my ADR6410LVW using xda app-developers app
Click to expand...
Click to collapse
Download current zip attached since the problem is you dont have android sdk installed or your not running it from there
Sent from my ASUS Transformer Pad TF300T using xda app-developers app
binaryhat said:
rrupp,
What root method are you using? Just curious...
Click to expand...
Click to collapse
There's only one root method isn't there?
andybones said:
There's only one root method isn't there?
Click to expand...
Click to collapse
Well theres the script and the guide which are very different since the manual is for advanced
Sent from my ASUS Transformer Pad TF300T using xda app-developers app
Big Problems
jose51197 said:
Well theres the script and the guide which are very different since the manual is for advanced
Sent from my ASUS Transformer Pad TF300T using xda app-developers app
Click to expand...
Click to collapse
Hello, I finally unlocked and rooted last night, using the automated script. That part went relatively smoothly. I am greatly appreciative of all the efforts to make this available, because i know it wasn't easy. I feel like I'm standing on the shoulders of giants whenever I even attempt something like this, and I'm very grateful. A little background: Over the years I've managed to root every device in my house: a Droid Eris, a Droid Incredible, a Droid 2, a Droid Incredible 2, and a Le Pan tablet. So far, so good, but many of those were pretty simple, one-click, etc. I knew there were complications with the Incredible 4G and I bided my time until it seemed foolproof enough that even I could do it. However, I'm rather worried that I really screwed something up this time:
1) After unlocking and flashing Viper 2.0, I noticed right away that some of the functionalities were missing. Basically everything crashed: the browser, the dialer, messaging app, etc. I was somewhat prepared for this in reading the threads and tried going back into the automated script and choosing option 3 to revert the CID. However, it keeps starting me off at step #1, even though I've chosen #3. Is that correct? How would I go through the whole process again and still get to step #3? Maybe it's because...
2) During the initial installation, being unfamiliar with the TWRP recovery, I think I screwed up by doing a System Wipe (along with the more familiar wipes I would normally do). Looking back at it, is that why basically nothing works? Ex: When I open up the messaging app, it says the app is not even installed. Did I accidentally delete crucial elements? Can I get them back?
3) To really compound things, I forgot to make a backup before I did all this. I realize this was completely stupid, especially now I fear that I have nothing to go back to in terms of a stock image (oops!!)
So, now I'm really stuck. I can follow basic directions, but definitely don't have the knowledge or skill to get creative at this point. Can anyone help?
Thanks
dodgerinNH said:
Hello, I finally unlocked and rooted last night, using the automated script. That part went relatively smoothly. I am greatly appreciative of all the efforts to make this available, because i know it wasn't easy. I feel like I'm standing on the shoulders of giants whenever I even attempt something like this, and I'm very grateful. A little background: Over the years I've managed to root every device in my house: a Droid Eris, a Droid Incredible, a Droid 2, a Droid Incredible 2, and a Le Pan tablet. So far, so good, but many of those were pretty simple, one-click, etc. I knew there were complications with the Incredible 4G and I bided my time until it seemed foolproof enough that even I could do it. However, I'm rather worried that I really screwed something up this time:
1) After unlocking and flashing Viper 2.0, I noticed right away that some of the functionalities were missing. Basically everything crashed: the browser, the dialer, messaging app, etc. I was somewhat prepared for this in reading the threads and tried going back into the automated script and choosing option 3 to revert the CID. However, it keeps starting me off at step #1, even though I've chosen #3. Is that correct? How would I go through the whole process again and still get to step #3? Maybe it's because...
2) During the initial installation, being unfamiliar with the TWRP recovery, I think I screwed up by doing a System Wipe (along with the more familiar wipes I would normally do). Looking back at it, is that why basically nothing works? Ex: When I open up the messaging app, it says the app is not even installed. Did I accidentally delete crucial elements? Can I get them back?
3) To really compound things, I forgot to make a backup before I did all this. I realize this was completely stupid, especially now I fear that I have nothing to go back to in terms of a stock image (oops!!)
Uide
So, now I'm really stuck. I can follow basic directions, but definitely don't have the knowledge or skill to get creative at this point. Can anyone help?
Thanks
Click to expand...
Click to collapse
Try downloading viper again and reflashing and if you want to reverse cid follow the manual guide on bugs section
Sent from my ASUS Transformer Pad TF300T using xda app-developers app
thanks for the response, re-downloaded and am re-flashing now. If that doesn't work, I'm still not clear on how to revert CID using the automated tool (option 3). Do I start from scratch and go through the whole process again? (The first time I tried it I selected option 3, but it started me back at #1, and I doubt I would want to go that route again?
Also, how would I reacquire a stock image, given that I shouldn't have done a system wipe without backing up in recovery first? Is that possible?
dodgerinNH said:
thanks for the response, re-downloaded and am re-flashing now. If that doesn't work, I'm still not clear on how to revert CID using the automated tool (option 3). Do I start from scratch and go through the whole process again? (The first time I tried it I selected option 3, but it started me back at #1, and I doubt I would want to go that route again?
Also, how would I reacquire a stock image, given that I shouldn't have done a system wipe without backing up in recovery first? Is that possible?
Click to expand...
Click to collapse
If you want to return to stock flash a ruu and ill take a look at newer script sijce on this one i didnt collaborate just on the first three but now will modify it to include new options
Sent from my ASUS Transformer Pad TF300T using xda app-developers app
jose51197 said:
If you want to return to stock flash a ruu and ill take a look at newer script sijce on this one i didnt collaborate just on the first three but now will modify it to include new options
Sent from my ASUS Transformer Pad TF300T using xda app-developers app
Click to expand...
Click to collapse
thanks I'll give it a shot to try to get back to stock in the meantime. I located the files. There are 4 of them. I assume I need them all?
dodgerinNH said:
thanks I'll give it a shot to try to get back to stock in the meantime. I located the files. There are 4 of them. I assume I need them all?
Click to expand...
Click to collapse
Which files are you talking about? Btw i think more files more error less
Sent from my ASUS Transformer Pad TF300T using xda app-developers app
jose51197 said:
Which files are you talking about? Btw i think more files more error less
Sent from my ASUS Transformer Pad TF300T using xda app-developers app
Click to expand...
Click to collapse
andybones posted 4 files:
stock boot; stock hboot; stock recovery; stock radio
Then I looked a little further and found the full RUU (575 MB), so not sure which route I should go?
I did notice other people getting error messages and were told they needed to re-lock in order to flash the RUU. Is that correct? Keep in mind, I'm just trying to get a working phone again until I can regroup and figure out how to revert CID from the automated script. I am unlocked and rooted.
thanks,
dodgerinNH said:
andybones posted 4 files:
stock boot; stock hboot; stock recovery; stock radio
Then I looked a little further and found the full RUU (575 MB), so not sure which route I should go?
I did notice other people getting error messages and were told they needed to re-lock in order to flash the RUU. Is that correct? Keep in mind, I'm just trying to get a working phone again until I can regroup and figure out how to revert CID from the automated script. I am unlocked and rooted.
thanks,
Click to expand...
Click to collapse
in order to flash the RUU in bootloader you need to first lock it, this goes even for my s-off phone, but once you are unlocked you are good to go, so even if you deleted your Unlock_code.bin you can always re-run the process to get it back.
the codes to lock and unlock are
lock
fastboot oem lock
unlock
fastboot flash unlocktoken Unlock_code.bin
andybones said:
in order to flash the RUU in bootloader you need to first lock it, this goes even for my s-off phone, but once you are unlocked you are good to go, so even if you deleted your Unlock_code.bin you can always re-run the process to get it back.
the codes to lock and unlock are
lock
fastboot oem lock
unlock
fastboot flash unlocktoken Unlock_code.bin
Click to expand...
Click to collapse
Thanks, you guys have been great. I'll try everything you've suggested. Sorry to continue taking up so much of your time. I knew when I woke up today it would be a pretty unproductive Sunday, but I have to get my phone working again, particularly since I need it for work. After that, I really do want to have a successful install of Viper 2.0 because it looks pretty sweet. At least this time I'll be smart enough to make a backup before I plunge ahead!! But one more question for the time being:
Can I flash the RUU from the TWRP recovery, or does re-locking eliminate my ability to go that route?
Also, do I need to rename the RUU before flashing, regardless of whether I use the bootloader or TWRP recovery (if possible)?
dodgerinNH said:
Thanks, you guys have been great. I'll try everything you've suggested. Sorry to continue taking up so much of your time. I knew when I woke up today it would be a pretty unproductive Sunday, but I have to get my phone working again, particularly since I need it for work. After that, I really do want to have a successful install of Viper 2.0 because it looks pretty sweet. At least this time I'll be smart enough to make a backup before I plunge ahead!! But one more question for the time being:
Can I flash the RUU from the TWRP recovery, or does re-locking eliminate my ability to go that route?
Click to expand...
Click to collapse
Twrp doesntaffect anything but just flash it from exe or bootloader
Sent from my ASUS Transformer Pad TF300T using xda app-developers app

[MJ9 LOCKED BL][AlPHA]SafeStrap 3.7.1-v1[i605]

Welcome to Safe Strap Alpha Build for the Note 2
Please Read all OP before proceeding as this is an Alpha Build
The following is Hashcode's OP just edited for our device as is Safestrap so all credit goes to Hashcode for his amazing app!
VERIZON SAMSUNG GALAXY NOTE 2 (T0LTEVZW)
*** DISCLAIMER ***
I work on projects that may brick your device. Don't sue me, hate me or try and kill my dog if that happens. I will feel bad the community will feel bad and hopefully we'll find a way to get you going again. But, the very nature of my projects involves a certain amount of risk taken by YOU. And by using the projects that I work on, you've accepted that fact.
CURRENTLY THERE IS AN UNKNOWN ISSUE WHERE IF YOU HAVE ENCRYPTION ENABLED AND INSTALL SS IT BOOTLOOPS. IF YOU FIT THIS DESCRIPTION PLEASE STAY AWAY FROM SAFESTRAP FOR NOW.
CURRENT PROJECT STATUS:
v3.71: Debugging some rom-slot issues (can't create any atm)
WHAT IS SAFESTRAP?
Safestrap is a Bootstrap / Recovery for locked bootloader phones. The goal is to avoid touching your primary system (I'll call this "stock" system) and only flash or make large changes to another place on your phone that Safestrap treats as a "2nd system" (in this case, it's a series of virtual ROM slots located on the internal emmc area: "/sdcard"). Once installed, you will see a "Splashscreen" giving you the option to hit "menu" to enter recovery. The recovery portion of Safestrap is now based on TWRP 2.7.0.0 (a touch based recovery) and you can perform .zip installs, backups and restores here. The additional features I've added to TWRP are mostly located under the "Boot Options" menu:
Here you can create virtual ROM-slots (2 on the Note 2 due to partition size and internal space) for flashing ROMs. These ROM-slots allow for 3 different sizes of /data partitions: 1GB, 2GB and 3GB. NOTE: The bigger you make the /data partition the less room you will have to make other ROM-slots.
You can activate a new ROM-slot by choosing the slot you wish to make active and then selecting the "Activate" button. Once active, you will see the "rom-slot#" up in the top of the screen shown in green. If you make the "stock" ROM active, then you can see it in the top shown in red.
Once a ROM-slot is active, all actions you would normally perform using TWRP are directed to that ROM-slot. For example, "Install" to flash a .zip, backup and restore.
For more information you can read up here:
http://blog.hash-of-codes.com/how-to-safestrap/
HOW DO I INSTALL SAFESTRAP?
Requirement: Root
Requirement: Allow APK install from Unknown Sources
Download the Safestrap APK
Find the APK using a Filemanager tool and open it on your device, then click "Install".
(If updating from an existing Safestrap you might be warned that this will over-write the existing installation. Click the "Yes" equivalent to this message.)
Once installed, open up the Safestrap application as you would any other app.
Agree to the disclaimer that you won't try to sue me and hunt me down with a rifle if you manage to break your phone..
Then use the "Install Recovery" button. You should see the current version down in the lower left corner of the window. And the "Status:" should say "Installed" when you're done.
From there you can reboot and you *should* see a new splash screen during the boot up. While this is showing you can enter Safestrap Recovery using the [ menu ] button.
That's it for the installation! Read below for a brief overview of Safestrap Recovery v3.x
HOW DO I ENTER RECOVERY?
During each reboot a splashscreen will be displayed showing whether the device is running a rom-slot or on the "Stock ROM".
Press under the button shown on the screen to either enter "RECOVERY" or "CONTINUE" booting.
By "under", I mean on the touch key portion of the front display on either side of the center button.
DOWNLOADS:
CONFIRM THAT YOU ARE USING A VERIZON WIRELESS SAMSUNG GALAXY S NOTE 2
FOR USERS OF MJ9:
USE 3.71+:BETA Safestrap-t00ltevzw-3.71.apk (updated 2014-3-24)
only Mirror = SafeStrap v1
Bugs
1. Can't create Rom Slots
2, This is just an Alpha build for those who want to replace the Stock rom; must modify rom to not install boot.img because then you will have to flash back to stock.
Example of modification needed to for rom to work
Example i used the N3bula rom
1. unzip rom and go to the updater-script and aroma-config
2. compare these 2 files aroma-config and updater-script with the original files and you'll see what i removed in order to make it work.
ALSO DOWNLOAD THE KERNEL MODULES .ZIP THAT MATCHES YOUR BUILD # (FLASH THIS AFTER ROMS):
None needed at the moment.
HOW TO MANUALLY REMOVE SAFESTRAP:
[ INSTRUCTIONS ONLY FOR v3.65. REMOVE VIA APK FOR v3.70+ ]
Enter adb shell from your pc:
Code:
su
mount -o remount,rw /system
mv /system/etc/init.qcom.modem_links.sh.bin /system/etc/init.qcom.modem_links.sh
rm -rf /system/etc/safestrap
rm /system/etc/firmware/q6.mdt
ln -s /firmware/image/q6.mdt /system/etc/firmware/q6.mdt
mount -o remount,ro /system
As of version 3.7x, Safestrap Recovery is now based on TWRP 2.7.0.x. For more on TWRP you can visit their website: http://www.teamw.in/
WARNING: Safestrap is heavily modified to be "Safe" for your device. Do not download TWRP from their website and expect it to work the same way. Also TWRP does not support Safestrap, tho some issues that may come up will be TWRP dependant, please try and contact myself or look on the forums for your device for answers before hunting down TWRP people. They won't be able to help w/ Safestrap specific questions.
For the purposes of direct user testing I've established a channel on freenode.net IRC: #safestrap
I'm in the channel mostly all the time, but may not be active for discussion.
This thread is a development ONLY thread.
For discussion go here:
http://forum.xda-developers.com/showthread.php?t=2682577
Contributors
Hashcode, DeesTroy & TeamWin
Version Information
Current Alpha Version: 3.71
Beta Release Date: 2013-12-27
Created 2014-03-22
Last Updated 2014-03-24
mine
FYI you can now install this app regularly like any other app instead of having to drop it into /system/app/.
enjoy
Great job.
Awesome news! Excited to see this grow.
Sent from my SCH-I605 using Tapatalk
Thank you so much this happened perfect timing. Just got a replacement a few days ago. I love this community lol
Sent from my SCH-I605 using Tapatalk
HerroMoto said:
Thank you so much this happened perfect timing. Just got a replacement a few days ago. I love this community lol
Sent from my SCH-I605 using Tapatalk
Click to expand...
Click to collapse
Lol just make sure you read up its an alpha build and rom slots are not available right now you can only flash over stock rom and no kernels can be flashed.
I ♥ this community as well lol
Sent from my SCH-I605 using Tapatalk
Yay!
Sent from my SCH-I605 using Tapatalk
I flashed like 3 or 4 touch wiz roms. It's safe to say all 4.3 touch wiz roms are good to go
Excellent work. Will be great when it goes to official and final. Many people are stuck with these replacement phones under fort knox
Sent from my SCH-I605 using Tapatalk
italbomber said:
Excellent work. Will be great when it goes to official and final. Many people are stuck with these replacement phones under fort knox
Sent from my SCH-I605 using Tapatalk
Click to expand...
Click to collapse
Well people who really dont want that stock system can flash roms now
roflcoptersoisoi said:
I flashed like 3 or 4 touch wiz roms. It's safe to say all 4.3 touch wiz roms are good to go
Click to expand...
Click to collapse
Names and issues/resolutions?
Ill put what roms work on post 3
Sent from my SCH-I605 using Tapatalk
italbomber said:
Excellent work. Will be great when it goes to official and final. Many people are stuck with these replacement phones under fort knox
Sent from my SCH-I605 using Tapatalk
Click to expand...
Click to collapse
There's a possible downgrade method but requires shorting resistors
Will probably play with this tonight I can't wait. My girlfriend is going to go back to hating me again lol. Also, for instance if I flash N3bula will everything work normally doing it through safestrap as long as I modify the zip like we should? There are no other problems?
Sent from my SCH-I605 using Tapatalk
HerroMoto said:
Will probably play with this tonight I can't wait. My girlfriend is going to go back to hating me again lol. Also, for instance if I flash N3bula will everything work normally doing it through safestrap as long as I modify the zip like we should? There are no other problems?
Sent from my SCH-I605 using Tapatalk
Click to expand...
Click to collapse
Im actually on n3bula and no issues so far some users have said flashing it as is has worked but I took the safe route and removed
boot.img and editter aroma.
Testing roms for 24 hrs to see if theres any issues.
Note 3 feats are pretty tight
roflcoptersoisoi said:
There's a possible downgrade method but requires shorting resistors
Click to expand...
Click to collapse
Debricker? Anyone got it working? Cus that would be bada$$
Sent from my SCH-I605 using Tapatalk
What do we need to remove from the scripts?
Sent from my SCH-I605 using Tapatalk
laxattack said:
What do we need to remove from the scripts?
Sent from my SCH-I605 using Tapatalk
Click to expand...
Click to collapse
Pretty much the lines that tell the installer to flash the boot.img(kernel)
OK thank you didn't want to remove anything I didn't need to
Sent from my SCH-I605 using Tapatalk
Beastmode said:
Im actually on n3bula and no issues so far some users have said flashing it as is has worked but I took the safe route and removed
boot.img and editter aroma.
Testing roms for 24 hrs to see if theres any issues.
Note 3 feats are pretty tight
Debricker? Anyone got it working? Cus that would be bada$$
Sent from my SCH-I605 using Tapatalk
Click to expand...
Click to collapse
I'm gonna test it as soon as I get my hands on a micro sd sd adapter.
I'm not home atm but I will get the rom names for you when I get home friday. Also if anyone has any problems/questions you can pm me
You are amazing I never though I would see a custom rom on my phone again after I got my replacment back from Samsung.
I just picked up micro SD to SD adapter. I will be testing the unbricker downgrade method this weekend
Sent from my RM-915_nam_usa_228 using Tapatalk

Categories

Resources