[Q] How to uninstall STOCK apps & replace with Sense 3.0 - Hero, G2 Touch Q&A, Help & Troubleshooting

I know there are threads like this out there, but none of them fitted my questions...
Hi,
in this post, seo posted some ported sense 3.0 apps and widgets for Sense 2.1 GB roms.
I tried to install some of them and got MMS to work.
Then tried to get Rosie and widgets, but they wouldn't install directly, so i started playing around with ADB.
i think adb is fully set up, i am able to pull apks from /system/app.
problem is, i am obviously unable to push, install or uninstall system apps via
adb push
adb install
adb uninstall.
this was when i tried remounting (with remount,rw etc.) and was able to "rip off" rosie.apk (i know it worked as it wasn't there anymore later on ) but still was unable to install apps (with the effect i hadn't got a launcher at all.)
latest step was creating a signed update.zip, didn't work, recovery just restarts.
anyone help? someone got experience which may help me? i went through about 10 or 20 guides and am kind of desperate right now as things just dont work
thanks

SummonerOfDeath said:
I know there are threads like this out there, but none of them fitted my questions...
Hi,
in this post, seo posted some ported sense 3.0 apps and widgets for Sense 2.1 GB roms.
I tried to install some of them and got MMS to work.
Then tried to get Rosie and widgets, but they wouldn't install directly, so i started playing around with ADB.
i think adb is fully set up, i am able to pull apks from /system/app.
problem is, i am obviously unable to push, install or uninstall system apps via
adb push
adb install
adb uninstall.
this was when i tried remounting (with remount,rw etc.) and was able to "rip off" rosie.apk (i know it worked as it wasn't there anymore later on ) but still was unable to install apps (with the effect i hadn't got a launcher at all.)
latest step was creating a signed update.zip, didn't work, recovery just restarts.
anyone help? someone got experience which may help me? i went through about 10 or 20 guides and am kind of desperate right now as things just dont work
thanks
Click to expand...
Click to collapse
Pull me a recovery.log when you try installing the zip, and I'll have a look for you.
Sent from my HTC Hero using XDA Premium App

S.O.D. proudly presents.... recovery.log!
Here it is, i attached my own update.zip (rosie-signed.apk), maybe you could have a look at it as i don't know where the fault may be.
greets SOD

I would already be happy if you managed to solve the update.zip issue (would help me with other updates) but the main prob is adb noch really working, seems like some system part is blocking this?
my hero was originally a t-mobile google g2, created goldcard, rooted, custom recovery, new radio and custom rom.
a few details:
device HTC Hero (T-Mobile Google G2, the black one )
rom Salsasense RC2 (at the moment...)
recovery CWM 2.0.5.7 (think so, but im sure i got the latest)
sd 2gb

ooookay, tried to edit existing salsasense, resulting in non-functional rom rebooting into recovery.
JieeHD may you probably cook Rosie.apk and HtcClockWidget3d.apk in SalsaSense RC2 and upload it just for testing? much better would be to give me the keys to do it myself *still learning*
i tried it but the situation above occured^^ maybe some md5 thingy?
greets, SOD

SummonerOfDeath said:
ooookay, tried to edit existing salsasense, resulting in non-functional rom rebooting into recovery.
JieeHD may you probably cook Rosie.apk and HtcClockWidget3d.apk in SalsaSense RC2 and upload it just for testing? much better would be to give me the keys to do it myself *still learning*
i tried it but the situation above occured^^ maybe some md5 thingy?
greets, SOD
Click to expand...
Click to collapse
Fixed your update-script, new line for each command is needed
/facepalm

JieeHD said:
Fixed your update-script, new line for each command is needed
/facepalm
Click to expand...
Click to collapse
not serious no? /facepalm -.-" thanks will try that right now xD will give feedback if my device is still alive afterwards xDD
greets, S.O.D.

How's your progress going?
I messed around with the files 2 from the treat and they won't flash error 0. Tried to fix that with.different binery and gave me error 7. If you can make at least the king lockscreen with weather app working than you are the man
Sent from my HTC Hero using XDA App

stroobach said:
How's your progress going?
I messed around with the files 2 from the treat and they won't flash error 0. Tried to fix that with.different binery and gave me error 7. If you can make at least the king lockscreen with weather app working than you are the man
Sent from my HTC Hero using XDA App
Click to expand...
Click to collapse
brick after flashing modified rom.
push to /system/app didnt work.
flashing restarts recovery.
jieehd's tip of single lines for every command doesnt work, same as above.
error 0 = apk is not made for your device/rom, wont install.
error 7.. dunno, think its not matching binary or parsing error.
files from my thread? as post above says one is a log and the other is defect^^
i doubt weather will work as its eating HUGE amount of resources. if u want this lockscreen, maybe try salsasense, has got a 3.0 alike lock...
holidays now, wish good luck in coding would be happy if u found a solution
greets, SOD

were can i find HTCG2/hboot/PC10IMG.zip been looking all over for it and its no were to be find

Got some questions.
1. You want WHAT? And what is the purpose?
2. In how far is this related to this topic?
3. If u give us a path to this file, why do u ask where it is? Maybe try dowloAding some random rom (probably some ruu) and do extract & search..
4. Are you really willing to contribute to this topic? I dont see the point of posting this.
5. Obey forum rules. If u have got a question, post it directly in q&a section, not in some random topic or directly explain the connection to the actual topic.
Greets, s.o.d.

agnostic900rr said:
I dunno, no idea
Click to expand...
Click to collapse
what don't you know? may we help you? whats the purpose of all these posts?
i think i'll give it a last try next time wenn i got salsa sense installed and either find a solution instantly or give it up, as noone is willing to support me and i can't do much more with my poor coding skills.
seems like we have to admit that hero's dying and i have to wait for my contract to end so i get a new phone.
greets, s.o.d.

Related

[Q] HtcClockWidget.apk Help!

Hello to all, I'm an avid reader of all things XDA and have had mt HTC Aria for about a month now. I've been following all of the "Themes and Apps" post, but after searching, I have yet to find anything on how to edit the clock face image of the stock analog clock. Can this be done? A nudge in the right direction or any other help would be much appreciated. If this topic is in the wrong place or has already been discussed, forgive me and remove my post...I've attached the image I want to use for the clock face.
Regards,
tat
Did you ever figure this out?
I just created a new skin/layout for the HTC clock widget, and after I pushed it to my phone, I was left with a widget called 'dip0.0' which doesn't run.
Clearing my HTC Sense data cache removes the widget from my widget list entirely.
I'm on the deodexed version of Liberated R0012 right now, and once I'm back on my dev PC, I intend to try variations of the following:
1.) Cannibalizing the manifest data from the original apk, and bringing it into my themed apk.
2.) Signing the apk with signapktic.
3.) Attempting the 'update.zip' method of installation from recovery, rather than using adb to push the apk.
Any other thoughts?
Regards,
Corporate Dog
None of the above worked for me, even when trying them in multiple combinations.
What came closest was using the canibalized 'AndroidManifest.xml' and 'META-INF' directory from the original apk, in my modified apk. At least then, my phone recognized the widget, even if it fc'ed every time I tried to load one of the clocks.
This clued me in to the fact that I was dealing with a signing issue of some kind, and THAT clued me in to the S-OFF/S-ON setting on my phone, which is currently set to S-ON.
So tonight after work, I'm going to flash Unrevoked recovery, change the setting to S-OFF, and then push the unsigned apk. That should do the trick, I hope.
Regards,
Corporate Dog
Corporate Dog said:
So tonight after work, I'm going to flash Unrevoked recovery, change the setting to S-OFF, and then push the unsigned apk. That should do the trick, I hope.
Click to expand...
Click to collapse
And it's a 'no go' on that. Apparently, there's no way to get S-OFF on an Aria.
Back to the drawing board.
Regards,
Corporate Dog
Good luck
sent from my HTC Intruder
I used adb push after mounting /system in recovery to get my sense clock mods THAT WERE IN THEMES AND APPS (http://forum.xda-developers.com/showthread.php?t=824856)
to get them working. Works fine to me.
kevina90 said:
I used adb push after mounting /system in recovery to get my sense clock mods THAT WERE IN THEMES AND APPS (http://forum.xda-developers.com/showthread.php?t=824856)
to get them working. Works fine to me.
Click to expand...
Click to collapse
The trick that you're using, though, is that you're relying on the phone not checking the file signatures in the manifest against the actual files when the app runs. I'm assuming that's why you can't reconfigure your clock mods; because at that point, the signatures WOULD be checked.
I've added a new XML layout and several new images to the apk, so that trick wouldn't work for me anyway (unless I decide to repurpose some of the existing files, which is what I may end up doing).
Regards,
Corporate Dog
EDIT: Huh. Couldn't get that to quite work either. At this point, I think I'll just roll my own widget.
share it with us when your done!

Script to install xRec, App2SD and JIT all at once (with standardized Busybox) !

I am sure that there are plenty of people that would agree with me that one script that can install all three at the same time would be fantastic. I have managed to get all three working on their own (once), but I have also had to reflash sooooo many times after something goes wrong and I always get something that doesn't install the first time (or breaks all the other things that have been installed already).
PLEASE can one of the guru's of XDA write one script that can enable all three (AND standardize on one version of Busybox so that we don't have to keep changing it - preferably the most recent one). I will happily pay for this functionality.
Anyone in favour say "AYE"
AYE! (10 charizards)
Galaxea said:
I am sure that there are plenty of people that would agree with me that one script that can install all three at the same time would be fantastic. I have managed to get all three working on their own (once), but I have also had to reflash sooooo many times after something goes wrong and I always get something that doesn't install the first time (or breaks all the other things that have been installed already).
PLEASE can one of the guru's of XDA write one script that can enable all three (AND standardize on one version of Busybox so that we don't have to keep changing it - preferably the most recent one). I will happily pay for this functionality.
Anyone in favour say "AYE"
Click to expand...
Click to collapse
since the developer of each tool is different, it hard to compile it at once..
just wait until the developer compile it..
if they want..
fyzm345 said:
since the developer of each tool is different, it hard to compile it at once..
just wait until the developer compile it..
if they want..
Click to expand...
Click to collapse
These are mostly just files that are copied across and replaced or added. I may be wrong but Busybox is just used to execute the commands, so putting together a script that can make all the changes at once shouldn't be impossible. Well, I hope not....
Devs, any reason why this can't work?
Galaxea said:
I am sure that there are plenty of people that would agree with me that one script that can install all three at the same time would be fantastic. I have managed to get all three working on their own (once), but I have also had to reflash sooooo many times after something goes wrong and I always get something that doesn't install the first time (or breaks all the other things that have been installed already).
PLEASE can one of the guru's of XDA write one script that can enable all three (AND standardize on one version of Busybox so that we don't have to keep changing it - preferably the most recent one). I will happily pay for this functionality.
Anyone in favour say "AYE"
Click to expand...
Click to collapse
Why don't you just keep one backup for your main ROM that has everything in it for daily use.
LouNGeRR said:
Why don't you just keep one backup for your main ROM that has everything in it for daily use.
Click to expand...
Click to collapse
That would be fine IF: I could get all three working again (I am working on it), and, what about testing out new ROMs that don't have these pre-installed? I need to go through the pain each time I test a new ROM.....
Galaxea said:
These are mostly just files that are copied across and replaced or added. I may be wrong but Busybox is just used to execute the commands, so putting together a script that can make all the changes at once shouldn't be impossible. Well, I hope not....
Devs, any reason why this can't work?
Click to expand...
Click to collapse
yeah..
it simple of copying file..
but xrecovery need an older busybox[it depend on busybox version v1.5/6] while other tools need latest busybox[v1.7]..
so, copying file will become mess with the existence of 2 busybox version..
fyzm345 said:
yeah..
it simple of copying file..
but xrecovery need an older busybox[it depend on busybox version v1.5/6] while other tools need latest busybox[v1.7]..
so, copying file will become mess with the existence of 2 busybox version..
Click to expand...
Click to collapse
All that needs to happen is that the final Busybox that gets copied across/used needs to be the right one for xrec.
If the other bits get tweaked to use this older version then we can standardize on that one (or xrec needs to be tweaked to use the latest busybox - which makes more sense). The key seems to be to make sure that xrec is left with the correct version at the end.
Galaxea said:
All that needs to happen is that the final Busybox that gets copied across/used needs to be the right one for xrec.
If the other bits get tweaked to use this older version then we can standardize on that one (or xrec needs to be tweaked to use the latest busybox - which makes more sense). The key seems to be to make sure that xrec is left with the correct version at the end.
Click to expand...
Click to collapse
IMO, we wait until zdzihu release the xrecovery which suitable with 1.7 and there will be someone compile it as what u want..
Galaxea said:
I am sure that there are plenty of people that would agree with me that one script that can install all three at the same time would be fantastic. I have managed to get all three working on their own (once), but I have also had to reflash sooooo many times after something goes wrong and I always get something that doesn't install the first time (or breaks all the other things that have been installed already).
PLEASE can one of the guru's of XDA write one script that can enable all three (AND standardize on one version of Busybox so that we don't have to keep changing it - preferably the most recent one). I will happily pay for this functionality.
Anyone in favour say "AYE"
Click to expand...
Click to collapse
AYEEEEEE.....i like where u goin...but its hard,there is few dev.we have theme dev only.
An apps2sd script would be awesome, that bloody instruction on here has briicked my phone so many times I have got bored of trying. If anyone could put the commands into a apk or something it would be so much easier.
chiefy009 said:
An apps2sd script would be awesome, that bloody instruction on here has briicked my phone so many times I have got bored of trying. If anyone could put the commands into a apk or something it would be so much easier.
Click to expand...
Click to collapse
the guide is very straight to the point..
with illustration also...
what step did u not understand???
*continued in the app2sd thread...

[Q] Eris Rooting track ball challenge

I have spent days looking for threads so this neewb is about to break something. Well maybe not. I have my daughters Eris 2.1 and am trying to root it for her. I have tried several times with different methods. The issue is that I can get into recovery mode after every 1 click app but nothing I try will let me toggle to unzip to SD, or toggle to anything for that matter, volume wont do it and all track ball will do is let me select reboot. Man my DX was easy compared to the one click method.
HELP PLEASE,
If the trackball is having trouble scrolling, I'd install the trackball-optional custom recovery so you can use other buttons to scroll. There are instructions for doing this here:
http://androidforums.com/eris-all-things-root/214240-amon_ra-1-6-2-custom-recovery-trackball-not-required.html
It sounds like you fall into "Scenario 2" which says you should follow the same method as "Scenario 1" to get rooted using the trackball-optional recovery.
I'll give it a shot, The help is much appreciated,
I am been trying to help him to get this thing to add the Custom Recovery, but every root format has not worked at all. Most are outdated or there are files missing. Specially on the link provided above. The download for the scripts no longer has Root_1 or Root_2, it has a bunch of other stuff there for gscript. Found an link on Droidforums for gscript for rooting and the scripts don't work.
Any complete instructions anywhere?
popfan said:
I am been trying to help him to get this thing to add the Custom Recovery, but every root format has not worked at all. Most are outdated or there are files missing. Specially on the link provided above. The download for the scripts no longer has Root_1 or Root_2, it has a bunch of other stuff there for gscript. Found an link on Droidforums for gscript for rooting and the scripts don't work.
Any complete instructions anywhere?
Click to expand...
Click to collapse
popfan,
I am not aware that any of the above links or files are missing... Can you point-out / tell me specifically which files you cannot access / download / link-to?
The root_part1 and root_part2 files are part of erisuser1's (bftb0's) Universal Root for Dummies! thread that I do reference in my AF thread, but these should still be up, active, and available.
So, I'm not sure if you are speaking about becoming rooted or installing a my trackball-optional custom recovery.
Let us know.
Cheers!
Im sure my kid has shuned me for leaving her Eris with someone so thanks to everyone for the help. Pop is helping me out and after moving file at the point where it says to open and look to see root 1 and root2 they are not there and there are a ton of other stuff. Also the pick look different than on the thread like the app has been updated. Also when doing the ball recovery there is no tools folder to be found. I'm sure pop wont touch it again till tomorrow so any other help / advice is more than welcome or it may cost me my Dx
malloneem said:
Im sure my kid has shuned me for leaving her Eris with someone so thanks to everyone for the help. Pop is helping me out and after moving file at the point where it says to open and look to see root 1 and root2 they are not there and there are a ton of other stuff. Also the pick look different than on the thread like the app has been updated. Also when doing the ball recovery there is no tools folder to be found. I'm sure pop wont touch it again till tomorrow so any other help / advice is more than welcome or it may cost me my Dx
Click to expand...
Click to collapse
LOL, sorry, didn't make/see the connection between your two posts .
Okay, let's try something new here...
Just a week or so ago, I re-packed jcase's 1-click rooting app to include my trackball-optional recovery image in lieu of the original recovery that his app includes.
So, let's have you re-root using the new 1-click app (all credit to jcase, both for his app and his threads both here http://forum.xda-developers.com/showthread.php?t=742228 and over at AF http://androidforums.com/eris-all-things-root/139178-universal-1-click-eris-app-apk-no-pcs-no-scripts-needed-easy.html).
Since you've already used the 1-click app before, then all you'll have to do is grab my new "trackball-optional" version:
https://sites.google.com/site/scaryalienware/downloads/one-click-tbo.apk
MD5 sum: 15763b51cf707c027cc73bc117e1fc39
(the "tbo" in the name stands for "trackball optional" ).
Just follow the same process you did before while running the 1-click app and you should end-up with my trackball-optional recovery installed.
Let me know how it goes (you'll be the first besides me that I know of that has tried it; the user that I created it for to test has not yet responded, LOL).
Cheers!
I tried this link below. It no longer has the root_1 and root_2 in it.
http://www.megaupload.com/?d=774XYFRA
I did use your "updated" 1-click app with tbo and it worked great.
Thanks!!
Too bad this phone was not as easy as my captivate.
popfan said:
I tried this link below. It no longer has the root_1 and root_2 in it.
http://www.megaupload.com/?d=774XYFRA
I did use your "updated" 1-click app with tbo and it worked great.
Thanks!!
Too bad this phone was not as easy as my captivate.
Click to expand...
Click to collapse
Glad that jcase's repackaged app worked for you. I'll update my documentation to make this available to others.
Also, re. the above Megaupload link...it works just fine for me (from my PC and from my Droid X) and includes all of the aforementioned root_part1/2 files.
I think you've fallen prey to a truncated download, which is not uncommon with Megaupload in my experience. This is also why is important to double-check the file sizes and MD5 checksums of files that you download so that you know you got the whole-shebang; notice that erisuser1 did include the MD5 in his thread for this file:
- Download gscript.zip (MD5 92796a8c6e61e8f1ee36e315c0acae7d)
I've often found it helpful to use a different browser other than the stock browser (like Opera Mini) when doing downloads via my Eris since the stock browser does seem to have more issues (timeouts perhaps) than it should.
Cheers!
Thanks to all this tuff till you hooked us up but now on to nightmare 2
I downloaded CyanogenMod7.1.0 RC1 [2.3.5 GingerBread NIGHTLY]
from this thread http://forum.xda-developers.com/showthread.php?t=944430&highlight=ROM
Got it up but it has no market so I can not get to titanium, boot loader or anything... It says to flash google apps after the rom but now Im back to the trackball / volume key issue because it's all in titanium. ??? I did a factory reset and it came back up as the new ROM, ???
EDIT UPDATE!!!!
Sorry for the hassle all, the "green" start call button works as the down after the download.. All is well.. I think..
Again thanks to you all, If I hear of any good deals on an Eris I will know why.
You need to download GAPPS to your sdcard. That is why you don't have market.
http://forum.xda-developers.com/showthread.php?t=944430&highlight=ROM
Its just below link for the rom and save it to your sdcard. Go ahead boot into recovery and wipe data, daliv-cache, cache; Flash Rom again, then flash gapps and reboot.

[REF] Getting CWMR Working: From the Dev's Perspective

As of you guys have found out there has been a few threads that have been started that throw around theories about getting CWMR to work and such and I'm here to finally give you guys the progress from the dev that's working on it.
I have been working on getting CWMR working off and on for a few months now to some avail. I have been slowly testing it and sending out alphas to people on the IRC and now I'm here to tell you where I'm at and what has been accomplished.
Part 1: Getting into CWMR
I started working with our current bootstrap recovery as a base for CWMR. It was of course in charge mode, but it was a step that had to be done first. I got a hold on a CWMR binary and after a bunch of shell commands managed to get the mangled version of CWMR that we've seen before. From there I had the idea to inject the ATRIX binary into the recovery and try it from there. It was a big success and I could use some (very few) of the functions that if offered. But I was finally in CWMR on the X2. (I posted the picture on my twitter).
Part 2: Making the Functions Work
From here the first thing I decided to do was to get the "Fix Permissions" script working. By getting this to work I know I could place my own code in there that will log to the file that I could open up and see whatever I wanted as ADB didn't work YET (more on that later). I fiddled with it a bit and got it working.
This also allowed me to access the log and find out why the unmounting and formatting wasn't working either. This was due to an issue with the mke2fs and other complementary binaries not being appropriately compiled for our phone. As I was working on CM7 at the time, i had access to the sources of these and to the recovery binary as well. I decided to build a recovery binary that was tailored to our phone and not the ATRIX and the binaries that handle formatting partitions, etc. These worked on some partitions I could wipe data and cache properly by reformatting, I could easily erase a partition at will except for one: /system.
Part 3: Getting /system Formatted (WIP)
At this point I decided to find out why /system could never be formatted. When a partition needs formatting it must be unmounted first. But I could never unmount /system. By using the logs I found out that the partition was still in use. By using the "Fix Permissions" script, I managed to find that a lot of daemons (aka services) were being ran from the /system sub directories. This meant that in order to format, I had to have them not running. Easy enough as there's a script in CWMR that allows us to kill certain processes before the new recovery starts. I decided to kill all of the services with this script but found that the display would go blank. From there I found that two services are REQUIRED to be running on the phone for drawing (making things show on the screen) to take place: servicemanager and nvrm_daemon.
The servicemanager does exactly what it's title says: it manages the currently running services. This has to be running to keep nvrm_daemon running or else things get kinda freaky.
nvrm_daemon is what is used to manage drawing commands to the screen (the nv stands for nVidia which is who made the Tegra 2). With this service running I was able to (while in charge mode still) draw to the screen and show all of the menus for CWMR.
This created a problem. As these HAD to be running /system could never unmount because they were in there. Unless we used 2nd-init. From here I created my own hijack script that allowed me to copy over the necessary daemons into /sbin (which is just a sub directory of the rootfs). Then by using a new init.rc I could start these daemons from /sbin and see if they worked for CWMR.
After a lot of coding I managed to get the daemons running from /sbin and I thought I was free from there. And while I was at it, I might as well tried to get it out of charge mode.
Part 4: Untethering the Recovery (WIP)
I figured that since I was using 2nd-init anyway that I might as well have been working on trying to get it untethered also. After a bunch of looking into why charge mode was the only way to get it working, I found that before charge mode was started the init.rc started the "pre-zygote" services. These include usbd (the usb daemon), battd (the battery daemon), etc. What was also started was nvrm_daemon (another proof that we needed this running) to draw on the screen (charge mode draws the battery indicator to show charging progress).
I decided to move to mot_boot_mode to do the hijacking. I eventually managed to get things running but it still wouldn't draw to the screen. A look at the logs showed that for whatever reason we still didn't have access to the framebuffer (the memory space aka buffer that is drawn to the screen). I was tired of rebooting over and over again to get results and by now I had SBF'd I don't know how many times, only to not be able to access the logs due to a wipe. So next thing I decided was to get ADB working at boot.
Part 5: Starting ADB at Boot (The Short Version)
I took a look through the init.rc and found that Motorola had disabled the default way to get ADB working at boot. Through a bunch of digging I found that I could re-enable the method but it started usbd also (yet another daemon I'd have to move and thus more time, etc.). But eventually I found another property (aka system variable) that i could set that would start ADB without having usbd started: persist.adb.enable_NV_DISABLED. Setting that to 1 started ADB whenever I wanted it to. This allowed me access to the system (as root actually) without having to reboot and try to get into logs and whatnot. I could see everything that was running, mount/unmount and do everything I normally could and see better why they were failing.
Part 6: Recent Discoveries (as of 1/3/12) On the /system Unmount
I decided that I was going to go back to charge mode for now. After causing too much pain with framebuffer access I decided to look into why /system STILL wouldn't unmount after moving everything out of there. With the help of mastafunk and DrPenguin I was able to get a hold of a program named strace. This allows you to debug what binaries are doing down to pretty much every comparison, file opening, memory mapping, etc. I had found that nvrm_daemon (although started from /sbin) was looking for and loading drivers found in /system/lib. This was a problem and I thought that we may never get /system unmounted. Until I found out one other thing.
The nvrm_daemon doesn't look for the drivers inside of /system/lib first. It looks for them in /vendor/lib first and then if it can't find them, goes to /system/lib. So simple enough. I thought I could just make a /vendor/lib directory, copy the libs over and have them load from there. Well it's not that simple as there is already a file in the rootfs named vendor. But the file is a symlink to /system/vendor so if it looks at /vendor/lib it really looks at /system/vendor/lib. I thought I was stuck again until I took a closer look at the /system directory. There is no ./vendor sub directory in /system. That being said, I was able to delete the symlink in the rootfs and then create a /vendor/lib directory copy over the libs to it and nvrm_daemon successfully loaded the libs from there and not from system.
Conclusion
You are now caught up on when we've basically done to try to get CWMR working on the X2. Being that we're the only Tegra 2 phone from Motorola that is locked, we're kinda stuck trying to get things working. For now I consider this progress. Albeit slow progress, but progress none the less. If you took the time to read this, I hope you now understand the frustrations I've had to deal with this. All the while trying to help masta get 2nd-init fully working for our phones.
Thank you.
Thank you very much for the detailed explanation - well written so that even a novice like myself could understand your progress and frustrations. Thank you to you and your peers also for your hard work and determination to see this through. I think I can speak for all X2 users and say this is most appreciated!
Great writeup. Very informative. Thank you for your dedication.
I thought 2nd init was done and masta was working on aosp? I mean we can log from our new init.rc so it is using it. In the meantime i've been working on my barebones so we can get new blood using 2nd init and because I want a decent daily driver in the event we cant get stuff going.
To echo what others have said, thank you very much for the information. This kind of transparency is always very much appreciated when there's some spare time to put that out there. It not only is really helpful to make it understandable, but it's nice to know that these projects are still active.
Perhaps most importantly though in the context of potential progress: having specific information is a great way for knowledgeable people reading to recognize if they might be able to help out in certain areas. You might get some fresh ideas from people who hadn't considered themselves familiar enough with the situation to be useful. Who knows.
Anyways, thank you very much again. It's very encouraging to hear progress reports in general, not to mention ones like this that involve so many successes.
Wow thanks so much for your hard work and dedication can't wait until you conquer this sounds like you are closer then ever
Sent from my DROID X2 using XDA App
I am so glad to hear the "behind the scene" drama. Thank You DK sharing. I AM sorry for what bad drama I may have started. Will you forgive me?
skwoodwiva said:
I am so glad to hear the "behind the scene" drama. Thank You DK sharing. I AM sorry for what bad drama I may have started. Will you forgive me?
Click to expand...
Click to collapse
No need to appologize man... Stuff like this should have been posted or known. To be honest, I thought Masta was finishing 2nd INIT and starting to work on getting AOSP running and CWM was out the window, thats why I jumped in to try and get progress on CWM. Thanks DK and now I know the IRC is more active, I will be on there more to try and help out.
Thank you!
Thanks a ton for all the effort you're putting in. When I got my DX2 I thought that despite the crazily over-bloated Motoblur, I would be OK due to the Tegra 2 power and wonderfully innovative developer community. I didn't count on their being such a small number of us out there for this device or the complexity that Moto would unnecessarily bake in. So, after many months of gut wrenching disappointment, I finally have hope again.
You are a true nerd hero, sir!
Its nice to have an explanation of things and why they work or dont work. A lot of us are just trying to learn so we can be useful.
Sent from my Eclipsed and ICS themed X2.
Dragonz...after reading the info about 1/3/12 I am curious...
Does this mean that you might be able to get it working and unmount system as u need it to?
Or were there still other processes using system that you will need to mess with and change around as you did with the vendor ?
Do you still need to move the servicemanager also?
O btw imma start Hopn on the irc. I have a cm7 nightly booting thanks to second init but am having some crashes, not to mention other horrific bugs.. I need some help
Sent from my DROID X2 using xda premium
PM me with a copy of your nightly so I can help as well please
kaliblazin707 said:
O btw imma start Hopn on the irc. I have a cm7 nightly booting thanks to second init but am having some crashes, not to mention other horrific bugs.. I need some help
Sent from my DROID X2 using xda premium
Click to expand...
Click to collapse
Kali send me a pm, I have the week off and work as a mobile developer... would like to help get rid of some of those crashes. Send me a link to that irc and ill get cracking on it 2moro
Sent from my DROID X2 using xda premium
drapp said:
Kali send me a pm, I have the week off and work as a mobile developer... would like to help get rid of some of those crashes. Send me a link to that irc and ill get cracking on it 2moro
Sent from my DROID X2 using xda premium
Click to expand...
Click to collapse
Webchat.freenode.net
Channel #X2-AOSP
AND #DX2 for "off topic"
kaliblazin707 said:
O btw imma start Hopn on the irc. I have a cm7 nightly booting thanks to second init but am having some crashes, not to mention other horrific bugs.. I need some help
Sent from my DROID X2 using xda premium
Click to expand...
Click to collapse
I know why you have a cm7 nightly "booting" and I'm sorry to say that it's not for good cause. What is happening is that the system isn't being formatted properly (hence a point in my post) and you're just flashing a bunch of new APKs from CyanogenMod on top of BLUR. I'm sorry to say, but it's not CyanogenMod.
dragonzkiller said:
I know why you have a cm7 nightly "booting" and I'm sorry to say that it's not for good cause. What is happening is that the system isn't being formatted properly (hence a point in my post) and you're just flashing a bunch of new APKs from CyanogenMod on top of BLUR. I'm sorry to say, but it's not CyanogenMod.
Click to expand...
Click to collapse
I honestly think the way to go is to get back to that step with proper 2nd init and then replace everything blur with as much CM as possible
aceoyame said:
I honestly think the way to go is to get back to that step with proper 2nd init and then replace everything blur with as much CM as possible
Click to expand...
Click to collapse
But that's not the right way to go. All that is is basically taking the BLUR base ROM and replacing the things with CM7's stuff. That's basically taking the stock rom and turning it into another blur-based ROM with CM7 apks. That's basically like Eclipse.
dragonzkiller said:
But that's not the right way to go. All that is is basically taking the BLUR base ROM and replacing the things with CM7's stuff. That's basically taking the stock rom and turning it into another blur-based ROM with CM7 apks. That's basically like Eclipse.
Click to expand...
Click to collapse
Let me rephrase that, add CM stuff and then remove Moto stuff. So get back to that, delete moto apk's and then edit init.rc for the framework. All those FC's we are getting if when were in that state are vital clues as to whats isn't playing nice with CM's apk's and framework. The fact it can even somewhat boot in a state like that means it's fairly close to how it wants. If it didn't wipe /system/ then it sounds like you just need to properly 2nd init that ***** and then in moto's init.rc remove moto jar's and apks's. Remember if it didn't wipe then you replaced the framework with CM and it's blur running ontop of it.
ashclepdia said:
Webchat.freenode.net
Channel #X2-AOSP
AND #DX2 for "off topic"
Click to expand...
Click to collapse
Thanks ashclepdia.... helpful as always...
Sent from my DROID X2 using xda premium

Anyone have an android rearview mirror? Nuked some files by accident

Hey guys, i figure this might be a longshot but if anyone has or know someone who has an android rearview mirror ie: http://www.ebay.ca/itm/201130187577?ssPageName=STRK:MEWNX:IT&_trksid=p3984.m1497.l2649
If you could take 5 minutes and copy some of your files using adb, you might save me from having turned my android mirror into a paperweight.
adb pull system/framework d:\files\framework
I ran some scripts and i accidentally nuked some files without having made a backup (smart i know..) i'm pretty sure the culprit is framework-res.apk but just in case the command pulls the whole framework folder.
Thanks!
---
It has a weird launcher forced into it, that cannot be replaced as far as i can tell and has an app fireeye.apk that also boots and is forced into memory. I tried to get a different launcher to work, but their interface is modified and the home button is not really a homebutton, but is hardlinked to their launcher. Trying to bypass that i managed to screw it up, also no fastboot, it uses livesuit for restore and as far as i can tell no chance of flashing the cm for allwinner as it has a really weird partition set. I'm kinda stuck.
I have one
I have 2 of these and I am interested in helping you. what do I need to do to get you a copy of the files on it?
Recovery???
How did you get it into recovery mode??? i messed something up and it wont go pass the Android logo!
Sorry to dig up an old thread.
I have one of these dashcams and the fireeye app keeps freezing on me. its really annoying. Until yesterday i have put up with it by resetting the device. Yesterday i was invloved in a minor car accident only to realise that the fireeye app had frozen again and did not get a recording of the accident. would have come in usefull.
Has anyone had problems with the fire eye app freezing and have you figured out a a way around this?
Hoping someone can help
OlvrCA said:
How did you get it into recovery mode??? i messed something up and it wont go pass the Android logo!
Click to expand...
Click to collapse
There is another thread about this
http://forum.xda-developers.com/general/connected-car/android-reversing-mirror-model-rt01-t3097492
This is the download link, and there are instruction which will tell you how to upgrade it.
http://yunpan.cn/cKzgb95TaCEJk
Password: 8880
These were the instructions I got from a seller on aliexpress.
It's a little different but maybe someone could extract from here and make yours work

Categories

Resources