[ROM] [ALPHA] [WIP} AOSP 7.0 Lollipop for Nexus Q -1/15/17 - Nexus Q Android Development

READ IN ENTIRETY BEFOR INSTALLING
I have procured a new Nexus Q. Work has resumed on Android 7.0, from a hardware and specs standpoint, there is no reason to think that this device is not capable of running Nougat if the Galaxy Nexus can. Stay tuned for a build in the coming weeks, I will also be uploading this project to github shortly
AOSP 7.0 Nougat for Nexus Q
Code:
Quote:
DISCLAMER
Your warranty is now void.
I am not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed. Please do some research if you have any concerns about features included in this ROM before flashing it! YOU are choosing to make these modifications, and if you point the finger at me for messing up your device, I will laugh at you.
Working:
TBD
Not Working:
TBD
Recovery
https://drive.google.com/file/d/0B7WYr1U8sRRAM1d3czhER0RoTGM/view?usp=sharing
./fastboot flash recovery
MAKE A BACKUP BEFORE INSTALLING AND SEND ME A LOGCAT WHEN YOU ENCOUNTER ISSUES SO I CAN TRY TO RESOLVE THEM
DL Link (Google Drive):
***LINK REMOVED*** -
Anyone interested in an early build send me a PM

Nice! Thanks very much for this! I'll try it when I'm back home in a few days. I was planning to try and work on this myself but perhaps I can transfer some efforts over to Android TV. Do you have the source for this on GitHub as that could also be really helpful - that way a few of us can contribute to help fix things etc.

New build coming soon with proper sources and fixes posted to GitHub. Also, if anyone would be interested, I believe that it may be possible to use an OTG webcam for Skype/etc.

Great stuff, thanks for doing this. Should be able to get android TV then since it's just a separate launcher.

Hmm, not having any luck flashing this. I get an "Installation aborted" error. What recovery are you using?

New build. Testing needed.

jyeley5 said:
New build. Testing needed.
Click to expand...
Click to collapse
What are the changes?

jyeley5 said:
New build. Testing needed.
Click to expand...
Click to collapse
This one seems to flash now (although it completes suspiciously quickly) but attempting to boot results in just a black screen over HDMI. I can't take a logcat because of the device permissions but is does show up with ADB so it presumably it is at least booting the kernel and a some core system but seemingly nothing past that - not even a boot animation.

wollac11 said:
This one seems to flash now (although it completes suspiciously quickly) but attempting to boot results in just a black screen over HDMI. I can't take a logcat because of the device permissions but is does show up with ADB so it presumably it is at least booting the kernel and a some core system but seemingly nothing past that - not even a boot animation.
Click to expand...
Click to collapse
Updated the CM base and merged some changes that I've been porting over. Did you install over another build or wipe fresh?

jyeley5 said:
Updated the CM base and merged some changes that I've been porting over. Did you install over another build or wipe fresh?
Click to expand...
Click to collapse
It was a fresh install, cleaned system, data and cache.

wollac11 said:
This one seems to flash now (although it completes suspiciously quickly) but attempting to boot results in just a black screen over HDMI. I can't take a logcat because of the device permissions but is does show up with ADB so it presumably it is at least booting the kernel and a some core system but seemingly nothing past that - not even a boot animation.
Click to expand...
Click to collapse
Try installing over a working CM11 build. Can you get me a logcat if that still doesn't resolve the issue?

jyeley5 said:
Try installing over a working CM11 build. Can you get me a logcat if that still doesn't resolve the issue?
Click to expand...
Click to collapse
I just tried flashing over Cm11 and nothing so far. Seems also to not boot. The speed at which it flashes in recovery says to me something isn't right with the updater script. There is no way it is copying the 255MB contents onto the Nexus Q in that time. Cm11 (which is smaller) takes far longer.
I tried to get a logcat but as before I am not able to get one of the boot attempt as the device appears as offline (because I can't authorise the PC RSA keys with adb as that would need Android to finish booting at least once). I can get you a recovery log or a logcat while flashing the Zip from recovery if you like but that's about it.
Have you actually had this booting on a Nexus Q then at all yet? And if so, how exactly did you install it, with which recovery and if over another ROM which one was it?

Possibly stupid question...
I'm new to this forum, at least posting here. So, since the Nexus Q app is no longer supported, how does one enable USB debugging on the Q? Any redirects and help would be greatly appreciated! I just got a brand new Q today for $10 at a local Goodwill (accompanied by fellow Q's). I was very sad to see these are no longer factory-functional.
If this is the wrong place to post, I apologize in advance, and would gladly accept on where-to-post details.
Thanks!

Natodroid1 said:
I'm new to this forum, at least posting here. So, since the Nexus Q app is no longer supported, how does one enable USB debugging on the Q? Any redirects and help would be greatly appreciated! I just got a brand new Q today for $10 at a local Goodwill (accompanied by fellow Q's). I was very sad to see these are no longer factory-functional.
If this is the wrong place to post, I apologize in advance, and would gladly accept on where-to-post details.
Thanks!
Click to expand...
Click to collapse
You've replied to a post about a specific custom ROM in the development section (which is completely the wrong place) and failed follow the XDA rule of searching before asking a question, because if you had you'd find the answer has already posted multiple times. Not trying to be harsh or rude - just letting you know!
If you have general questions or need help you should really go to the the "Nexus Q Help, Q&A and troubleshooting" section.
However, the situation is that you can't enable debugging on the stock ROM, but you can boot the Nexus Q into fastboot mode by holding your hand over the Q while you turn it on - this will make the led turn and stay red if successful (nothing will be shown onscreen). From there you can unlock your Q and boot a custom recovery image by issuing the correct fastboot commands from your PC. The custom recovery allows you to flash a custom ROM. The stock ROM is no use without the app which cannot be registered anymore since the servers are down.

Huge update, let me know how it's working

jyeley5 said:
Huge update, let me know how it's working
Click to expand...
Click to collapse
How to install this? Please give us some instruction.

Recovery added to original post, flash in fastboot. An amplifier build will be posted as soon as I finish it.

I keep getting "Installation aborted" when trying to flash. Not sure what I'm doing wrong. Used the recovery you just posted.

jyeley5 said:
Huge update, let me know how it's working
Click to expand...
Click to collapse
Tried to flash this latest version but it seems that there is an error in the updater-script. I get a status 6 error in recovery: "Installation Aborted".
Edit: So I edited the updater-script to remedy the status 6 error and then it progressed through most of the way before giving a status 7. I managed to fix the status 7 with a further edit to the updater-script but it still won't boot anything at all. I cannot take a logcat because it isn't booting anything at all and so there is no adb server.
I presume that you have this running on your Q but if you do then you clearly did not use the ZIP that was provided as that doesn't work. Do you have the system images which you just flashed from the bootloader with fastboot? If so perhaps you could share those so I could have a go flashing those instead and see if it will boot then.

wollac, you are correct in stating that I posted the wrong build (uploaded the wrong zip from my dev folder. However, the build I MEANT to post is booting on my Q, though BT and the Amp are not working yet. I'm a tad scatterbrained with finals, but I am compiling a new build that should hopefully resolve the bluetooth issues at least, and I will upload as soon as it's done.

Related

[MOD] [Update:5/5/2011] BootMenu - Recovery, 2nd Init , v0.5.1

NOTICE: Sorry Guys, As i lost my defy, i will not be able to work for defy anymore So i will not be able to maintain this thread as well. Racca is maintaining another thread with updates for this bootmenu here which can now be called the official thread.
Hello XDA,
[Notice: You might have checked my signature and already figured out that i lost my Motorola Defy So i will be no longer able to develop anything for defy. I will not be able to edit the boot menu and optimize it, but i will still post all the updates i get from Korean Developers. I am sorry to say that i will not be able to work on porting MiUi to Defy anymore. I hope some other developer will handle the work and port MiUi to Defy. Just reply to this thread if you have anything. Thank You]
This is a pre-boot menu that loads just before the android system starts, which allows you to enter recovery, start adb daemon, run 2nd init script, run 2nd boot and few more. I recently changed the format of this post so that i can easily add updates, and i hope you guys don't mind it, and if you want to check the old post, here is the link. I have also added an unofficial changelog. This MOD was developed by Korean Developers at http://cafe.naver.com/androiders, so big thanks goes to them.
Status: Beta
Latest Version: v0.5.1
Last Update: 4/16/2011
Usage:
Load second init.rc file which enables you to do a lot of things that were not possible before.
Load custom recovery before booting os, which makes it possible to restore your nandroid backup or flash a new rom even if your system is not booting.
Run ADB Daemon to debug system boot using logcat or similar tools, very useful for developers.
Change the default boot to 2nd init, so you can load the 2nd init on default boot.
And much more....
Download:
Version 0.5.1 (Latest)
Version 0.5.0
Version 0.4.5
Version 0.3.1
Version 0.2.0
XDA-Developer Forum Members, Download Latest Attached File, Non-Members, Click Here.
Upgrading:
Simply follow the installation instructions, it will overwrite the old version and install the new one.
Installation:
Download the latest zip file.
Create a folder “bootmenu” on your sd card and extract all the files inside the zip file there.
Turn on usb debugging on your phone. And use the following commands in adb:
C:/> adb shell
$ su
# cp -R /sdcard/bootmenu /data/bootmenu
# cd /data/bootmenu
# chmod 755 *
# ./install.sh
# rm -R /data/bootmenu
Click to expand...
Click to collapse
The bootmenu will be installed.
Turn off USB Debugging.
Restart your device once.
Check the Using "Pre Boot Menu" section for instructions on how to use.
Using Pre Boot Menu:
Turn your phone off.
Press the Power Button.
After 1-10 seconds, the blue led on your phone will light up for just 1.5 seconds (Still while the Motorola logo is being displayed).
Exactly when the led lights up, press the volume down button.
You will see the BootMenu, use the Volume Button to navigate up and down, and the power button to select an item.
Changelog:
Version 0.5.1
Bug Fixes
Minor Internal Script Changes
Version 0.5.0
Bug Fixes
Few Changes In UI (Background)
Updated All Scripts, Better Compatibility With Most ROMS
Changed Directory Structure
Version 0.4.5
Bug Fixes
Changed Name Of OpenRecovery To Custom Recovery
ADB Daemon Works Now
Few Minor Changes...
Version 0.3.1
Replaced Tenfar's Recovery With OpenRecovery
Added 2nd Init Script
Bug Fixes
Minor UI Enhancements
Version 0.2.0
Initial Release
Added BootMenu
Added Tenfar's Recovery
What Works:
BootMeu
ADB Daemon
2nd Init
Custom Recovery
Default Recovery
Setting 2nd Init As Default
Reboot
Normal Boot
What Doesn't Work:
2nd Boot (Can Be Done Via 2nd Init Though)
Credits:
Korean Developer "ohnholic" and Other Korean Developers for creating this
Korean Forum User "intohim" for providing me this file and helping me translate Korean things to English.
Korean Forum User "고봉현" for mailing me about the updates as soon as they are released, and also for providing some files.
XDA Developer "tenfar" for his ClockWorkMod Port To Defy.
Developer "Koushik Dutta" for ClockWorkMod.
XDA User "pedrodh" for creating an easy installer.
And everyone i forgot to mention....
Related Projects:
Easy Installer (APK) for this MOD.
Cyanogenmod 7 Port Based On 2nd Init Using This MOD (Under Developement)
MiUi Port Based On 2nd Init Using This MOD (Under Developement)
P.S. I do not take any responsibilities for the damages caused by this tool. If you brick your device, the most i can do is *help* you recover your system. So use it on your own. Works on my phone.
This will be impressive when 2nd-init works.
Thanks for everyone working in things like that!!
P.S. It's working here!
does this mean custom kernels? once it gets figured out?
mussio said:
does this mean custom kernels? once it gets figured out?
Click to expand...
Click to collapse
Well, not right now, but once the korean developers figure out a way to bypass the recovery signature verification, which is of course, not easy, we will be able to do that too. And according to what i kknow, the korean devs are working really hard on that. But this definitely means that we are one step closer.
So for now this makes flashing Roms easier? safer? sorry if i seem confused i'm not getting my Defy till Monday just want to clarify if i should flash Roms this way or follow directions dor each rom, all this sbf files and being able to downgrade is kinda confusing I never had a android phone with a locked bootloader so all this is new to me.
hope that makes sense.
mussio said:
So for now this makes flashing Roms easier? safer? sorry if i seem confused i'm not getting my Defy till Monday just want to clarify if i should flash Roms this way or follow directions dor each rom, all this sbf files and being able to downgrade is kinda confusing I never had a android phone with a locked bootloader so all this is new to me.
hope that makes sense.
Click to expand...
Click to collapse
Well, this doesnt really make flashing roms easier (its same recovery), but it definitely makes it safer as you can always restore your nandroid or flash another rom even if your phone stops booting. And i can totally understand you, the way motorola works is a bit different than HTC and other phones, sbfs and stuff like that, but dont worry, if you read the guides here -> http://forum.xda-developers.com/showthread.php?t=919334 , you will understand everything. Enjoy
That are very great news!!
Does I have to install this after every new firmware-flash or only after a bootloader up/downgrade?
wow... great news..
now we don't have to boot up the phone, and install custom recovery.
saving time
Can't wait to see custom kernels
"intohim" what a great nick... hahahahahaha!
sorry, great news & big props to the korean devs!
That sounds pretty awesome, will try later. I would have saved a lot of hours with that... anyway, I'll save them by now
Sent from my Defy running adlxmod using Tapatalk
Oh, now disabling USB debugging is not required! Bravo!
I have not disabled USB debugging and I have M boot loop. Now reflashing to try again.
For everyone - do not forget to turn off usb debugging. Now it´s working and I am going to try it some more.
Edit: Finally the true, fully working recovery. With Tenfar´s recovery, this is the best developed thing for Defy, since Defy´s release
and it´s worth the donation. About only 5 minutes to recover bricked system.
I only hope some day adb will be working too, but this is great enough for now.
How can I get root-access after starting adb via the bootmenu?
Currently, it's not working for me:
$ su
[1] Segmentation fault su
Click to expand...
Click to collapse
Does this mod mean that Cyanogen is coming to Defy???
hirano said:
Does this mod mean that Cyanogen is coming to Defy???
Click to expand...
Click to collapse
Not yet. We need the 2nd-init working to do that.
antony.ps said:
Can't wait to see custom kernels
Click to expand...
Click to collapse
not possible unless someone can crack/get the lock
it's a great improvement but no where near custom kernels
afaik, this is another "bootstrap" executed on boot except it resumes normal boot after 2 seconds or so.
if we can get 2nd-init to work with it, we might finally be close to getting what milestone already have.
peetr_ said:
I have not disabled USB debugging and I have M boot loop. Now reflashing to try again.
For everyone - do not forget to turn off usb debugging. Now it´s working and I am going to try it some more.
Edit: Finally the true, fully working recovery. With Tenfar´s recovery, this is the best developed thing for Defy, since Defy´s release
and it´s worth the donation. About only 5 minutes to recover bricked system.
I only hope some day adb will be working too, but this is great enough for now.
Click to expand...
Click to collapse
Curious, just in case anyone has already tried and can give an answer: when installed, is outer persistent after you flash a sbf? Or is it overwritten by the sbf? Does anyone know? (i mean, afaik /pds isn't restored with sbf, mess with it and you get a brick! )
Sent from my Defy running adlxmod using Tapatalk
Any news from the Koreans who develop this recovery?
Sent from my MOTO Defy
demolition23 said:
Any news from the Koreans who develop this recovery?
Sent from my MOTO Defy
Click to expand...
Click to collapse
Nope, i have just emailed "intohim" and asked him to come online, as he is the only one who can read korean, and the korean page doesnt work here for some reason. I will update as soon as i get a reply
adlx.xda said:
Curious, just in case anyone has already tried and can give an answer: when installed, is outer persistent after you flash a sbf? Or is it overwritten by the sbf? Does anyone know? (i mean, afaik /pds isn't restored with sbf, mess with it and you get a brick! )
Sent from my Defy running adlxmod using Tapatalk
Click to expand...
Click to collapse
Sorry to say, but nope, this is not hardcoded in to rom or is not replaced in place of original recovery as the bootloader is still locked. And installing a sbf update is like replacing everything on the phone with the contents from sbf. So it wont work if you reflash the sbf, unless it is included in the mod or rom you installed. Some developers have just contacted me and said that they are going to include this on their rom. So future defy roms are going to be more safe

The officially unofficial Tiamat Moray ROM Q&A Thread

This thread is an attempt to help out the Tiamat Developers by answering the frequently asked questions in one consolidated thread. This thread should also be helpful to those who either cannot use the search feature or are having a hard time figuring out the correct search terms to find what they are looking for. If you have suggestions or added questions/answers feel free to reply and I will update the OP.
NOTE: I am not a developer. All of the information in this thread is from other members who have helped me out or information I found in the XDA forums. I do not take credit for any of the great work that has been done on this ROM and I will point back to the original answer when possible. I am only trying to help lessen the burden on the developers so they can spend more time getting us the best features. Hopefully you find this helpful as well.
I've flashed this ROM and now I get update notifications. Should I accept the update? How do I stop these notifications?
No, you should never accept an OTA upgrade when using any custom ROM/Kernel. This could result in severe problems. Your best bet is to be patient and give the developers time to react. If the update is worthwhile I am sure they will roll it out pretty quickly.
To get rid of the notifications flash Mod pack 3 as noted here.
OK I made the mistake of accepting the OTA update and now my Xoom won't boot. What can I do?
okantomi said:
Can you make it reboot by pressing volume up and power at the same time and holding? If it reboots, wait about 3 seconds once you see the dual core logo and then tap volume down you shoud see android recovery, then tap up to choose it. I hope you did a nandroid backup. If not, you can try and get fastboot by tapping volume down sooner after it reboots.
Click to expand...
Click to collapse
From this thread.
With this ROM certain websites don't load correctly or I can't get to the mobile version of a site.
This ROM by default sets the User Agent String to "desktop". If you want to revert to the stock settings flash either Mod pack 1 or 2 depending which version of Moray you are running. Look here.
I flashed this ROM and now when I click links in email or my file explorer the screen just dims and nothing happens.
This is a bug in Android 3.2 and not specific to this ROM. To solve this, simply ensure auto-rotate is enabled and rotate the device from landscape to portrait and back to landscape. The app chooser window should appear allowing you to choose which app to open the selected file.
I just flashed this ROM and the speed is amazing, so I OC'd it to 1.7GHz cuz I want more and I am now stuck in a boot loop. This worked for others why not me?
The Xoom was only specified to run at 1.0 GHz, anything beyond that is a gift. Due to part-to-part variation not everyone's Xoom will be stable at the same speed. Yes some people are able to run at 1.7 GHz, but many cannot. For your specific Xoom try out the various speeds, but do NOT click "Set on Boot". This way if it crashes it will revert back to stock speed and you will be able to boot. Once you are satisfied with a speed then feel free to enable "Set on Boot". Before you do so I would suggest making a nandroid backup so you can restore just in case.
How do you get out of this boot-loop? The only way I know of is to boot into recovery and restore a nandroid backup if you have one or perform a full wipe if you do not.
I updated to the latest CWM and I cannot find the zip card or I get "get error: E:failed to mount /sdcard (No such file or directory)."
Latest is not always the best, for the Xoom you need to either use ClockworkMod 3.2.0.0 (R4C) or CMW Rogue Recovery v1.1.1
After flashing this ROM the Motorola icon gets distorted during boot up, is that a problem?
Basically it is not a problem. This kernel has a patch provided by NVidia which causes the distortion during boot. It does not cause any problems after it boots.
Is there a way to get the stock WiFi and Battery icons?
Yes
How do I boot into recovery without ADB or my PC attached?
There are a couple methods.
1) The latest Tiamat ROM includes this if you press and hold the power button. Just pick what you want and hit OK.
2) Download and install "Quick Boot" from the market. It gives you the above options as well as others when you run the app.
3) Turn the Xoom on, wait ~2 seconds after your see the Dual Core logo, then press the volume down key. In the upper left corner it should say "Android Recovery", then press the volume up key to select it.
How do I get started? Any good guides?
There are several guides that are pretty good. The best one I have found and personally used is here.
The Xoom Heaven thread found here is also a good place to start for all sorts of information.
If you have another question please feel free to post to this thread. If you are having a problem or have a question it is likely that someone else along the lines will have the same problem or question. I will continue to update this OP with the list of F.A.Q.s.
Additional Q&As
After installing this ROM I am having issues with the market not finding all of my apps or apps are giving errors when trying to install them.
See this post for one possible solution.
One more for good measure...
HuckFinn, I think you have covered most of the hot issues. Great job!
Stickied. Thanks for posting this, and Solarnz for giving me the heads up to do so.
Sorry for the newb question, but what's "root"?
Psychokitty said:
Sorry for the newb question, but what's "root"?
Click to expand...
Click to collapse
oh kitty, you funny!
Psychokitty said:
Sorry for the newb question, but what's "root"?
Click to expand...
Click to collapse
It's what you pull your hair out by when something is not working properly!!
darn you... I earned 1/2 my posts responding to the "why does my screen dim" question... now I'll have nothing to say!
i performed a factory reset from the os-> settings and once again performed a wipe/factory reset from the cwm recovery but still can't get back to the initial setup screen (where you enter your google a/c, etc)
any idea?
Thanks!!
Here is one..
Why does Market show up in USD even though my locale is set to UK, my language is English British along with my keyboard layout?
Ive had boot loops twice. Both times i could get into recovery but could not get backup to restore . kept getting cant read /sdcard. also cant reinstall update .zip becuase the sd card wont mount. I have only gotten back in by letting it sit powered off for a bit.
any ideas?
should i adb a stock image and start again?
should i flash a different recovery?
madamimadam said:
Ive had boot loops twice. Both times i could get into recovery but could not get backup to restore . kept getting cant read /sdcard. also cant reinstall update .zip becuase the sd card wont mount. I have only gotten back in by letting it sit powered off for a bit.
any ideas?
should i adb a stock image and start again?
should i flash a different recovery?
Click to expand...
Click to collapse
What version of recovery is installed now? If you have the version that doesn't recognize your external sdcard you should certainly flash a compatible recovery version through fastboot.
okantomi said:
What version of recovery is installed now? If you have the version that doesn't recognize your external sdcard you should certainly flash a compatible recovery version through fastboot.
Click to expand...
Click to collapse
Is there a way to check version without booting into recovery? Which version would you suggest?
And thank you
madamimadam said:
Is there a way to check version without booting into recovery? Which version would you suggest?
And thank you
Click to expand...
Click to collapse
There are only two recoveries compatible..
you will find them in the Xoom Android Developmet Board in the sticky threads
LPHS said:
There are only two recoveries compatible..
you will find them in the Xoom Android Developmet Board in the sticky threads
Click to expand...
Click to collapse
OR here:http://forum.xda-developers.com/showthread.php?t=1209341
Links to both of these recoveries are also in the first post of this thread.
HuckFinn said:
Links to both of these recoveries are also in the first post of this thread.
Click to expand...
Click to collapse
Guess I should have read the thread before posting here, sorry for being a troll.
I tried this ROM on my 4G Xoom, but it left me without 4G or 3G (wifi only). Any way to get this working, or do I have to wait for an update?
I did try activating the network in settings, but it never connected even half an hour.
Thanks to steps mentioned by user 'LordDeath' in another thread and a bit of experimenting with a rooted 4G Xoom and a friends 3G Xoom running Moray, there seems to be a remedy for those who are having issues with the market compatibility issues as well as missing apps. I did not activate until attempting to sign in to the market and had missing apps and compatibility issues. I simply did a full wipe & reset and made sure the full activation went through in set up then let it automatically start restoring. I took a peek in the market after a a minute and all my apps were back with no compatibility issues. Here is a copy of his original post and mine but the last step was not needed for me.
Originally Posted by LordDeath
Something more about the market:
After I restored my backup of the official 3.1 ROM I still had some issues. On http://market.android.com I still saw that my Xoom is not compatible with some apps. The market app on the device did show these apps but upon installing I got the error message: "Fehler beim Verarbeiten des Kaufs". Translated into English it means "Error while processing the purchase". It was a free app, btw.
To solve this issue I did the following:
1. Wipe data/factory reset
2. Active the device during the wizard on the first boot with my Google account
3. Restore the nandroid backup of the official 3.1 ROM
Therefore it seems that the market servers check your device-compatibility only during the activation process at the first startup.
----------------------------------------------------------------------------
"This fixed everything for my friend running Moray and even corrected the issues on my 4G Xoom..."
I should add that though this fixes the issue, if you change your pixel density you may run into similar issues but can correct it by setting it back to 160 before going into the market.

[Q] I think I killed my Nexus S! Please help! (unlocking process/rooting stuff)

So, this is what has happened so far:
I googled for a small and easy to follow guide to unlock my phone so that I can later on install a custom rom. I followed the steps provided here:
http://nexusshacks.com/nexus-s-hacks/how-to-root-nexus-s/
What I didn't notice on the first place was the "UPDATE: DO NOT FOLLOW THIS GUIDE INSTEAD Please see new root method which works on all Nexus S and Nexus S 4G!" link. Don't ask why - really don't know.
The result was having my Nexus S stuck on a screen that shows Google logo on the middle and an unlocked padlock on the bottom.
It seemed, or to be exact, I figured out that, the problem was the .img file mentioned on some point in the middle of this.. tutorial.
So, I decided to follow the newer guide that can be found here:
http://nexusshacks.com/nexus-s-hacks/how-to-root-nexus-s-or-nexus-s-4g-new/
Although all went well (didn't have to go all over the same processes up to the .img installatin point), I ended up with the same screen that shows Google logo on the middle and an unlocked padlock on the bottom.
I figured out that I could just install a rom at this point, and decided that I should go back to stock. So, I followed this guide here:
http://nexusshacks.com/nexus-s-hacks/how-to-unroot-nexus-s-i9020ti9020ai9023/
But, when I choose to install the .zip file, I get this error:
assert failed: "getprop ("ro.product.device") == "crespo" || "getprop ("ro.product.device") == "crespo"
E: Error in /sdcard/i9020t_i9023.zip
(status 7)
Installation aborded
..let me add to this point that I have bought my Nexus S from EU, it is an i9023. Let me also add that all I wanted is to flash an ICS rom and I think I have ended with a f****d device I don't know what to do with!
Any help, really, would be so much appreciated since I need to use this phone. I have a backup for calls etc but I need some smartphone features!
I seriously doubt you killed your Nexus S. Temporarily disabled is more like it.
From off position, hold down Power + VOL-UP. You should be greeted with a screen with a green android and 4 options. If you can get there, that's the bootloader, and unless you manage to kill it (which is VERY hard to do), you can reflash everything from there via usb and adb.
What model Nexus S do you have? That's important for helping you to flash it.
nickmv said:
I seriously doubt you killed your Nexus S. Temporarily disabled is more like it.
From off position, hold down Power + VOL-UP. You should be greeted with a screen with a green android and 4 options. If you can get there, that's the bootloader, and unless you manage to kill it (which is VERY hard to do), you can reflash everything from there via usb and adb.
What model Nexus S do you have? That's important for helping you to flash it.
Click to expand...
Click to collapse
Yes, I can enter this menu - there already. My model is an i9023GSM.
OK, then you DONT have a dead phone. You just need to reflash it correctly.
I'm sorry I can't be helpful for longer, because I am at work,but follow this guide and make sure you follow every detail (take note of step 6 in particular).
I know it's a long guide, but it's VERY detailed, and should get you up and running.
On a side note, for ROM selection, are you looking for an Ice Cream Sandwich alpha ROM (android 4.0) (less stable) or the older Gingerbread ROMs (2.3.7)?
nickmv said:
OK, then you DONT have a dead phone. You just need to reflash it correctly.
I'm sorry I can't be helpful for longer, because I am at work,but follow this guide and make sure you follow every detail (take note of step 6 in particular).
I know it's a long guide, but it's VERY detailed, and should get you up and running.
On a side note, for ROM selection, are you looking for an Ice Cream Sandwich alpha ROM (android 4.0) (less stable) or the older Gingerbread ROMs (2.3.7)?
Click to expand...
Click to collapse
You gave me the good news so, thank you for that. Now, I should follow this guide and come back in case I have a problem.
As far as the rom, I wanted to flash an ICS since I cannot wait any longer for Google to release the official update. But right now, anything that can get my device up and running would be really good!
Edit: nvm. >_<
kijp15 said:
Why don't you just use shabby's one click root. Simple & much easier. Saves all sorts of troubles.
Click to expand...
Click to collapse
Will this solve the problem I'm facing? If yes, then it's fine by me.
Ok, just saw the edit, no worries!
nickmv said:
but follow this guide and make sure you follow every detail (take note of step 6 in particular).
I know it's a long guide, but it's VERY detailed, and should get you up and running.
Click to expand...
Click to collapse
OK, stuck already. On Part 2 what I understand is that I have to open the CMD and copy-paste the path to the "tools" folder? Because this is what I do, and after - since this is what I have understand - I type "fastboot oem unlock" and I get "'fastboot' is not recognized as an internal or external command,
operable program or batch file."
What do I do wrong?
EDIT:
Tottaly stuck on Part 2. It seems that there is no fastboot.exe file inside "tools" folder. I don't think the problem is something else - I'm sure I give the right commands since I tryied for fun another folder I have with fastboot.exe inside and it worked - to be exact it just gave me a FAILED messsage since device is already unlocked. Plus, regarding Part 3, Step 1, the first file for download is missing so I used the second link and downloaded 5023-cyan file. Hope this was a right move to do.
EDIT 2:
Ok, here is the story so far: I followed the guide given step by step. The USB drivers has been installed correctly so the device can be connected to the PC.
In the "tools" folder there was no such fastboot.exe file so I manually added one that I've found on the newer guide given on the 1st post. The unlocking process is failing because the device is already unlocked.
I did manage to install after this, the 5023-cyan.img file since this is the only link working from Part 3, Step 1. This gone well too!
Now, I couldn't go on with Part 4, I mean, I could not install the .zip file as it describes so through recovery mode I installed the .zip file succesfully (confirmation message to Nexus S screen).
I reboot and still get the same Google logo on the middle and an unlocked padlock on the bottom.
I cannot understand what I do so wrong? Oh, I'm so disappointed..
OK, people, head's up! I did manage to install the latest stable rom of cyanogenmod and the phone is up and running! It means that somehow everything went well! Now, how do I return back to OEM? Because I just need to make things as they where before..
..or should I give cyanogenmod a chance?
http://forum.xda-developers.com/showthread.php?t=1063664 or use ROM manager and select Stock ROM (you should then receive OTA upgrades to 2.3.6).
On the latter: You colud just back up different ROMs and switch between them using CW.
skatastamoutrasas said:
Will this solve the problem I'm facing? If yes, then it's fine by me.
Ok, just saw the edit, no worries!
Click to expand...
Click to collapse
If you are still facing problems. Try locking your bootloader again with this method. Then it will let you go back on stock. Use v3 it is stable solid and easy to use.
Nexus S + CM9 kangs = Awesomeness
mixtapes08 said:
If you are still facing problems. Try locking your bootloader again with this method. Then it will let you go back on stock. Use v3 it is stable solid and easy to use.
Nexus S + CM9 kangs = Awesomeness
Click to expand...
Click to collapse
Can you give me a CM9 kangs link since as new here, I'm kinda lost?
Ok new problem this time! After I installed my 3rd rom (probably, a totall noob thing to do) which was the OEM one, I tryied to re-enter recovery mode to wipe all data and re-install the rom I want. But now I get this mark of the small green android with a big exclamation mark on top of his head. What is this new hell that found me?
skatastamoutrasas said:
Ok new problem this time! After I installed my 3rd rom (probably, a totall noob thing to do) which was the OEM one, I tryied to re-enter recovery mode to wipe all data and re-install the rom I want. But now I get this mark of the small green android with a big exclamation mark on top of his head. What is this new hell that found me?
Click to expand...
Click to collapse
Try re-flashing the recovery. Either threw rom manager or fastboot.
Fastboot flash recovery "nameofrecovery".img
kijp15 said:
Try re-flashing the recovery. Either threw rom manager or fastboot.
Fastboot flash recovery "nameofrecovery".img
Click to expand...
Click to collapse
Worked just fine! Thank you!
skatastamoutrasas said:
OK, people, head's up! I did manage to install the latest stable rom of cyanogenmod and the phone is up and running! It means that somehow everything went well! Now, how do I return back to OEM? Because I just need to make things as they where before..
..or should I give cyanogenmod a chance?
Click to expand...
Click to collapse
Nice, glad to see you managed to get it working. Honestly, the hassle is kind of worth it, because you learn more about the process anyways.
That being said, give CyanogenMod a chance. There's also several other ROMs. Unless you need stock OS for warranty service, I'd recommend going with one of the many custom ROMs we have here.
There are several minimalistic AOSP-built ROMs that mimic the feel of the stock OS, but are optimized for speed, and still have some very nice tweaks that you may enjoy. Just take a look through the dev section, and you'll see we have tons of options.
nickmv said:
Nice, glad to see you managed to get it working. Honestly, the hassle is kind of worth it, because you learn more about the process anyways.
That being said, give CyanogenMod a chance. There's also several other ROMs. Unless you need stock OS for warranty service, I'd recommend going with one of the many custom ROMs we have here.
There are several minimalistic AOSP-built ROMs that mimic the feel of the stock OS, but are optimized for speed, and still have some very nice tweaks that you may enjoy. Just take a look through the dev section, and you'll see we have tons of options.
Click to expand...
Click to collapse
It did worth the hassle, that's for sure. Now I think it's so easy to unlock a Nexus plus I now have a little more knowledge regarding Android .
I will stick with CM 2.3.7 as it looks just fine. I don't care about warranty, I don't think I will ever need the official service for a software issue. Now I have to re-install my apps, re-sync my accounts and setup the phone the way I want it. It will take a little more time.
But I'm glad that I pulled this through - with your help of course! Guys, you rock!
I wish that I'll be as helpful as you at the near future.
Today's latest CM9/ICS kang is here
I'd also recommend getting a custom kernel.
For batt life, morfic's SEUV kernel.
For reg performance, perhaps Matrix's kernel
MAKE SURE THAT YOU HAVE CLOCKWORKMOD PERMANENTLY INSTALLED BEFORE DOING THIS. It saves time if you mess up. Also, make sure you get the latest gapps HERE
Instructions:
1. Go to clockwork recovery
2. Select data/factory reset/wipe
3. Select clear cache as well
4. Adv Mounts and Storage > wipe /system (note, this wipes android off the phone. It's a good idea since youre going from ver 2.x to 4.x)
5. Choose "flash from zip" (or whatever it's called.....NOT flash from update.zip)
6. Flash the cm9 update file first, then flash the kernel of your choice, then flash the gapps file.
7. Back out of the menu and select reboot.
Take note though, that the new ICS OS has incompatibilities with certain apps while GPU rendering is turned on, etc. It'll prob reboot on you sometimes, etc. For the most part it's stable, but that's completely subjective.
If you do run ICS, make sure you turn on GPU rendering in Dev Options. It takes full advantage of the GPU for UI animations, etc. Sometimes there's a stray app here and there that doesnt play nice, and you'll notice if the window looks really tiny or funny. Turning it off will fix the problem.
nickmv said:
Today's latest CM9/ICS kang is here
I'd also recommend getting a custom kernel.
For batt life, morfic's SEUV kernel.
For reg performance, perhaps Matrix's kernel
Click to expand...
Click to collapse
Two questions:
The link you give me to download the ICS rom keeps loading for ever. So, I choosed this one instead:
http://forum.xda-developers.com/showthread.php?t=1356228
Right or wrong thing to do?
It it essential to install a custom kernel? I ask because I forgot to copy/paste the .zip file and due to lack of time, I procceded without it, installing the ROM and G-APPS.

[Q] Stuck booting

Hello, my name is Shagington
I have been slowly unlocking the potential of my tf700t, yet I have come to a point where I am stuck loading the android OS. The problem started when I installed xposed to gain the ability to modify the permission of apps. Now it just sits with the loading circle spinning around and 'round. I tried wiping from the bootloader yet the same thing happens. While looking into the bootloader more, I found twrp installed after what I thought were many failed attempts. I tried a wipe from that as well and the same thing happens. I was thinking about just flashing a stock (rooted) rom with twrp but I am afraid of getting into a worse spot than I already am in, any help is appreciated.
Thanks, Shag
You need to post your bootloader version (read the tiny script when you boot with Power and Volume Down) and your recovery version.
That will determine what you can flash or what type of repair you can try.
Do you have fastboot and adb setup on your PC?
Check if you have a fastboot connection when booted into the bootloader and adb when booted into recovery.
See if you can capture a logcat of the boot process in adb.
Then report back.
Whatever you do, do not use the Wipe Data option from the bootloader!!!!!!!!!
Thank you for the quick reply berndblb, it seems im on build us 10.6.1.14.8-20130514. I just reformatted my pc to windows 10 tech preview so im not quite sure how that will work with adb but I will give it a go tomorrow. Will any custom rom work with the current build i have?
Thanks again, Shagington (Newbington)
shagington said:
Thank you for the quick reply berndblb, it seems im on build us 10.6.1.14.8-20130514. I just reformatted my pc to windows 10 tech preview so im not quite sure how that will work with adb but I will give it a go tomorrow. Will any custom rom work with the current build i have?
Thanks again, Shagington (Newbington)
Click to expand...
Click to collapse
Yes, there are. You are one version behind to the latest (and last) bootloader 10.6.1.14.10. Might be a good idea to update to the latest while you're at it...
Which recovery and version thereof did you flash?
Once we are sure that you have compatible software installed you can flash a bootloader/TWRP package to get you up to date, but let's resolve your current pickle first.
berndblb said:
Yes, there are. You are one version behind to the latest (and last) bootloader 10.6.1.14.10. Might be a good idea to update to the latest while you're at it...
Which recovery and version thereof did you flash?
Once we are sure that you have compatible software installed you can flash a bootloader/TWRP package to get you up to date, but let's resolve your current pickle first.
Click to expand...
Click to collapse
Thanks again for responding good sir, I am on twrp 2.8.5.0, which still loads just fine.
-shagington
When you install xposed it puts an emergency uninstall zip on the internal sdcard partition. Try flashing that from twrp to reverse it out.
Be careful with xposed it can sofbrick easily as you have found out.
shagington said:
I just reformatted my pc to windows 10 tech preview so im not quite sure how that will work with adb
Click to expand...
Click to collapse
I tried the first Win10 preview, and I just had to connect the tablet and run adb.exe - it worked fine with the automatically installed drivers.
Thanks for the replies guys, I couldnt find any zips on my internal, I looked through almost every folder. After looking through the adb tutorials, it is a little to intimidating for me. Kinda sad, I was under the impression that now I have twrp I could just throw some other rom on quickly or even a download a backup from someone else with the same versions to recover and be done with it. I think im just going to leave it soft bricked for a while and use my nexus 7 for now. Appreciate the help guys, it's just a little over my head.
-Shag

Question TWRP coming?

Just saw the following article from XDA regarding TWRP v3.5 being released. I'm hopeful that this means that for devices that ship with Android 10 that TWRP will be able to decrypt the data partition in order to facilitate a complete backup.
That said, does anyone know how long it typically takes for TWRP to be supported on a new device (i.e. G-Stylus 2021)? Just curious what the norm is. Thanks!
That's a good question. I don't know how long it should take, but after reading the article you linked it seems that successfully porting TWRP to these newer phones will take a lot longer than on the older ones. Hopefully someone's already started working on TWRP 3.5 for the 2021 models, but I haven't heard any actual news on that yet.
I would love to be able to get a full backup of my device in case I really screw something up later on. If I had any level of programming skills I would certainly make an attempt at it myself.
DM.IDOL said:
That's a good question. I don't know how long it should take, but after reading the article you linked it seems that successfully porting TWRP to these newer phones will take a lot longer than on the older ones. Hopefully someone's already started working on TWRP 3.5 for the 2021 models, but I haven't heard any actual news on that yet.
I would love to be able to get a full backup of my device in case I really screw something up later on. If I had any level of programming skills I would certainly make an attempt at it myself.
Click to expand...
Click to collapse
I'd look around on github
THIS is a TEST build for the Moto G stylus XT2115-1 minsk_t
(please mind that i have never done this before and i am at least trying to figure out how to create custom recoveries. i just need a good teacher with a little time. .)​
*Touch Screen does not work. OTG mouse necessary.*
(not too sure how to fix this error)
*Mount points were for testing*
(modied fstab files in ramdisk to fix mount points)
*modified ramdisk and split_image from Moto G 9 plus unofficial 3.5.1 twrp*
https://forum.xda-developers.com/t/recovery-unofficial-twrp-for-g9-plus-odessa.4195729/
i tried to put a recovery together for this device but im not sure where i went wrong or what to do next. booting into this recovery works but /vendor and /system_root have denied permissions. when it is flashed within twrp and rebooted to recovery or system the screen says no OS installed press power to power off. If anyone can help me figure this one out i would be greatly appreciative. If you need anything i can pull from my device just let me know. Anyone willing to help work on this recovery and figure out what needed to be fixed i would greatly appreciate it!
*EDIT*
i got /data to back without digest verification. Was not able to try to restore the backup as i got NO OS error when i rebooted to restore.
*EDIT*
i was able to figure out pretty much everything except the touch part of the recovery. it has a novatek_ts (NVT-ts)
not sure what to do to enable the drivers for twrp. any feed back would be great.
*EDIT*
Found the driver. I'll post it here and see what you can do. I'll also work on it as I'm still learning where stuff should go in the recovery. And also seems to b that i cannot access external sd from twrp either.
*EDIT*
resolved sd card issues. mountpoint was incorrect. only thing left to get working is touchscreen and not have to use otg mouse.
updated twrp for minsk_t is in files now.
*EDIT*
I found the proper elements to configure the recovery's touchscreen capabilities. Will be recompiling later on today. After I have tested it I will post the new working TWRP recovery. Thanks everybody.
*deleted*
sosthenisRR said:
*deleted*
Click to expand...
Click to collapse
So this is fully functioning now right? Is there any reason to use this over the OrangeFox recovery that has been posted?
Also, if I did install OrangeFox, and decided I wanted to install this later, would it be as simple as flashing using fastboot from ADB, overtop of OrangeFox? Or would the procedure be a little more complex?

Categories

Resources